Busybox compilation error with static build

Sina Mallick education.sina at gmail.com
Mon Mar 12 02:57:27 UTC 2007


Hi All,
I am trying to compile busybox with static binary..but during compilation i
am getting these error..i am sending the configuration file with it also..if
anybody the solution of it please email me...

[root at l5ac190 busybox-1.4.1]# make ARCH=arm
CROSS_COMPILE=/opt/crosstoolarm/gcc-4.1.0-glibc-2.3.2
/arm-unknown-linux-gnu/bin/arm-unknown-linux-gnu-
  SPLIT   include/autoconf.h -> include/config/*
  GEN     include/bbconfigopts.h
  CC      applets/applets.o
applets/applets.c:20:2: error: #warning Static linking against glibc
produces buggy executables
applets/applets.c:21:2: error: #warning (glibc does not cope well with ld
--gc-sections).
applets/applets.c:22:2: error: #warning See
sources.redhat.com/bugzilla/show_bug.cgi?id=3400
applets/applets.c:23:2: error: #warning Note that glibc is unsuitable for
static linking anyway.
applets/applets.c:24:2: error: #warning If you still want to do it, remove
-Wl,--gc-sections
applets/applets.c:25:2: error: #warning from top-level Makefile and remove
this warning.
make[1]: *** [applets/applets.o] Error 1
make: *** [applets] Error 2
thanks
Sina
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/busybox/attachments/20070312/b9b843f5/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: new file
Type: application/octet-stream
Size: 18354 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20070312/b9b843f5/attachment-0002.obj 


More information about the busybox mailing list