[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: [BusyBox] Busybox-1.00pre8 don't cross-compile syslogd
From:       mjn3 () codepoet ! org (Manuel Novoa III)
Date:       2004-02-27 17:26:49
Message-ID: 20040227172649.GB29555 () codepoet ! org
[Download RAW message or body]

On Fri, Feb 27, 2004 at 01:38:05PM +0100, Poul Erik Hansen wrote:
> I am new in trying to compile Busybox, and my problem can be a simple "newbie" problem.
> 
> I try to cross-compile Busybox "1.00-pre8" (from cvs d. 2004-02-27).
> 
> Most of the config works 100%, but if I enable "syslogd" I get a compiler error:
> 
> 	busybox.elf2flt: In function `syslogd_main':
> 	busybox.elf2flt(.text+0x18fb4): undefined reference to `daemon'
> 	collect2: ld returned 1 exit status
> 	make: *** [busybox] Error 1	
> 
> Is this a busybox problem, a uClib problem or ???.
> 
> 
> My setup : target :     arm7 (NS7520 nommu)
>                 lib :           uClibc-0.9.19
>                 compiler :  gcc version 2.95.3 20010315 (release)
>                                 (ColdFire patches - 20010318 from http://fi ddes.net/coldfire/)
>                                 (uClinux XIP and shared lib patches from http://www.snapgear. com/)
> 

uClibc does not support daemon on mmu-less archs.  However, there is
code in busybox syslogd.c which provides a workaround if __uClinux__
is defined.  I don't know why it isn't being used in your case.

Manuel


_______________________________________________
busybox mailing list
busybox@mail.busybox.net
http://codepoet.org/mailman/listinfo/busybox


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic