Help cross compiling pango-1.2.5 for ARM

Hello everybody,

I have successfully cross compiled glib for arm-linux
target on a i686-pc-linux-gnu host and now I am trying
to cross compile pango.

But I get the following error message.

/bin/sh ../libtool --mode=link arm-linux-gcc  -g -O2
-Wall  -o -rpath /usr/local/arm/lib
-version-info 200:5:200 module-defs-x.lo pangox.lo
pangox-fontcache.lo pangox-fontmap.lo pango-indic.lo  -L/usr/X11R6/lib -lX11  
arm-linux-gcc -shared  .libs/module-defs-x.o
.libs/pangox.o .libs/pangox-fontcache.o
.libs/pangox-fontmap.o .libs/pango-indic.o 
-Wl,--rpath -Wl,/root/gtk/pango-1.2.5/pango/.libs
-Wl,--rpath -Wl,/usr/local/arm/lib
-L/usr/local/arm/lib ./.libs/
-L/usr/X11R6/lib -lX11  -Wl,-soname
-Wl, -o
skipping incompatible /usr/X11R6/lib/ when
searching for -lX11
skipping incompatible /usr/X11R6/lib/libX11.a when
searching for -lX11
cannot find -lX11
collect2: ld returned 1 exit status
make[3]: *** [] Error 1
make[3]: Leaving directory
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/gtk/pango-1.2.5'
make: *** [all-recursive-am] Error 2

It complains about a X library. It looks like it is
taking the X library from the host rather 
than from the target.

In the target I will use GTK+ on the framebuffer using
DirectFB API 
for I understand that I do not need an X server in the

How can I overcome this problem with pango looking for
a X library when I think it
does not really need one?.

In case that I decided to use GTK+ based on a X server
what steps should I follow
in order to provide pango with the correct X libraries

Thanks in advance for your help.

Best Regards,


Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes

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