[kaffe] NetworkInterfaceTest fails on Linux 2.4.18-3

Dalibor Topic robilad at kaffe.org
Fri Aug 12 13:31:52 PDT 2005


Ito Kazumitsu wrote:
>>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?
> 

hi Ito,

I've checked in your patch along with some unrelated resyncing with GNU
Classpath. I've now added a small ChangeLog entry.

cheers,
dalibor topic



More information about the kaffe mailing list