busybox compile error form ARM core???

Bernhard Fischer rep.nop at aon.at
Tue May 30 09:38:17 PDT 2006


On Tue, May 30, 2006 at 08:41:48AM +0200, Peter S. Mazinger wrote:
>On Tue, 30 May 2006, 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'
>> /yangm/busybox-1.00/networking/networking.a(telnetd.o): In function `telnetd_main':
>> telnetd.o(.text+0x65c): undefined reference to `daemon'
>> /yangm/busybox-1.00/networking/udhcp/udhcp.a(common.o): In function `background':
>> common.o(.text+0x30): undefined reference to `daemon'
>> /yangm/busybox-1.00/sysklogd/sysklogd.a(klogd.o): In function `klogd_main':
>> klogd.o(.text+0x2d0): undefined reference to `daemon'
>> /yangm/busybox-1.00/sysklogd/sysklogd.a(syslogd.o): In function `syslogd_main':
>> 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]#
>
>daemon() is not provided by uClibc if the chosen target does not have MMU

Could somebody enlighten me why we check for #ifdef __uClinux__ instead
of __uClibc__ throughout busybox?

Is this a bug/leftover from the old days or is this the proper way to
look for uClibc?


More information about the busybox mailing list