[uClibc] compiling iproute2

H&D arry at mail.orbitel.bg
Sat Aug 28 22:16:01 UTC 2004


Hi,

i tried to compile iproute2 with uClibc0.9.16 and it gives these errors:


devel/iproute2/ip/ipaddress.c:855: undefined reference to `htonl' 
/devel/iproute2/ip/ipaddress.c:853: undefined reference to `htonl' 
iptunnel.o: In function `parse_args': 
/devel/iproute2/ip/iptunnel.c:175: undefined reference to `htons' 
/devel/iproute2/ip/iptunnel.c:346: undefined reference to `ntohl' 
/devel/iproute2/ip/iptunnel.c:307: undefined reference to `ntohl' 
/devel/iproute2/ip/iptunnel.c:344: undefined reference to `ntohl' 
/devel/iproute2/ip/iptunnel.c:217: undefined reference to `htonl' 
/devel/iproute2/ip/iptunnel.c:230: undefined reference to `htonl' 
/devel/iproute2/ip/iptunnel.c:243: undefined reference to `htonl' 
/devel/iproute2/ip/iptunnel.c:262: undefined reference to `htons' 
iptunnel.o: In function `print_tunnel': 
/devel/iproute2/ip/iptunnel.c:442: undefined reference to `htons' 
iplink.o: In function `get_address': 
/devel/iproute2/ip/iplink.c:196: undefined reference to `htons' 
../lib/libutil.a(utils.o): In function `inet_addr_match': 
/devel/iproute2/lib/utils.c:324: undefined reference to `htonl' 
../lib/libutil.a(utils.o): In function `resolve_address': 
/devel/iproute2/lib/utils.c:426: undefined reference to `htonl' 
../lib/libutil.a(ipx_ntop.o): In function `ipx_ntop1': 
/devel/iproute2/lib/ipx_ntop.c:8: undefined reference to `ntohl' 
collect2: ld returned 1 exit status 
make[1]: *** [ip] Error 1 
make[1]: Leaving directory `/devel/iproute2/ip' 
make: *** [all] Error 2 



Maybe i am missing something because i searched the mailinglists
and found out that iproute2 compiles without errors with uClibc 0.9.10
and i have uClibc0.9.16

thanks for the help

Hristian Todorov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/uclibc/attachments/20040829/0cfce965/attachment-0001.htm 


More information about the uClibc mailing list