using thread with gcc on fedora [undefined reference to pthread_create]

Abid Ghufran abid.ghufran at gmail.com
Wed Jul 19 13:44:40 UTC 2006


I am using thread in my application.

When i try to compile the code, the gcc says that the "pthread_create" is an
undefined reference. I have included the library pthread.h. Is there
something else that i need to do.

 What options do I have to use when compiling my code?
Is there any document on this?

thanks,

Abid Ghufran.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20060719/ac869e9f/attachment-0002.html 


More information about the users mailing list