[uClibc] unresolved dependency on "pow()" in libfetish.a (coreutils)

Robert Urban urban at UNIX-Beratung.de
Fri May 28 13:05:09 UTC 2004


Hello again,

I am trying to use the current buildroot with a few changes:
- gcc version 3.3.3 (3.3.2 fails on the 2.6.6 kernel)
- uClibc-0.9.26 (instead of 0.9.23)

buildroot now builds busybox successfully (thanks to Manuel), but
now, much further on, the build of coreutils is failing because
"seq.c" uses "strtod()" from libfetish.a and this has a dependency
on "pow()" which is not being resolved.  [see below]

"pow()" is clearly in libm.a from uClibc.  If someone has a hint
on how to resolve this I'd really appreciate it!

cheers,

Rob Urban

---------------------------------------------------------------------------

/big/home/urban/Linux/Embedded/uclibc/buildroot/build_i386/staging_dir/bin/i386
-linux-gcc  -Os     -o seq  seq.o ../lib/libfetish.a  ../lib/libfetish.a
../lib/libfetish.a(closeout.o)(.text+0x3b): In function `close_stdout_status':
: warning: This version of __fpending returns bytes remaining in buffer for 
both narrow and wide streams.  glibc's version returns wide chars in buffer 
for the wide stream case.
../lib/libfetish.a(strtod.o)(.text+0x16d): In function `strtod':
: undefined reference to `pow'
../lib/libfetish.a(strtod.o)(.text+0x1a2): In function `strtod':
: undefined reference to `pow'
../lib/libfetish.a(strtod.o)(.text+0x1cb): In function `strtod':
: undefined reference to `pow'
collect2: ld returned 1 exit status
make[4]: *** [seq] Error 1
make[4]: Leaving directory `/big/home/urban/Linux/Embedded/uclibc/buildroot/bui
ld_i386/coreutils-5.0/src'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/big/home/urban/Linux/Embedded/uclibc/buildroot/bui
ld_i386/coreutils-5.0/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/big/home/urban/Linux/Embedded/uclibc/buildroot/bui
ld_i386/coreutils-5.0'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/big/home/urban/Linux/Embedded/uclibc/buildroot/bui
ld_i386/coreutils-5.0'
make: *** [/big/home/urban/Linux/Embedded/uclibc/buildroot/build_i386/coreutils
-5.0/src/vdir] Error 2





More information about the uClibc mailing list