From: haithem r. <hai...@gm...> - 2009-12-01 10:35:38
|
Hi all, I'm trying to crosscompile the EFL librairies acutally only eina, evas and ecore for a "sh4-linux" based platform, but I've got two problems: - Eina cross-compiles only with "--disable-shared" otherwise I've got the following error: /bin/sh ../../../../libtool --mode=install /usr/bin/install -c ' eina_chained_mempool.la' '/opt/STM/STLinux-2.3/devkit/sh4/target/home/local/efl/lib/eina/mp/ eina_chained_mempool.la' libtool: install: warning: relinking `eina_chained_mempool.la' (cd /home//efl/eina-0.0.2.062/src/modules/mp/chained_pool; /bin/sh ../../../../libtool --tag=CC --tag=disable-static --mode=relink sh4-linux-gcc -std=gnu99 -O2 -no-undefined -module -avoid-version -o eina_chained_mempool.la -rpath /opt/STM/STLinux-2.3/devkit/sh4/target/home/local/efl/lib/eina/mp eina_chained_mempool_la-eina_chained_mempool.lo ../../../../src/lib/ libeina.la -ldl -lrt -lm -pthread ) sh4-linux-gcc -shared .libs/eina_chained_mempool_la-eina_chained_mempool.o -Wl,-rpath -Wl,/opt/STM/STLinux-2.3/devkit/sh4/target/home//local/efl/lib -L/opt/STM/STLinux-2.3/devkit/sh4/target/opt/STM/STLinux-2.3/devkit/sh4/target/home/local/efl/lib -leina -ldl -lrt -lm -pthread -Wl,-soname -Wl,eina_chained_mempool.so -o .libs/eina_chained_mempool.so /opt/STM/STLinux-2.3/devkit/sh4/lib/gcc/sh4-linux/4.2.4/../../../../sh4-linux/bin/ld: cannot find -leina collect2: ld returned 1 exit status libtool: install: error: relink `eina_chained_mempool.la' with the above command before installing it - It seems that the "libtool" is using the "LIBTOOL_PREFIX_BASE" twice ? - why there is this "link command" during the install phase ? is it possible to move it during the build? - Once Eina built in "static mode" I've problem to build evas : the problem is related to freetype: /bin/sh ../../libtool --tag=CC --mode=link sh4-linux-gcc -O2 -D_GNU_SOURCE -no-undefined -version-info 9:9:9 -release ver-svn-03 -o libevas.la -rpath /opt/STM/STLinux-2.3/devkit/sh4/target/home/local/efl/lib main.lo canvas/libevas_canvas.la file/libevas_file.la cache/libevas_cache.laimaging/ libevas_imaging.la cserve/libevas_cserve.la engines/common/ libevas_engine_common.la -ldl -lfreetype -lz -lfontconfig -lpthread -L/opt/STM/STLinux-2.3/devkit/sh4/target/home//local/efl/lib -leina -lm /bin/grep: /usr/lib/libfreetype.la: No such file or directory /bin/sed: can't read /usr/lib/libfreetype.la: No such file or directory libtool: link: `/usr/lib/libfreetype.la' is not a valid libtool archive any help please ? regards. Haithem. |