[kaffe] undefined reference to `pthread_...

Dalibor Topic robilad at kaffe.org
Tue Feb 8 14:19:53 PST 2005


Ito Kazumitsu wrote:
>>>>>>":" == Ito Kazumitsu <kaz at maczuka.gcd.org> writes:
> 
> 
> :> Make on FreeBSD 5.3-RELEASE failed today:
> 
> :> FreeBSD's pthread requires the gcc flag -pthread for linking.
> :> 
> :> Seeing the output from make, I found -pthread set for gcc compiling
> :> indivisual C programs, but not for the gcc -o .libs/kaffe-bin.
> 
> As a workaround,  I set the environment variable CC="gcc -pthread",
> and it went well.

Thanks, Ito. Fixed now, according to the tinderbox.

cheers,
dalibor topic




More information about the kaffe mailing list