[BusyBox] [ I was found error uClib library in while busybox compile.]

Mike mike at interphos.com
Wed Oct 6 04:41:02 UTC 2004


Erik Andersen wrote:

>On Wed Oct 06, 2004 at 09:57:53AM +0900, Mike wrote:
>  
>
>>[ --------------- snip --------------------- ]
>>/opt/uClinux/arm-elf/lib/libc.a(execl.o): In function `execl':
>>execl.o(.text+0x44): undefined reference to `__exec_alloc'
>>execl.o(.text+0x90): undefined reference to `__exec_free'
>>    
>>
>
>http://www.uclibc.org/lists/uclibc/2004-January/007975.html
>
> -Erik
>
>--
>Erik B. Andersen             http://codepoet-consulting.com/
>--This message was written using 73% post-consumer electrons--
>
>  
>
It is CPU ARM7TDMI (NO MMU) that increase that is using present
As visited to address and confirm, gave - D__exe_alloc option to Makefile
But, confirmed error message

;

arm-elf-strip -x -R .note -R .comment getopt-susv3.o
arm-elf-gcc  -Wall -Wstrict-prototypes -Wno-trigraphs 
-fno-strict-aliasing  -fstrict-aliasing -Os    -mlittle-endian 
-D__exec_alloc -fno-builtin -nostdinc -D_LIBC -I../../include -I. 
-I/opt/uClinux/lib/gcc-lib/arm-elf/2.95.3/include -DNDEBUG -fPIC 
-DL_execl exec.c -c -o execl.o
exec.c:65: parse error before `1'
exec.c: In function `execl':
exec.c:111: called object is not a function
exec.c:98: warning: `size' might be used uninitialized in this function
exec.c:100: warning: `argv' might be used uninitialized in this function
exec.c:101: warning: `p' might be used uninitialized in this function
make[2]: *** [execl.o] Error 1
make[2]: Leaving directory `/home/mhlee/uClibc/libc/unistd'
make[1]: *** [_dir_unistd] Error 2
make[1]: Leaving directory `/home/mhlee/uClibc/libc'
make: *** [_dir_libc] Error 2


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/busybox/attachments/20041006/88ca35f5/attachment-0002.htm 


More information about the busybox mailing list