Bryan Bui-Tuong wrote:
> Okay, that solved that problem, but now when I try to 'make install' I get
> the following error:
> 
> 
> 
> libtool: install: warning: relinking `libfusion.la
>  (cd /home/bbui/Desktop/Graphics/DirectFB-1.1.1/lib/fusion; /bin/sh
> ../../libtool  --tag=CC --mode=relink arm-linux-gcc -O3 -ffast-math -pipe
> -D_GNU_SOURCE -Werror-implicit-function-declaration -version-info 1:0:1
> -release 1.1 -lz -o libfusion.la -rpath /usr/lib arena.lo call.lo conf.lo
> fusion.lo hash.lo lock.lo object.lo property.lo reactor.lo ref.lo
> shmalloc.lo vector.lo shm/libfusion_shm.la ../direct/libdirect.la -ldl
> -lpthread -inst-prefix-dir /opt/arcom/arm-linux) 
> 
> arm-linux-gcc -shared  .libs/arena.o .libs/call.o .libs/conf.o
> .libs/fusion.o .libs/hash.o .libs/lock.o .libs/object.o .libs/property.o
> .libs/reactor.o .libs/ref.o .libs/shmalloc.o .libs/vector.o
> -Wl,--whole-archive shm/.libs/libfusion_shm.a -Wl,--no-whole-archive  -lz
> -L/opt/arcom/arm-linux/usr/lib -L/usr/lib -ldirect -ldl -lpthread
> -Wl,-soname -Wl,libfusion-1.1.so.0 -o .libs/libfusion-1.1.so.0.1.0
> 
> /usr/lib/libz.so: could not read symbols: Invalid operation
> collect2: ld returned 1 exit status
> libtool: install: error: relink `libfusion.la' with the above command
> before installing it

These errors are libtool's fault again. You might get around them by setting
CROSS_COMPILE_PREFIX to your toolchain's "sysroot" directory, e.g.

export CROSS_COMPILE_PREFIX=/opt/montavista/pro/devkit/mips/mips2_fp_le/target

> I've tried reconfiguring it and adding /opt/arcom/arm-linux/lib to my
> LD_LIBRARY_PATH, but when I do that, I am unable to run ./configure because
> it attempts to use the arm libraries to build the code.  Any additional help
> will be greatly appreciated.

If it still fails you might want to restart to build everything you built before
(libtool has viral features) or temporarily remove the offending .so file from
your system.

Welcome aboard :)

-- 
Best regards,
   Denis Oliver Kropp

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
'------------------------------------------'

_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to