Click here to Skip to main content
15,889,860 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all
i've got this error:

http://i.stack.imgur.com/Sdkcr.jpg[^] (my code)
http://i.stack.imgur.com/LkQkn.jpg[^] (my error)
why is it for?
ANY idea will be appreciated.
please tell me ANY idea you have.
thanks.

[edit]Links linkified - OriginalGriff[/edit]
Posted
Updated 17-Jul-11 4:32am
v2
Comments
OriginalGriff 17-Jul-11 10:33am    
I have converted your links into actual links, but it would be much easier for us all if you instead posted relevant code samples instead - if we can cut and paste them, we can compile and examine them if we need to.
Use the "Improve question" widget to edit your question and provide better information.

1 solution

You should link with the pthread (POSIX threads) library. The gcc command line option is -lpthread, check out your IDE documentation for the appropriate setting.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900