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



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.



-----Original Message-----
From: Brian G. Rhodes [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 15, 2008 2:02 PM
To: Bryan Bui-Tuong
Cc: directfb-users@directfb.org
Subject: Re: [directfb-users] libtool: install: error: cannot install
`libfusion.la to a directory not ending in /usr/lib

use DESTDIR=/opt/arcom/arm-linux and --prefix=/usr etc for 
configure/autoconf and DESTDIR=/opt/arcom/arm-linux for make install.  
libtool is completely ridiculous.  What's with the absolute paths at 
compile time?!

Bryan Bui-Tuong wrote:
> Hello everyone,
>
> I am trying to cross compile DirectFB 1.1.1 on my desktop for an arm board
> and get the following error message when I do a 'make install
> prefix=/opt/arcom/arm-linux':
>
>
>
----------------------------------------------------------------------------
> -------------------------
>
>
> test -z "/opt/arcom/arm-linux/lib" || /bin/mkdir -p
> "/opt/arcom/arm-linux/lib"
>  /bin/sh ../../libtool --mode=install /usr/bin/install -c
> 'libfusion.la' '/opt/arcom/arm-linux/lib/libfusion.la'
> libtool: install: error: cannot install `libfusion.la' to a directory
> not ending in /usr/lib
> make[4]: *** [install-libLTLIBRARIES] Error 1
>
>
>
>
----------------------------------------------------------------------------
> -------------------------
>
>
>
> These are my path settings and ./configure settings:
>
>
>
----------------------------------------------------------------------------
> -------------------------
>
> CROSSCOMPILE=/opt/arcom/bin 
> CC=arm-linux-gcc 
> NM=arm-linux-nm  
> LD=arm-linux-ld  
> CXX=arm-linux-g++ 
> RANLIB=arm-linux-ranlib  
> AR=arm-linux-ar 
> STRIP=arm-linux-strip 
> ARMLINUX=/opt/arcom/arm-linux 
> PATH=$ARMLINUX/bin:$CROSSCOMPILE:$ARMLINUX/lib:$PATH
>
> ./configure --disable-sdl --disable-osx --disable-x11 --disable-mmx
> --disable-sse --disable-vnc --disable-video4linux --with-gfxdrivers=none
> --with-inputdrivers=none --without-software --prefix=/usr --host=arm-linux
> --target=arm-linux --build=i686-redhat-linux-gnu
>
>
----------------------------------------------------------------------------
> -------------------------
>
> Why am I not able to install into my arm-linux folder on my local drive
> before I move it to the target drive?  
>
> Thanks in advance for all your help.
>
>
> Bryan B.
> SSC-PACIFIC
> Electrical Engineer
>
>
>
> _______________________________________________
> directfb-users mailing list
> directfb-users@directfb.org
> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
>
>   



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

Reply via email to