> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Zhou jun
> Sent: Friday, January 23, 2009 4:22 AM
> To: [email protected]
> Subject: Problem with libc.so.0
> 
> Hi,
> 
> I've just complied a uclibc sh4 cross-compile toochain, and 
> passed building kernel and busybox. When booting up the 
> system, the kernel runs well but when it comes to /sbin/init, 
> I got this error message "can't resolve symbol 
> __global_locale_data"... I checked libc.so.0 with readelf, 
> the symbol is in the relocation section, but the ldso 
> couldn't resolve its address.
> 
> 000a102c  00028601 R_SH_DIR32        000a5a48   
> __global_locale_data + 0
> 
> Please anybody kindly give me a hint :)
I suppose you have UCLIBC_HAS_LOCALE enabled. IMO you have build incoherence
problems.
What uclibc version are you using? Probably you are referring an old
version;
Doing a readelf -s libc.so.0, is __global_locale_data undefined? I think so.
You coud try to build from scratch the uclibc with UCLIBC_HAS_LOCALE
enabled;

> 
> Thank you very much!!
> 
> 

Filippo.

_______________________________________________
uClibc mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to