Help cross compiling pango-1.2.5 for ARM

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

 



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 libpangox-1.0.la -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
libpango-1.0.la  -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/libpango-1.0.so
-L/usr/X11R6/lib -lX11  -Wl,-soname
-Wl,libpangox-1.0.so.0 -o
.libs/libpangox-1.0.so.0.200.5
/usr/local/arm/lib/gcc-lib/arm-linux/3.3.2/../../../../arm-linux/bin/ld:
skipping incompatible /usr/X11R6/lib/libX11.so when
searching for -lX11
/usr/local/arm/lib/gcc-lib/arm-linux/3.3.2/../../../../arm-linux/bin/ld:
skipping incompatible /usr/X11R6/lib/libX11.a when
searching for -lX11
/usr/local/arm/lib/gcc-lib/arm-linux/3.3.2/../../../../arm-linux/bin/ld:
cannot find -lX11
collect2: ld returned 1 exit status
make[3]: *** [libpangox-1.0.la] Error 1
make[3]: Leaving directory
`/root/gtk/pango-1.2.5/pango'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/root/gtk/pango-1.2.5/pango'
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
target. 

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,

  Aitor


__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux