[uClibc]iproute2 compiling error

Erik Andersen andersen at codepoet.org
Fri Mar 22 04:55:26 UTC 2002


On Thu Mar 21, 2002 at 12:08:00PM +0100, Hannes Ebner wrote:
> hi!
> 
> I tried to compile the iproute2-tools (ss001007) against uClibc 0.9.8, 
> since it is on the list of supported programs.
> during the compile I get several errors, so the binaries cannot be 
> linked (I have exported the right path to uClibc):
> 
> --snip--
> rtacct.o: In function `main':
> /home/he/qos/iproute2_uclibc/iproute2/ip/rtacct.c:39: undefined 
> reference to `rtnl_rtrealm_a2n'
> /home/he/qos/iproute2_uclibc/iproute2/ip/rtacct.c:73: undefined 
> reference to `rtnl_rtrealm_n2a'
> /home/he/qos/iproute2_uclibc/iproute2/ip/rtacct.c:92: undefined 
> reference to `rtnl_rtrealm_n2a'
> collect2: ld returned 1 exit status
> make[1]: *** [rtacct] Fehler 1
> make: *** [all] Fehler 2

Now that I have the 0.9.10 release out, I spent a few minutes
digging into this problem.  It turns out that this is the
_perfect_ example of a rare bug that I've been hunting for 
some time now.  Thanks!  iproute2 made the problem very easy 
to track down.  It is a bug in uClibc's ld wrapper. 

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the uClibc mailing list