Why text in the label, button always looked "blank"?



Hello all:
      I have cross compiled the GTK+ develop system
for a SH4 target board. I set $DISPLAY to my host
computer(RH9.0) in the target.When any GTK+ program is
executed  in the target, _any_ text in the lable,
button or other widget will not be displayed(just a
blank). I have  tested pango's examples successfully(
It can generate a right PGM file). My pango.modules
and pangox.aliases are placed in the target file
system as sam as the host. I have set $local to "C" or
any others, there is no use. Here is the  message
dumped from "ldd helloword" from the target(helloworld
is from the examples of GTK+). 

        libgtk-x11-2.0.so.0 =>
/home/allbuild/lib/libgtk-x11-2.0.so.0 (0x2957b000)
        libX11.so.6 =>
/home/tinyx/build/exports/lib/libX11.so.6 (0x297d9000)
        libexpat.so.1 =>
/home/tinyx/build/exports/lib/libexpat.so.1
(0x298a1000)
        libXrandr.so.2 =>
/home/tinyx/build/exports/lib/libXrandr.so.2
(0x298d0000)
        libXext.so.6 =>
/home/tinyx/build/exports/lib/libXext.so.6
(0x298e3000)
        libXft.so.2 =>
/home/tinyx/build/exports/lib/libXft.so.2 (0x29903000)
        libXrender.so.1 =>
/home/tinyx/build/exports/lib/libXrender.so.1
(0x29925000)
        libfontconfig.so.1 =>
/home/tinyx/build/exports/lib/libfontconfig.so.1
(0x2993d000)
        libfreetype.so.6 =>
/home/tinyx/build/exports/lib/libfreetype.so.6
(0x29978000)
        libgdk-x11-2.0.so.0 =>
/home/allbuild/lib/libgdk-x11-2.0.so.0 (0x299d5000)
        libatk-1.0.so.0 => /home/allbuild/lib/libatk-1.0.so.0
(0x29a4f000)
        libgdk_pixbuf-2.0.so.0 =>
/home/allbuild/lib/libgdk_pixbuf-2.0.so.0 (0x29a78000)
        libpangoxft-1.0.so.0 =>
/home/allbuild/lib/libpangoxft-1.0.so.0 (0x29a9b000)
        libpangox-1.0.so.0 =>
/home/allbuild/lib/libpangox-1.0.so.0 (0x29aca000)
        libpango-1.0.so.0 =>
/home/allbuild/lib/libpango-1.0.so.0 (0x29ae7000)
        libgobject-2.0.so.0 =>
/home/allbuild/lib/libgobject-2.0.so.0 (0x29b2b000)
        libgmodule-2.0.so.0 =>
/home/allbuild/lib/libgmodule-2.0.so.0 (0x29b70000)
        libdl.so.2 => /lib/libdl.so.2 (0x29b83000)
        libglib-2.0.so.0 =>
/home/allbuild/lib/libglib-2.0.so.0 (0x29b96000)
        libm.so.6 => /lib/libm.so.6 (0x29c1f000)
        libc.so.6 => /lib/libc.so.6 (0x29cae000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x29556000)

Any one have been same quistion as me ?

--ZhouChang

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]