[uClinux-dev] Compilation error

kanhu kanhu at innomedia.soft.net
Sat Oct 1 02:55:50 EDT 2005


Hi all,
Can anybody help me on resolving the following problem
I use uClinux-dist-20020927 with kernel-2.4.22 and library uClibc with 
floating-point enabled on ARCH=armnommu.
At the compilation time i got the error like this

arm-elf-gcc  -Wl,-elf2flt -Dlinux -D__linux__ -Dunix -D__uClinux__ 
-DEMBED -I/home/gateway/Release3.221/uClinux-dist/lib/uClibc/include 
-I/home/gateway/Release3.221/uClinux-dist/lib/libm 
-I/home/gateway/Release3.221/uClinux-dist -Wl,-elf2flt 
-L/home/gateway/Release3.221/uClinux-dist/lib/uClibc/lib 
-L/home/gateway/Release3.221/uClinux-dist/lib/libnet 
-L/home/gateway/Release3.221/uClinux-dist/lib/libpcap    tc.o tc_qdisc.o 
tc_class.o tc_filter.o tc_util.o m_police.o m_estimator.o q_fifo.o 
q_sfq.o q_red.o q_prio.o q_tbf.o q_cbq.o f_rsvp.o f_u32.o f_route.o 
f_fw.o ../lib/libnetlink.a ../lib/
2util.a tc_core.o tc_red.o tc_cbq.o tc_estimator.o  -L. -ltc -lm 
-L../lib -lnetlink -lip2util -lresolv 
-L/home/gateway/Release3.221/uClinux-dist/lib/uClibc/lib 
-L/home/gateway/Release3.221/uClinux-dist/lib/libnet 
-L/home/gateway/Release3.221/uClinux-dist/lib/libpcap  -lcrypt -lnet 
-lpcap -o tc
tc.elf2flt(.text+0x4d10): In function `get_rate':
: undefined reference to `strtod'
tc.elf2flt(.text+0x5150): In function `print_rate':
: undefined reference to `rint'
tc.elf2flt(.text+0x522c): In function `print_rate':
: undefined reference to `rint'
tc.elf2flt(.text+0x52a8): In function `print_rate':
: undefined reference to `rint'
tc.elf2flt(.text+0x5384): In function `print_rate':
: undefined reference to `rint'
tc.elf2flt(.text+0x549c): In function `get_usecs':
: undefined reference to `strtod'
tc.elf2flt(.text+0x58c4): In function `get_size':
: undefined reference to `strtod'
tc.elf2flt(.text+0x5cd4): In function `print_size':
: undefined reference to `rint'
tc.elf2flt(.text+0x5de8): In function `print_size':
: undefined reference to `rint'

What's wrong with it ?


With Regards & Thanks
          Kanhu



More information about the uClinux-dev mailing list