[kaffe] unable to install kaffe 1.0.7 on Redhat 8

Nirav Panchal nirav_panchal at da-iict.org
Tue Feb 8 05:10:42 PST 2005


hi.

while trying to install kaffe 1.0.7 on my machine (Redhat 8) i am getting
the following error.
after executing "./configure" anfd going for "make" i got the following :

[root at localhost kaffe-1.0.7]# make
Making all in .
make[1]: Entering directory `/root/nirav/research/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/nirav/research/kaffe-1.0.7'
echo
CLASSPATH=\${CLASSPATH-.}\'':'\'/root/nirav/research/kaffe-1.0.7/libraries/javalib/Klasses.jar\'':'\'/root/nirav/research/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/nirav/research/kaffe-1.0.7/libraries/clib/native/libnative.la
/root/nirav/research/kaffe-1.0.7/libraries/clib/net/libnet.la
/root/nirav/research/kaffe-1.0.7/libraries/clib/io/libio.la
/root/nirav/research/kaffe-1.0.7/libraries/clib/zip/libzip.la
/root/nirav/research/kaffe-1.0.7/libraries/clib/math/libmath.la
/root/nirav/research/kaffe-1.0.7/libraries/clib/management/libmanagement.la
/root/nirav/research/kaffe-1.0.7/libraries/clib/security/libsecurity.la
/root/nirav/research/kaffe-1.0.7/libraries/extensions/microsoft/clib/libmicrosoft.la
/root/nirav/research/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/nirav/research/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/nirav/research/kaffe-1.0.7'
make[1]: Leaving directory `/root/nirav/research/kaffe-1.0.7'
Making all in config
make[1]: Entering directory `/root/nirav/research/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/nirav/research/kaffe-1.0.7/config'
/bin/sh ../config/regen-forward  xprofile-md.h stamp-h03
make[2]: Leaving directory `/root/nirav/research/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/nirav/research/kaffe-1.0.7/config'
Making all in include
make[1]: Entering directory `/root/nirav/research/kaffe-1.0.7/include'
make[2]: Entering directory `/root/nirav/research/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/nirav/research/kaffe-1.0.7/./kaffe/kaffevm
-I/root/nirav/research/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/nirav/research/kaffe-1.0.7/./kaffe/kaffevm
-I/root/nirav/research/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/nirav/research/kaffe-1.0.7/kaffe/kaffeh'
make[1]: *** [stamp-kaffeh] Error 2
make[1]: Leaving directory `/root/nirav/research/kaffe-1.0.7/include'
make: *** [all-recursive] Error 1




Plese help.


Thanx & Regards,
Nirav Panchal,
200311023.





More information about the kaffe mailing list