[kaffe] NetworkInterfaceTest fails on Linux 2.4.18-3
Ito Kazumitsu
ito.kazumitsu at hidec.co.jp
Thu Aug 11 20:50:18 PDT 2005
> NetworkInterfaceTest fails when run on Linux 2.4.18-3.
> $ 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
> $
The following patch worked at least for me.
******************
--- replace/getifaddrs.c.orig Mon Jul 18 03:01:00 2005
+++ replace/getifaddrs.c Fri Aug 12 11:24:25 2005
@@ -36,6 +36,8 @@
#define __close(x) close(x)
#endif
+#include "ifaddrs_linux.c"
+
#elif defined(SIOCGIFCONF)
#include "ifaddrs_bsd.c"
******************
Is the deletion of ifaddrs_linux.c intentional, or by accident?
More information about the kaffe
mailing list