[kaffe] NetworkInterfaceTest fails on Linux 2.4.18-3

Ito Kazumitsu ito.kazumitsu at hidec.co.jp
Wed Aug 10 23:09:24 PDT 2005


Hi,

NetworkInterfaceTest fails when run on Linux 2.4.18-3.

$ kaffe -fullversion
...
Engine: Just-in-time v3   Version: 1.1.x-cvs   Java Version: 1.4
Heap defaults: minimum size: 5 MB, maximum size: unlimited
Stack default size: 256 KB
Configuration/Compilation options:
)  Compile date     : Wed Aug 10 16:59:59 JST 2005
  Compile host     : ************************
  Install prefix   : /home/ito/kaffe/inst
  Thread system    : unix-pthreads
  Garbage Collector: kaffe-gc
  CC               : gcc
  CFLAGS           : -g -O2 -Wall -pthread -DENABLE_BINRELOC
  LDFLAGS          :
  ChangeLog head   : 2005-08-02 Ito Kazumitsu  <kaz at maczuka.gcd.org>
$ uname -a
Linux ************************ 2.4.18-3 #1 Thu Apr 18 07:37:53 EDT 2002 i686 unknown
$ cat test/regression/NetworkInterfaceTest.fail
/home/ito/kaffe/kaffe-snap-050804/kaffe/kaffe/.libs/lt-kaffe-bin: relocation error: /home/ito/kaffe/kaffe-snap-050804/libraries/clib/net/.libs/libnet-1.1.x-cvs.so: undefined symbol: getifaddrs
$ nm replace/.libs/getifaddrs.o
$

Formerly, nm showed
$ nm ../kaffe-snap-050630/replace/.libs/getifaddrs.o

         U _GLOBAL_OFFSET_TABLE_
         U __errno_location
         U bind
         U calloc
         U close
         U free
00000590 t free_data
00000520 t free_nlmsglist
000012e0 T freeifaddrs
00000640 T getifaddrs
         U getpid
00000060 t ifa_make_sockaddr
00000000 t ifa_sa_len
         U malloc
         U memcpy
         U memset
000005f0 t nl_close
000000f0 t nl_getlist
         U realloc
         U recvmsg
         U sendto
         U socket
         U strncpy
         U time



More information about the kaffe mailing list