pune la argmente in gcc -lpthread

----- Original Message ----- 
From: "Mihai Dumitrescu" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, November 21, 2004 6:25 PM
Subject: [rlug] pthread lib


> salut,
> 
> vreau sa folosesc pthreads intr-un program. si fac
> #include <pthread.h>. la compilare gcc-ul imi
> returneaza:
> /tmp/ccUJSXRw.o(.text+0x9b): In function `main':
> : undefined reference to `pthread_create'
> /tmp/ccUJSXRw.o(.text+0xc9): In function `main':
> : undefined reference to `pthread_create'
> collect2: ld returned 1 exit status
> 
> ce librarie trebuie sa folosesc? nu am gasit nici o
> librarie de forma *pthread*
> 
> folosesc linux slackware 9.0.
> 
> Thx,
> 
> Mihai D.
> 
> 
> 
> __________________________________ 
> Do you Yahoo!? 
> The all-new My Yahoo! - Get yours free! 
> http://my.yahoo.com 
> 
> 
> 
> --- 
> Detalii despre listele noastre de mail: http://www.lug.ro/
> 
>

--- 
Detalii despre listele noastre de mail: http://www.lug.ro/


Raspunde prin e-mail lui