[kaffe] Make error
Jerry Blanton
jerry@park-blanton.com
Wed, 18 Dec 2002 22:44:30 -0500
Hi,
I'm trying to get kaffe 1.0.7 to build on a Redhat 8.0 system (i386) but
get the following error:
[root@server kaffe-1.0.7]# make
Making all in .
make[1]: Entering directory `/root/kaffe-1.0.7'
make top_srcdir=`cd . >/dev/null; pwd` \
top_builddir=`cd . >/dev/null; pwd` \
"DEBUG_ENV=" BUILD_ENVIRONMENT-make
make[2]: Entering directory `/root/kaffe-1.0.7'
echo
CLASSPATH=\${CLASSPATH-.}\'':'\'/root/kaffe-1.0.7/libraries/javalib/Klas
ses.jar\'':'\'/root/kaffe-1.0.7/libraries/javalib/kjc.jar\; export
CLASSPATH | sed 's,/,/,g;s,\\,\\\\,g' > BUILD_ENVIRONMENT.new; \ echo
KAFFELIBRARYPATH=\${KAFFELIBRARYPATH+\"\$KAFFELIBRARYPATH\"\'':'\'}`for
f in /root/kaffe-1.0.7/libraries/clib/native/libnative.la
/root/kaffe-1.0.7/libraries/clib/net/libnet.la
/root/kaffe-1.0.7/libraries/clib/io/libio.la
/root/kaffe-1.0.7/libraries/clib/zip/libzip.la
/root/kaffe-1.0.7/libraries/clib/math/libmath.la
/root/kaffe-1.0.7/libraries/clib/management/libmanagement.la
/root/kaffe-1.0.7/libraries/clib/security/libsecurity.la
/root/kaffe-1.0.7/libraries/extensions/microsoft/clib/libmicrosoft.la
/root/kaffe-1.0.7/libraries/clib/awt/X/libawt.la ; do echo "$f" | sed
's%/[^/]*$%%'; done | (tr '\012' ' '; echo) | sed -e 's/ $//' -e "s/
/\':\'/g"`\; export KAFFELIBRARYPATH >> BUILD_ENVIRONMENT.new; \ echo
JAVA=/root/kaffe-1.0.7/kaffe/kaffe/kaffe-bin\; export JAVA >>
BUILD_ENVIRONMENT.new rm -f BUILD_ENVIRONMENT mv BUILD_ENVIRONMENT.new
BUILD_ENVIRONMENT
make[2]: Leaving directory `/root/kaffe-1.0.7'
make[1]: Leaving directory `/root/kaffe-1.0.7'
Making all in config
make[1]: Entering directory `/root/kaffe-1.0.7/config'
/bin/sh ../config/regen-forward ./i386/linux/md.h md.h stamp-h02 /bin/sh
../config/regen-forward xprofile-md.h stamp-h03
make[2]: Entering directory `/root/kaffe-1.0.7/config'
/bin/sh ../config/regen-forward xprofile-md.h stamp-h03
make[2]: Leaving directory `/root/kaffe-1.0.7/config'
/bin/sh ../config/regen-forward ../config/i386/linux/jit3-md.h jit-md.h
stamp-h01
make[1]: Leaving directory `/root/kaffe-1.0.7/config'
Making all in include
make[1]: Entering directory `/root/kaffe-1.0.7/include'
make[2]: Entering directory `/root/kaffe-1.0.7/kaffe/kaffeh' /bin/sh
../../config/regen-forward ./../kaffevm/inflate.c inflate.c gcc
-DHAVE_CONFIG_H -I. -I. -I../../config -I../../include -I../kaffevm
-I./../kaffevm -DKAFFEH -DKVER='"1.0.7"'
-I/root/kaffe-1.0.7/./kaffe/kaffevm
-I/root/kaffe-1.0.7/./kaffe/kaffevm/systems/unix-jthreads -I../../config
-I../../include -I/usr/local/include -g -O2 -Wall -Wstrict-prototypes
-c inflate.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 inflate.c:1:
../kaffevm/inflate.c: In function `inflate_codes':
../kaffevm/inflate.c:184: warning: implicit declaration of function
`memcpy'
../kaffevm/inflate.c: In function `huft_build':
../kaffevm/inflate.c:660: warning: implicit declaration of function
`memset' /bin/sh ../../config/regen-forward ./../kaffevm/jar.c jar.c gcc
-DHAVE_CONFIG_H -I. -I. -I../../config -I../../include -I../kaffevm
-I./../kaffevm -DKAFFEH -DKVER='"1.0.7"'
-I/root/kaffe-1.0.7/./kaffe/kaffevm
-I/root/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 `/root/kaffe-1.0.7/kaffe/kaffeh'
make[1]: *** [stamp-kaffeh] Error 2
make[1]: Leaving directory `/root/kaffe-1.0.7/include'
make: *** [all-recursive] Error 1
[root@server kaffe-1.0.7]#
Any help??