Compile bug in libm with busybox (patch included)
rhabarber1848
rhabarber1848 at web.de
Wed Feb 18 15:34:21 UTC 2009
Hi,
Denys Vlasenko wrote:
> Please go to uclibc build directory, cd test,
> deleta ll directories except "math" (saves time),
> then run "make compile".
did so using SVN rev 25359.
> Does that successfully compile "compile_test.c"?
No.
> If not, what messages do you see?
> TEST_LINK malloc/ tst-valloc_glibc
> TEST_LINK math/ basic-test
> basic-test.c: In function `ldouble_test':
> basic-test.c:111: warning: implicit declaration of function `nanl'
> basic-test.o: In function `main':
> basic-test.c:(.text+0xa08): undefined reference to `nanl'
> basic-test.c:(.text+0xa24): undefined reference to `nanl'
> basic-test.c:(.text+0xa44): undefined reference to `nanl'
> basic-test.c:(.text+0xa64): undefined reference to `nanl'
> basic-test.c:(.text+0xa88): undefined reference to `nanl'
> basic-test.o:basic-test.c:(.text+0xa94): more undefined references to
`nanl' follow
> ../../lib/libm.so: undefined reference to `__GI___finitel'
> ../../lib/libm.so: undefined reference to `__GI___isnanl'
> ../../lib/libm.so: undefined reference to `__GI___signbitl'
> ../../lib/libm.so: undefined reference to `__GI___fpclassifyl'
> ../../lib/libm.so: undefined reference to `__GI___isinfl'
> collect2: ld returned 1 exit status
> make[1]: *** [basic-test] Error 1
Cheers, rhabarber1848
More information about the uClibc
mailing list