Help build test failed
lei yang
yanglei.fage at gmail.com
Mon May 31 07:15:18 UTC 2010
Hi experts,
I want to build the uclibc testing dir, but it failed can some one give me
some points to avoid this issue?
lyang0 at lyang0:~/downloads/uClibc-0.9.30.3/test$ make compile
TEST_LINK args/ arg_testarg_test.c
arg_test.c:9:19: error: stdio.h: No such file or directory
arg_test.c:10:20: error: stdlib.h: No such file or directory
arg_test.c:11:20: error: unistd.h: No such file or directory
arg_test.c: In function 'main':
arg_test.c:16: error: '__environ' undeclared (first use in this function)
arg_test.c:16: error: (Each undeclared identifier is reported only once
arg_test.c:16: error: for each function it appears in.)
arg_test.c:28: warning: incompatible implicit declaration of built-in
function 'printf'
arg_test.c:39: warning: incompatible implicit declaration of built-in
function 'exit'
make[1]: *** [arg_test] Error 1
make: *** [_dircompile_args] Error 2
I believe I have stdio.h,stdlib.h on my host. because if I compile
arg_test.c with "gcc -o test arc_test.c" it works well
Thanks
Lei
--
"We learn from failure, not from success!"
More information about the uClibc
mailing list