[uClibc]RE: [BusyBox] Errors Compiling BusyBox: Update

AVENARD,JEAN-YVES (HP-Australia,ex2) jean-yves_avenard at hp.com
Sun Feb 18 23:59:59 UTC 2001


Did you make sure that you link against crt0.o as well as libuclibc.so (BTW,
I thought the shared loader didn't work "yet" with uClibc)

__environ is defined in crt0.o

Jean-Yves


> -----Original Message-----
> From: Tom Cameron [mailto:TCameron at stmarysbank.com]
> Sent: Friday, 16 February 2001 6:23 AM
> To: 'Manuel Novoa III'; Erik Andersen
> Cc: uclibc at uclibc.org
> Subject: RE: [uClibc]RE: [BusyBox] Errors Compiling BusyBox: Update
> 
> 
> Ok...wtf?
> 
> ### Begin Output ###
> /usr/bin/ld: warning: cannot find entry symbol _start; defaulting to
> 0804a850
> sh.o: In function `builtin_env':
> sh.o(.text+0x86): undefined reference to `environ'
> /lib/libuClibc.so: undefined reference to `__environ'
> /lib/libuClibc.so: undefined reference to `_start_exit'
> collect2: ld returned 1 exit status
> make: *** [busybox] Error 1
> ### End Output ###
> 
> 	This just keeps getting more and more strange.
> 
> --
> Thomas Cameron
> Network Technician / Operations Specialist
> St. Mary's Bank
> 
> > -----Original Message-----
> > From:	Manuel Novoa III [SMTP:mnovoa3 at bellsouth.net]
> > Sent:	Thursday, February 15, 2001 1:53 PM
> > To:	Erik Andersen
> > Cc:	uclibc at uclibc.org
> > Subject:	Re: [uClibc]RE: [BusyBox] Errors Compiling 
> BusyBox: Update
> > 
> > Erik,
> > 
> > On Thu, 15 Feb 2001, Erik Andersen wrote:
> > > On Thu Feb 15, 2001 at 10:49:56AM -0600, Manuel Novoa III wrote:
> > > > I committed the changes this morning.  busybox now 
> builds again with
> > uClibc
> > > > with the usual "make CC=gcc-uClibc-{arch}" command... 
> at least it does
> > for i386.
> > > 
> > > Thanks Manuel!
> > 
> > Your welcome.  ;-)
> > 
> > Next I plan to deal with the __uClibc_main and crt0.S changes.
> > 
> > Also, the stdio.c code needs some work with the addition of 
> vdprintf.
> > 
> > Manuel
> > 
> > 
> > _______________________________________________
> > uclibc mailing list
> > uclibc at uclibc.org
> > http://uclibc.org/mailman/listinfo/uclibc
> 
> 
> _______________________________________________
> uclibc mailing list
> uclibc at uclibc.org
> http://uclibc.org/mailman/listinfo/uclibc
> 





More information about the uClibc mailing list