[kaffe] undefined reference to 'jthread_enable_stop'

Mathieu Dube mdube at 8d.com
Wed Jun 26 07:36:29 PDT 2002

	Im trying to build kaffe to use pthreads and it gives me those errors:

gcc -g -O2 -Wall -Wstrict-prototypes -o .libs/Kaffe main.o version.o 
.libs/KaffeS.o -Wl,--export-dynamic  ../kaffevm/.libs/libkaffevm.so 
-L/usr/local/lib ../xprof/.libs/libkaffexprof.so -ldl -lpthread -lm 
../kaffevm/systems/unix-pthreads/.libs/libkthread.al -Wl,--rpath 
../kaffevm/.libs/libkaffevm.so: undefined reference to `jthread_enable_stop'
../kaffevm/.libs/libkaffevm.so: undefined reference to `jthread_disable_stop'

	Now I know that those 2 functions are defined in thread-impl.h. What I would 
like to know is where libkaffevm.so is compiled (ie: which Makefile) so I can 
add the path to the libkthread.la.

	Or any pointers on what I could be doing/getting wrong.


Mathieu Dube -- mdube at 8d.com
8D Technologies Inc.

More information about the kaffe mailing list