Test build failed due to UCLIBC_INTERNAL header rework
Carmelo AMOROSO
carmelo.amoroso at st.com
Tue Jun 10 14:27:32 UTC 2008
Hello,
recent change on libc_hidden_proto brakes test and utils build.
The problem is that test are built with UCLIBC_INTERNAL macro defined
due to inclusion of top Rules.mak causing the libc_hidden_proto to be
visible.
So we could move the definition of the UCLIBC_INTERNAL macro within
Makefile.in
for example or filter-out if from the CFLAGS in test/Rules.mk.
Below the error log
make: Entering directory `/home/work/uClibc-work/SVN/trunk/test'
TEST_LINK args/ arg_test
TEST_LINK assert/ assert
make[1]: Nothing to be done for `compile'.
TEST_LINK crypt/ crypt
TEST_LINK crypt/ md5c-test
md5c-test.o: In function `main':
md5c-test.c:(.text+0x5c): undefined reference to `__GI_strcmp'
collect2: ld returned 1 exit status
make[1]: *** [md5c-test] Error 1
make: *** [_dircompile_crypt] Error 2
make: Leaving directory `/home/work/uClibc-work/SVN/trunk/test'
(the same should happen while building utils)
Any comments ?
Carmelo
More information about the uClibc
mailing list