On 2005-01-18 at 18:17:43 [+0100], Waldemar Kornewald wrote: > Ingo Weinhold wrote: > > I just realized that our libnet.so contains a uname(). Am I right that > > this > > is only for compatibilty reasons when replacing the original libnet on an > > R5 system? Can we simply leave out compat.c when BONE_COMPATIBLE is > > defined? > > Yes, please. Mmh, I just tried that and the following problem occurs while linking: objects/x86.R1/kits/network/libnet/getaddrinfo.o(.text+0x611): In function `explore_fqdn': : undefined reference to `_h_errnop' objects/x86.R1/kits/network/libnet/getaddrinfo.o(.text+0x135e): In function `getanswer': : undefined reference to `_h_errnop' [...] _h_errnop() is defined in compat.c. headers/posix/netdb.h defines h_errno to __h_errno(), but src/kits/network/libnet/headers/netdb.h (which is actually included by getaddrinfo.c) defines it to _h_errnop(). I'm sure you networking guys know why there's a second set of some headers and what should actually be used... :-P CU, Ingo