busybox compile error form ARM core???

yangm aloonling at 126.com
Tue May 30 00:12:55 PDT 2006


yes,its on ARM7TDMI ,below is a part of the make information:

/bin/arm-elf-gcc/bin/arm-elf-gcc -I/yangm/busybox-1.00/include 
-I/yangm/busybox-1.00/include -I/yangm/busybox-1.00/libbb 
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall 
-Wstrict-prototypes -Wshadow -g -D_GNU_SOURCE   -Dfork=vfork   
-DL_getlarg10_sfx -c /yangm/busybox-1.00/libbb/xgetularg.c -o 
/yangm/busybox-1.00/libbb/getlarg10_sfx.o


as you say, what's the lib used default?neither of the uClibc and 
uClinux's "include".gcc version is   2.95.3 20010315 (release)

Peter say daemon() is not provided by uClibc if the chosen target does not have MMU?

then what should I do to compile iT??? when compiled on defult menuconfig,no error printed(gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5,
 on  x86).

Please give me some advice,thank you!!!









 Rob Landley 写道:
> On Monday 29 May 2006 7:04 pm, yangm wrote:
>   
>> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
>> <html>
>> <head>
>>   <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
>>   <title></title>
>> </head>
>> <body bgcolor="#ffffff" text="#000000">
>> when complie busybox for ARM platform by make install ,some errors
>> printed as&nbsp; below:<br>
>> <br>
>>     
>
> It's actually a C library problem.
>
>   
>> /yangm/busybox-1.00/networking/networking.a(inetd.o): In function
>> `inetd_main':<br>
>> inetd.o(.text+0xdd4): undefined reference to `daemon'<br>
>> /yangm/busybox-1.00/networking/networking.a(telnetd.o): In function
>> `telnetd_main':<br>
>>     
>
> Not finding a function named daemon() in libc.
>
> I'm guessing you're on a nommu system?  Could you tell us a bit more about 
> your build environment?  (Are you using uClinux or uClibc?  What gcc 
> version?)
>
>   
>> list below is my menuconfig:<br>
>> &nbsp; &#9474;
>> &#9484;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#947
>> 2;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#94
>>     
>
> And that's where I stopped reading.  Care to try again as plain text?
>
> Rob
>
>   




More information about the busybox mailing list