[kaffe] Compilation problems -- LINUX and Kaffe 1.05 and 1.07 ...

mao mark.oneill at university-museum.oxford.ac.uk
Fri Apr 11 08:37:03 PDT 2003


I am having problems compiling Kaffe-1.0.7 under RedHat8.0 (glibc 3 and
gcc version 3.2), I have followed your install instructions but when I
go make I get the following:

lemaire.dv.co.uk% make
Making all in .
make[1]: Entering directory `/home/export/mao/kaffe-1.0.7'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/home/export/mao/kaffe-1.0.7'
Making all in config
make[1]: Entering directory `/home/export/mao/kaffe-1.0.7/config'
make[2]: Entering directory `/home/export/mao/kaffe-1.0.7/config'
/bin/sh ../config/regen-forward  xprofile-md.h stamp-h03
make[2]: Leaving directory `/home/export/mao/kaffe-1.0.7/config'
make[1]: Leaving directory `/home/export/mao/kaffe-1.0.7/config'
Making all in include
make[1]: Entering directory `/home/export/mao/kaffe-1.0.7/include'
make[2]: Entering directory `/home/export/mao/kaffe-1.0.7/kaffe/kaffeh'
gcc -DHAVE_CONFIG_H -I. -I. -I../../config -I../../include -I../kaffevm
-I./../kaffevm -DKAFFEH  -DKVER='"1.0.7"'
-I/home/nfs/mao/kaffe-1.0.7/./kaffe/kaffevm
-I/home/nfs/mao/kaffe-1.0.7/./kaffe/kaffevm/systems/unix-jthreads
-I../../config -I../../include  -I/usr/local/include  -g -O2 -Wall
-Wstrict-prototypes -c jar.c
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system
directory
In file included from jar.c:1:
../kaffevm/jar.c: In function `jar_read':
../kaffevm/jar.c:34: warning: implicit declaration of function `memcpy'
../kaffevm/jar.c:45: warning: implicit declaration of function
`strerror'
In file included from jar.c:1:
../kaffevm/jar.c: In function `openJarFile':
../kaffevm/jar.c:224: `O_RDONLY' undeclared (first use in this function)

../kaffevm/jar.c:224: (Each undeclared identifier is reported only once
../kaffevm/jar.c:224: for each function it appears in.)
../kaffevm/jar.c: In function `lookupJarFile':
../kaffevm/jar.c:266: warning: implicit declaration of function `strcmp'

make[2]: *** [jar.o] Error 1
make[2]: Leaving directory `/home/export/mao/kaffe-1.0.7/kaffe/kaffeh'
make[1]: *** [stamp-kaffeh] Error 2
make[1]: Leaving directory `/home/export/mao/kaffe-1.0.7/include'
make: *** [all-recursive] Error 1

Any ideas?


Regards

Mark O'Neill






More information about the kaffe mailing list