> -----Original Message----- > From: Denis Oliver Kropp [mailto:[EMAIL PROTECTED] > Sent: den 27 april 2004 08:05 > To: Kent Sandvik > Cc: [EMAIL PROTECTED] > Subject: [directfb-users] Re: Hardcoded library paths when > cross-compiling to ARM platform > > > Quoting Kent Sandvik: > > Hi, what am I doing wrong when I'm trying to cross-compiler > DirectFB > > (0.9.20 or latest cvs tree) for arm-linux, the compile > stops when trying > > to build any of the interface shared libraries. Ex: > > --- > > /bin/sh ../../libtool --mode=link gcc -D_REENTRANT -Wall -O3 > > -ffast-math -pipe -DFUSION_FAKE > -Werror-implicit-function-declaration > > -o libidirectfbimageprovider_jpeg.la -rpath > > > /opt/holly/arm/lib/directfb-0.9.20/interfaces/IDirectFBImageProvider > > -avoid-version -module idirectfbimageprovider_jpeg.lo > -ljpeg -ldl -lpthread > > gcc -shared .libs/idirectfbimageprovider_jpeg.o -Wl,--rpath > > -Wl,/usr/lib -Wl,--rpath -Wl,/usr/lib /usr/lib/libjpeg.so > -ldl -lpthread > > -Wl,-soname -Wl,libidirectfbimageprovider_jpeg.so -o > > .libs/libidirectfbimageprovider_jpeg.so > > /usr/lib/libjpeg.so: could not read symbols: Invalid operation > > The error is somewhere in libstuhl (libtool), search all > ".la" files for the path.
I have the following patch that solves a similar problem when cross compiling: --- DirectFB-0.9.20.orig/configure Mon Oct 6 23:50:58 2003 +++ DirectFB-0.9.20/configure Tue Feb 10 10:41:20 2004 @@ -7057,6 +7057,8 @@ else sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi +sys_lib_dlsearch_path_spec="" +sys_lib_search_path_spec="" need_lib_prefix=unknown hardcode_into_libs=no Regards, Marcus Gustafsson > > -- > Best regards, > Denis Oliver Kropp > > .------------------------------------------. > | DirectFB - Hardware accelerated graphics | > | http://www.directfb.org/ | > "------------------------------------------" > > Convergence GmbH > > > -- > Info: To unsubscribe send a mail to [EMAIL PROTECTED] with > "unsubscribe directfb-users" as subject. > -- Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe directfb-users" as subject.
