Hi,

I try to cross compile linphonec  fro arm-linux . First of all I
successfully  cross compiled libosip2(2.2.2), speex(1.2),  readline(5.1),
ncurses(5.6). Then I configure linphone:

 ./configure  --with-osip=/root/nthu/arm-2007q1/arm-none-linux-gnueabi/
--with-readline=/root/nthu/arm-2007q1/arm-none-linux-gnueabi/ --pref
ix=/root/nthu/arm-2007q1/arm-none-linux-gnueabi/
--host=arm-none-linux-gnueabi
SPEEX_CFLAGS="-I/root/nthu/arm-2007q1/arm-none-linux-gnueabi/include"
SPEEX_LIBS
="-L/root/nthu/arm-2007q1/arm-none-linux-gnueabi/include -lspeex"
--disable-glib --disable-video --enable-gtk_ui=no

Then make, everything goes fine but while I execute "linphonec" on my ARM
board, It has the following
error message:
%
cd: 1: can't cd to /root/nthu/linphone-1.7.0/console
eval: 1: arm-none-linux-gnueabi-gcc: not found
%

it seems the shared library problem, so I re-configure linphone with the
following

./configure  CFLAGS=-static
--with-osip=/root/nthu/arm-2007q1/arm-none-linux-gnueabi/
--with-readline=/root/nthu/arm-2007q1/arm-none-linux-gnueabi/ --pref
ix=/root/nthu/arm-2007q1/arm-none-linux-gnueabi/
--host=arm-none-linux-gnueabi
SPEEX_CFLAGS="-I/root/nthu/arm-2007q1/arm-none-linux-gnueabi/include"
SPEEX_LIBS
="-L/root/nthu/arm-2007q1/arm-none-linux-gnueabi/include -lspeex"
--disable-glib --disable-video --enable-gtk_ui=no

I add -static to the cflags, but while execution still has the following
error message:

%
./linphonec: error while loading shared libraries: libreadline.so.5: cannot
open
 shared object file: No such file or directory
%

I try to compile readline with the "-static" option, but still not work. I
stack for a while @@

Can someone know how to solve this? any advice will be great help, thanks!!!
_______________________________________________
Linphone-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/linphone-users

Reply via email to