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

Jim Pick jim at kaffe.org
Fri Apr 11 08:55:02 PDT 2003


I encountered that myself too, recently.  Unfortunately, the
"configure.in" file in 1.0.7 included /usr/include in the include file
search path when compiling, which Red Hat 8.0's cpp complains about,
which causes all hell to break loose in the configure script.  :-(

If you use the CVS version, it will work.

I'm contemplating making a 1.0.7a version which just fixes this one
specific compile bug, since it bites so many people.

Cheers,

 - Jim

On Wed, 2003-04-09 at 06:43, mao wrote:
> 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
> 
> 
> 
> _______________________________________________
> kaffe mailing list
> kaffe at kaffe.org
> http://kaffe.org/cgi-bin/mailman/listinfo/kaffe





More information about the kaffe mailing list