[kaffe] m68k cross-compiling error "redefinition of `struct addrinfo'"

Frederico M. Motta fredlee at fredlee.org
Wed Jul 19 04:35:48 PDT 2006


Hi,

I'm trying to compile the kaffe for a Motorola ColdFire, but I found a
error. Anybody can help me?
---------------
The MAKE error :

In file included from getaddrinfo.c:129:
../include/getaddrinfo.h:199: redefinition of `struct addrinfo'
../include/getaddrinfo.h:219: conflicting types for `getnameinfo'
/usr/local/lib/gcc-lib/m68k-elf/2.95.3/../../../../m68k-elf/include/netdb.h:482:
previous declaration of `getnameinfo'

make[2]: *** [getaddrinfo.lo] Error 1
make[2]: Leaving directory `/root/workspace/kaffe/replace'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/workspace/kaffe/replace'
make: *** [all-recursive] Error 1

--------------------

The Config

CC=m68k-elf-gcc NM=m68k-elf-nm AR=m68k-elf-ar \
CFLAGS="-Wall -g -m5307 -Wl,-elf2flt -Os -lc " \
LDFLAGS="-g -m5307 -Wl,-elf2flt" \
KAFFEH=/root/workspace/kaffe/kaffe/kaffeh \
/root/workspace/kaffe/configure \
--host=m68k-linux \
--build=i686-linux \
--with-engine=intrp \
--enable-pure-java-math \
--with-threads=unix-jthreads \
--disable-direct-threading \
--prefix=/uclinux/jvm/ \
--disable-fastjar \
--disable-sound \
--disable-alsa \
--without-alsa \
--without-esd \
--disable-gtk-peer \
--disable-alsatest \
--disable-esdtest \
--without-x \
--disable-xmltest \
--disable-xslttest \
--disable-debug \
--disable-native-awt \
--disable-feedback \
--without-profiling \
--without-stats \
--disable-gcj \
--disable-xawt-xi18n \
--disable-fastjar \
--disable-shared \
--with-staticlib \
--with-staticbin \
--with-staticvm \
--without-gmp \
--disable-rpath \
--disable-libtool-lock \
--with-jikes=/opt/jikes/bin/jikes

-----


Thanks!


-- 
________________
Frederico M. Motta
[ http://fredlee.org ]




More information about the kaffe mailing list