[Clfs-dev] Pango 32-bit build fails

John Frankish frankish at dubai.oilfield.slb.com
Sat Dec 13 02:22:39 PST 2008


On a ps3 multi-lib build, the pango 64-bit build works, but the 
32-bit build fails as follows:

(note changing Makefile X_LIBS =  -L/usr/lib64 -R/usr/lib64 -lX11 -> 
X_LIBS =  -L/usr/lib -R/usr/lib -lX11 does not help)

# patch -Np1 -i ../pango-1.22.0-multilib-1.patch
# sed -i "s/BUILDENV/32/" pango/pango-utils.c modules/Makefile.am 
modules/Makefile.in pango/Makefile.am pango/Makefile.in

# USE_ARCH=32 CC="gcc ${BUILD32}" 
PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" ./configure --prefix=/usr 
--sysconfdir=/etc
...
checking for perl... perl
checking for X... libraries /usr/lib64, headers
checking whether -R must be followed by a space... no
...
# make
...
  gcc -m32 -shared  .libs/module-defs-x.o .libs/pangox.o 
.libs/pangox-fontcache.o .libs/pangox-fontmap.o  -Wl,--rpath 
-Wl,/sources/pango-1.22.0/pango/.libs -Wl,--rpath -Wl,/usr/lib64 
-Wl,--rpath -Wl,/usr/lib64 ./.libs/libpango-1.0.so -L/usr/lib 
/usr/lib64/libgobject-2.0.so -L/usr/lib64 
/usr/lib64/libgmodule-2.0.so /usr/lib64/libglib-2.0.so 
/usr/lib64/libX11.so  -m32 -mcpu=cell -mtune=cell -Wl,-soname 
-Wl,libpangox-1.0.so.0 -Wl,-version-script 
-Wl,.libs/libpangox-1.0.ver -o .libs/libpangox-1.0.so.0.2200.0
/usr/lib64/libgobject-2.0.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[4]: *** [libpangox-1.0.la] Error 1
make[4]: Leaving directory `/sources/pango-1.22.0/pango'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/sources/pango-1.22.0/pango'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/sources/pango-1.22.0/pango'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/sources/pango-1.22.0'
make: *** [all] Error 2




More information about the Clfs-dev mailing list