Can't make busybox-1.3.0

Rich Felker dalias at aerifal.cx
Mon Dec 18 09:37:39 UTC 2006


On Mon, Dec 18, 2006 at 09:07:10AM +0000, ma Jackie wrote:
> I met a promblem showed blow while making busybox-1.3.0 .
> 
> jack at ma:~/kernel/busybox-1.3.0$ make
> CC applets/applets.o
> applets/applets.c:22:2: error: #warning Static linking against glibc 
> produces buggy executables
> applets/applets.c:23:2: error: #warning (glibc does not cope well with ld 
> --gc-sections).
> applets/applets.c:24:2: error: #warning See 
> sources.redhat.com/bugzilla/show_bug.cgi?id=3400
> applets/applets.c:25:2: error: #warning Note that glibc is utterly 
> unsuitable for static linking anyway.
> make[1]: *** [applets/applets.o] Error 1
> make: *** [applets] Error 2
> 
> Although I deleted "--gc-sections" from Makefile according to someone's 
> suggestion(Note:there is no Rule.make in the package),it still doesn't work 
> and displays the message as above.
> 
> Any suggestion or information is greatly appreciated.

Either remove these #warning directives from the source code or remove
-Werror from the CFLAGS.

Rich




More information about the busybox mailing list