[kaffe] undefined reference to `pthread_...

Ito Kazumitsu kaz at maczuka.gcd.org
Tue Feb 8 07:19:14 PST 2005

>>>>> ":" == 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.

More information about the kaffe mailing list