You're a star :)

And I'm forgetful!!! 

Thanks

----- Original Message ----
From: Binary Chen <[EMAIL PROTECTED]>
To: Ian Key <[EMAIL PROTECTED]>
Cc: [email protected]
Sent: Thursday, 6 December, 2007 10:52:38 AM
Subject: Re: Threads

On Thu, 2007-12-06 at 02:48 -0800, Ian Key wrote:
> (18:48 CST)
> 
> 
> Hi,
> 
> I'm relatively new to this and looking to use threads. I have
 included
> pthread.h and using the cs2005q3.2-glibc2.5-arm toolchain. The
> following code won't compile, I get the following error:
> 
> main.o: In function `main':/home/ikey/bob/fred/main.c:679: undefined
> reference to `pthread_create'
> :/home/ikey/bob/fred/main.c:680: undefined reference to
> `pthread_create'
> :/home/ikey/bob/fred/main.c:683: undefin 

You must link you program with -lpthread.







      __________________________________________________________
Sent from Yahoo! - the World's favourite mail http://uk.mail.yahoo.com
_______________________________________________
maemo-developers mailing list
[email protected]
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to