Header files for gcc on NN

Garret Raziel boloomka at gmail.com
Sun May 1 06:41:54 EDT 2011

It says "undefined reference to:" to all of unnamed semaphores functions,
sem_init, sem_wait, sem_post, sem_destroy. I have it linked with librt
(-lrt) so it should know that functions. Now I have tried to link with with
pthread and it compiles. But yet it can't initialize semaphore.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.en.qi-hardware.com/pipermail/discussion/attachments/20110501/27351244/attachment.htm>

More information about the discussion mailing list