jack.ma
19th December 2006, 04:37
Hi,folks
Can I install uClibc on my ubuntu5.10? You see in my distribution gcc 4.0.2 is here.Why do I have to do so? When I make the busybox 1.3.0 it says
jack@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
Someone suggestst that
glibc has critical bugs that
make it so programs static-linked against glibc with gc-sections
option DO NOT WORK. Thus BB has provided an error message for you
rather than generating a binary that will seriously misbehave under
many circumstances.
glibc authors have intentionally not supported static linking for a
long time. If you want static linking, use a different libc that
properly supports it.
So,can I and how to install uClibc ?
Thanks
-jack
Can I install uClibc on my ubuntu5.10? You see in my distribution gcc 4.0.2 is here.Why do I have to do so? When I make the busybox 1.3.0 it says
jack@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
Someone suggestst that
glibc has critical bugs that
make it so programs static-linked against glibc with gc-sections
option DO NOT WORK. Thus BB has provided an error message for you
rather than generating a binary that will seriously misbehave under
many circumstances.
glibc authors have intentionally not supported static linking for a
long time. If you want static linking, use a different libc that
properly supports it.
So,can I and how to install uClibc ?
Thanks
-jack