[uClibc] Buildroot gcc undefinned reference

Steve Dover sw0rdf1sh at sbcglobal.net
Sat Dec 27 15:34:36 UTC 2003


Mike wrote:
> OK I got past the missing yacc trouble after finding a post here.  
> 
> How about missing dependencies one?
> 
> 
> /home/kenziem/myboot/buildroot/build_i386/staging_dir/bin/i386-linux-gcc  
> -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing  
> -mpreferred-stack-boundary=2 -falign-jumps=0 -falign-loops=0 -Os    
> -march=i486 -msoft-float -fno-builtin -nostdinc -D_LIBC -I../include -I. 
> -I/home/kenziem/myboot/buildroot/build_i386/staging_dir/lib/gcc-lib/i386-linux/3.3.2/include 
> -DNDEBUG -fPIC -D__LDSO_LDD_SUPPORT -Wl,-s \
>         -DUCLIBC_RUNTIME_PREFIX= \
>         -DUCLIBC_LDSO=ld-uClibc.so.0 \
>         ldd.c -o ldd  -L../lib
> ../lib/libc.so: undefined reference to `__nexf2'
> ../lib/libc.so: undefined reference to `__ltxf2'
> ../lib/libc.so: undefined reference to `__negxf2'
> ../lib/libc.so: undefined reference to `__eqxf2'
> ../lib/libc.so: undefined reference to `__gexf2'
> ../lib/libc.so: undefined reference to `__floatsidf'
> ../lib/libc.so: undefined reference to `__extenddfxf2'
> ../lib/libc.so: undefined reference to `__truncxfdf2'
> ../lib/libc.so: undefined reference to `__mulxf3'
> ../lib/libc.so: undefined reference to `__floatsixf'
> ../lib/libc.so: undefined reference to `__subxf3'
> ../lib/libc.so: undefined reference to `__divdf3'
> ../lib/libc.so: undefined reference to `__truncxfsf2'
> ../lib/libc.so: undefined reference to `__divxf3'
> ../lib/libc.so: undefined reference to `__extendsfxf2'
> ../lib/libc.so: undefined reference to `__addxf3'
> ../lib/libc.so: undefined reference to `__subdf3'
> collect2: ld returned 1 exit status
> make[2]: *** [ldd] Error 1
> make[2]: Leaving directory 
> `/home/kenziem/myboot/buildroot/build_i386/uClibc/utils'
> make[1]: *** [utils] Error 2
> make[1]: Leaving directory 
> `/home/kenziem/myboot/buildroot/build_i386/uClibc'
> make: *** 
> [/home/kenziem/myboot/buildroot/build_i386/staging_dir/lib/libc.a] Error 2
> 
> 
> Building on a P4 to run on a small 486 laptop.
> 
Drop the use of -msoft-float.  Make sure your kernel
does the floating point emulation if needed. That would
be CONFIG_MATH_EMULATION under the 'Processor type and
features' menu in make menconfig.




More information about the uClibc mailing list