View Single Post
  #1  
Old 03-02-2010, 09:25 PM
C++ C++ is offline
Senior Member
 
Join Date: Jun 2009
Posts: 18,248
Default undefined reference error to mq_open

I'm writing a c code, we can include mqueue.h and write the function mq_open with the arguments, but it won't build. I know it's a problem with the linking, I need to add -l libname or something to the linker. But I don't know what to write there and how to do it. Could someone tell me the lib...
__________________
C++
domain name forum
Reply With Quote