busybox compile error form ARM core???
Peter S. Mazinger
ps.m at gmx.net
Tue May 30 20:01:31 UTC 2006
On Tue, 30 May 2006, Bernhard Fischer wrote:
> 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?
__uClinux__ should probably mean uClibc without MMU (in busybox's
context), although I was corrected that uClinux runs on MMU as well
Peter
>
> Is this a bug/leftover from the old days or is this the proper way to
> look for uClibc?
>
>
--
Peter S. Mazinger <ps dot m at gmx dot net> ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08 BB6E C389 975E A5F0 59F2
More information about the busybox
mailing list