[kaffe] Where is kaffe_dprintf ?

Alexander Popov s_popov at prosyst.bg
Fri May 31 05:11:53 PDT 2002


Hi,

I have problem with compilation:

Current cvs (31052002)

First it came up when I tried to cross it for arm, but then I saw that 
the same thing happens on x86 too:

this is with the default configure (I just replaced the prefix):
<later> The same thing happens with --enable-debug too (I saw that 
kaffe_dprintf is in debug.h...)

gcc -DHAVE_CONFIG_H -I. -I. -I../../config -I../../include -I../kaffevm 
-I./../kaffevm -DKAFFEH  -DKVER=1.0.6 
-I/software/jdk/KAFFE/CVS-current/./kaffe/kaffevm
-I/software/jdk/KAFFE/CVS-current/./kaffe/kaffevm/systems/unix-jthreads 
-I../../config -I../../include  -I/usr/local/include  -g -O2 -Wall 
-Wstrict-prototypes -c mem.c
/bin/sh ../../libtool --mode=link gcc  -g -O2 -Wall -Wstrict-prototypes 
  -o kaffeh  inflate.o jar.o utf8const.o readClass.o constants.o debug.o 
sigs.o support.o main.o mem.o  -L/usr/local/lib   -R/usr/local/lib
mkdir .libs
gcc -g -O2 -Wall -Wstrict-prototypes -o kaffeh inflate.o jar.o 
utf8const.o readClass.o constants.o debug.o sigs.o support.o main.o 
mem.o  -L/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib
readClass.o: In function `readClass':
/software/jdk/KAFFE/CVS-current/kaffe/kaffeh/../kaffevm/readClass.c:63: 
undefined reference to `kaffe_dprintf'
support.o: In function `jniType':
/software/jdk/KAFFE/CVS-current/kaffe/kaffeh/support.c:306: undefined 
reference to `kaffe_dprintf'
/software/jdk/KAFFE/CVS-current/kaffe/kaffeh/support.c:334: undefined 
reference to `kaffe_dprintf'
support.o: In function `addField':
/software/jdk/KAFFE/CVS-current/kaffe/kaffeh/support.c:358: undefined 
reference to `kaffe_dprintf'
support.o: In function `addMethod':
/software/jdk/KAFFE/CVS-current/kaffe/kaffeh/support.c:524: undefined 
reference to `kaffe_dprintf'
support.o:/software/jdk/KAFFE/CVS-current/kaffe/kaffeh/support.c:697: 
more undefined references to `kaffe_dprintf' follow
collect2: ld returned 1 exit status
make[2]: *** [kaffeh] Error 1
make[2]: Leaving directory 
`/darcy/software/jdk/KAFFE/CVS-current/kaffe/kaffeh'
make[1]: *** [stamp-kaffeh] Error 2
make[1]: Leaving directory `/darcy/software/jdk/KAFFE/CVS-current/include'
make: *** [all-recursive] Error 1


-- 
Alexander Popov
Team Leader RTOS&JVM
ProSyst Bulgaria
s_popov at prosyst.bg
mobile: +35987663193
icq: 29207350





More information about the kaffe mailing list