Help uClibc libgcc_s.so.1 ERROR

Ayoub ayoub at ezono.com
Wed Nov 23 15:06:54 UTC 2005


Rob Landley wrote:

>On Wednesday 23 November 2005 05:29, Ayoub wrote:
>  
>
>>Hi All,
>>
>>I have compiled the BusyBox with the i386-linux-uclibc (CROSS compiler )
>>when booting my system it tell me that /sbin/init can't load  libgcc.so.6
>>    
>>
>
>This is a shared library problem with your cross compiler, not a busybox 
>issue.
>
>Try to get "hello world" to work first.
>
>  
>
>>I want to know how to generate this shared library with uClibc ?
>>    
>>
>
>Judging by the fact that it's named "libgcc", I'm going to go out on a limb 
>and guess it might be part of gcc?
>
>My systems only have libgcc.a, which is a type of library out of which symbols 
>are only statically linked...
>
>Rob
>
>
>  
>

Hi All,

Now I've built the Busybox staticly ( in order to have the init )
I've compiled a simple hello.c ( print hello world ) with the 
i386-linux-uclibc-gcc
When I execute it I have the message :
hello: can't load library 'libgcc_s.so.1'

and when I copy this shared library from an existent file system ( that 
I didn't built myself)
the hello work.

Can some one tell me how to build this 'libgcc_s.so.1' with the uclibc ( 
after the compilation and the install of the uclibc I don't find it !)
I'm using : uclibc-0.9.28 and a cross toolchain  i386-linux-uclibc-gcc 
corresponding to this version.

Thanks,

Cheers

ZAK

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2405 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20051123/4c76fde6/attachment.bin 


More information about the uClibc mailing list