[kaffe] compile problem

chawkins at bplinux.com chawkins at bplinux.com
Tue Oct 21 12:39:05 PDT 2008


Hello - 

After "./configure --with-jikes --with-classpath-prefix=/usr/SiteSearch/classpath-0.03" completes successfully, make fails with:
.....
<snip>
.....
 gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../../config -I../../../kaffe/kaffevm/systems/unix-pthreads -I../../../kaffe/kaffevm/jni -I.. -I./.. -DTRANSLATOR -DJIT3 -I../../../kaffe/xprof -I../../../kaffe/jvmpi -I../../../include -I../../../config/i386 -I../../../config/i386/linux -I/glib-2.0 -I/glib-2.0/include -I/usr/SiteSearch/kaffe-1.1.9/./kaffe/kaffevm -I/usr/SiteSearch/kaffe-1.1.9/./kaffe/kaffevm/jit3 -I/usr/SiteSearch/kaffe-1.1.9/./kaffe/kaffevm/systems/unix-pthreads -I../../../replace -I../../../config -I../../../include -DKAFFE_VMDEBUG -D_REENTRANT -Wall -W -Wextra -fno-strict-aliasing -fno-omit-frame-pointer -pthread -g -O2 -MT methodcalls.lo -MD -MP -MF .deps/methodcalls.Tpo -c methodcalls.c  -fPIC -DPIC -o .libs/methodcalls.o
In file included from methodcalls.c:12:
../jit/methodcalls.c:15:18: glib.h: No such file or directory
In file included from methodcalls.c:12:
../jit/methodcalls.c: In function `soft_fixup_trampoline':
../jit/methodcalls.c:70: warning: implicit declaration of function `g_atomic_pointer_compare_and_exchange'
make[2]: *** [methodcalls.lo] Error 1
make[2]: Leaving directory `/usr/SiteSearch/kaffe-1.1.9/kaffe/kaffevm/jit3'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/SiteSearch/kaffe-1.1.9/kaffe/kaffevm'
make: *** [all-recursive] Error 1

I've tried some different parameters to get the compiler to look at /usr/include/glib-2.0, which does exist:
[root at vps kaffe-1.1.9]# ls /usr/include/glib-2.0/
glib  glib-object.h  glib.h  gmodule.h  gobject

But no luck. I am out of my depth when it comes to compiling... Please help!

Thanks, 
Chris




More information about the kaffe mailing list