<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">You're a star :)<br><br>And I'm forgetful!!! <br><br>Thanks<br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Binary Chen &lt;binary.chen@gmail.com&gt;<br>To: Ian Key &lt;ian_key@yahoo.com&gt;<br>Cc: maemo-developers@maemo.org<br>Sent: Thursday, 6 December, 2007 10:52:38 AM<br>Subject: Re: Threads<br><br>On Thu, 2007-12-06 at 02:48 -0800, Ian Key wrote:<br>&gt; (18:48 CST)<br>&gt; <br>&gt; <br>&gt; Hi,<br>&gt; <br>&gt; I'm relatively new to this and looking to use threads. I have
 included<br>&gt; pthread.h and using the cs2005q3.2-glibc2.5-arm toolchain. The<br>&gt; following code won't compile, I get the following error:<br>&gt; <br>&gt; main.o: In function `main':/home/ikey/bob/fred/main.c:679: undefined<br>&gt; reference to `pthread_create'<br>&gt; :/home/ikey/bob/fred/main.c:680: undefined reference to<br>&gt; `pthread_create'<br>&gt; :/home/ikey/bob/fred/main.c:683: undefin <br><br>You must link you program with -lpthread.<br><br></div><br></div></div><br>
      ___________________________________________________________
<hr size=1> 
Yahoo! Answers - Get better answers from someone who knows. <a
href="http://uk.answers.yahoo.com/;_ylc=X3oDMTEydmViNG02BF9TAzIxMTQ3MTcxOTAEc2VjA21haWwEc2xrA3RhZ2xpbmU">Try
it now</a>.</body></html>