[uClibc]iproute2

Erik Andersen andersen at codepoet.org
Fri Mar 22 04:19:52 UTC 2002


On Thu Mar 21, 2002 at 02:23:12PM -0300, Cassiano Aquino wrote:
> /usr/lib/crt1.o: In function `_start':
> /usr/lib/crt1.o(.text+0x1d): undefined reference to `__libc_start_main'
> nstat.o: In function `main':
> /home/cassiano/soft/src/iproute2/misc/nstat.c:496: undefined reference to 
> `log'
> /home/cassiano/soft/src/iproute2/misc/nstat.c:496: undefined reference to 
> `exp'
> collect2: ld returned 1 exit status

Your link is somehow including glibc stuff.  You should edit the
toplevel makefile and change the CC setting with something like:

-CC=gcc
+CC=/usr/i386-linux-uclibc/usr/bin/i386-uclibc-gcc

 -Erik

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



More information about the uClibc mailing list