I'm trying to cross-compile DirectFB on an ARM device. I managed to
get it working without png and freetype, but now I'm trying to include
those also while compiling DirectFB. (I have both ported onto my
target platform)

It appears that libtool is replacing -lpng12 with /usr/lib/libpng12.so
(and similarly replacing -lfreetype with /usr/lib/libfreetype.so).
This fails (As expected), and generates this error:

/usr/lib/libpng12.so: could not read symbols: File in wrong format

Is this a problem with libtool, or am I doing something wrong?

These are the arguments I've given while configuring DirectFB:
./configure --disable-fbdev --with-inputdrivers=none
--with-gfxdrivers=davinci --disable-sysfs --disable-multi
--disable-sdl --disable-x11 --disable-jpeg --host=arm-linux
--target=arm-linux --prefix=/home/user/inst_dfb/ --enable-static

---
Srikanth Nori

_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to