On Thu, 3 Nov 2005 12:29:22 +0800 Xyber Blue <xyberblue@xxxxxxxxx> wrote: >>>> [root@localhost ~]# frv-linux-gnu-nm -ap >>>> /opt/gtk-dillo/lib/libgdk-1.2.so.0 | fgrep setlocale >>>> U setlocale@@GLIBC_2.3.4 >>>> >>>> That is the output..... what's with the output??? > >>>It means your gtk+-1.2.x is built to use locale in libc. >>>It does not call _Xsetlocale(). Therefore, it will fail >>>as the first test with xmbcs.c. > >>>If it is configured to use _Xsetlocale(), libgdk-1.2.so.0 >>>won't call setlocale(). > >mpsuzuki Im very sorry for my previous reply. It seems that this cross >compiled gtk doesn't use -DXLOCALE. I think your cross building can screw up header files of host and target system. >It seems that it does not give anything..... I edited the .c files >containing setlocale to _Xsetlocale I think It is insufficient to use X_LOCALE. What you receive when you execute? frv-linux-gnu-nm -ap /opt/gtk-dillo/lib/libgtk-1.2.so.0 | fgrep alnum _______________________________________________ gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list