[uClibc]0.9.19 undefined references in libc.a(_dtostr.o)

Randy Cooper randywcooper at yahoo.ca
Fri May 30 17:05:01 UTC 2003


Hi,

I'm trying to build the MTD utilities using uclibc
0.9.19. The command I am using and the resulting
output are shown below.

rcooper$ make CROSS=arm-uclibc- LDFLAGS="-static"
arm-uclibc-gcc -I../include -O2 -Wall
-Wstrict-prototypes -Wshadow  -static  ftl_format.c  
-o ftl_format
ftl_format.c: In function `build_header':
ftl_format.c:111: warning: implicit declaration of
function `time'
/usr/local/arm/uclibc/lib/libc.a(_dtostr.o): In
function `_dtostr':
_dtostr.o(.text+0x9c): undefined reference to
`__nedf2'
_dtostr.o(.text+0xe8): undefined reference to
`__eqdf2'
_dtostr.o(.text+0x10c): undefined reference to
`__ltdf2'
_dtostr.o(.text+0x128): undefined reference to
`__negdf2'
_dtostr.o(.text+0x144): undefined reference to
`__muldf3'
_dtostr.o(.text+0x158): undefined reference to
`__eqdf2'
_dtostr.o(.text+0x1b4): undefined reference to
`__muldf3'
_dtostr.o(.text+0x1e4): undefined reference to
`__ltdf2'
_dtostr.o(.text+0x214): undefined reference to
`__muldf3'
_dtostr.o(.text+0x220): undefined reference to
`__ltdf2'
_dtostr.o(.text+0x23c): undefined reference to
`__muldf3'
_dtostr.o(.text+0x2a0): undefined reference to
`__divdf3'
_dtostr.o(.text+0x2ac): undefined reference to
`__gedf2'
_dtostr.o(.text+0x2c8): undefined reference to
`__divdf3'
_dtostr.o(.text+0x300): undefined reference to
`__gedf2'
_dtostr.o(.text+0x328): undefined reference to
`__divdf3'
_dtostr.o(.text+0x344): undefined reference to
`__fixdfsi'
_dtostr.o(.text+0x34c): undefined reference to
`__floatsidf'
_dtostr.o(.text+0x360): undefined reference to
`__subdf3'
_dtostr.o(.text+0x36c): undefined reference to
`__muldf3'
collect2: ld returned 1 exit status
make: *** [ftl_format] Error 1

It appears to me that I may have done something wrong
in building uclibc, would that be correct?

To build uclibc I entered the following commands:
make CROSS=arm-linux- menuconfig
make CROSS=arm-linux-
make CROSS=arm-linux- PREFIX="" install

I'm doing this on a system running Slackware 9.0 and
I've never done anything with uclibc before, so i'd
appreciate any help anyone can provide.

Thanks,
Randy

______________________________________________________________________ 
Post your free ad now! http://personals.yahoo.ca


More information about the uClibc mailing list