busybox compile error form ARM core???

yangm aloonling at 126.com
Tue May 30 07:32:02 UTC 2006


Hi Rob Landley:
    when I add CFLASH D__uClinux__ in menuconfig selection,it compiled 
sucessfully.but there is no information about what library used?

what library should i use default?? I'm a new guy.thanks your help


Rob Landley 写道:
> On Tuesday 30 May 2006 2:20 am, yangm wrote:
>   
>> when complie busybox for ARM platform by make install ,some errors
>> printed as below:
>>
>> /yangm/busybox-1.00/networking/networking.a(inetd.o): In function
>> `inetd_main':
>> inetd.o(.text+0xdd4): undefined reference to `daemon'
>>     
>
> It still can't find the function daemon() in your libc.so
>
> We do have a nommu version of that function, but apparently it isn't 
> triggering.  There's this chunk of code, circa line 1314 or so of inetd.c:
>
>   if (!(opt & 2)) {
> #if defined(__uClinux__)
>     /* reexec for vfork() do continue parent */
>     vfork_daemon_rexec (0, 0, argc, argv, "-f");
> #else
>     daemon (0, 0); /* bb_xdaemon? */
> #endif /* uClinux */
>   } else {
>
>
>   
>> syslogd.o(.text+0x9f4): undefined reference to `daemon'
>> collect2: ld returned 1 exit status
>> make: *** [busybox] Error 1
>> [root at yangm-vmware busybox-1.00]#
>>     
>
> And you're using an oldish version.  (Dunno what the code looks like in that 
> version.)
>
>   
>> list below is my menuconfig:
>> │ ┌─────────────────────────────────────────────────────────────────────┐ │
>> │ │ [*] Build BusyBox as a static binary (no shared libs) │ │
>> │ │ [*] Build with Large File Support (for accessing files > 2 GB) │ │
>> │ │ [*] Do you want to build BusyBox with a Cross Compiler? │ │
>> │ │ (/bin/arm-elf-gcc/bin/arm-elf-) Cross Compiler prefix │ │
>> │ │ (-Dfork=vfork ) Any extra CFLAGS options for the compiler?
>>     
>
> That doesn't tell us about your C library.
>
> Rob
>   





More information about the busybox mailing list