Hi all,
I
am trying to compile linphone-3.4.3 for an ARM board. After
cross-compiling successfully the differents libraries (ncurses-5.9,
readline-6.2, libosip2-3.5, libogg-1.3.0, libeXosip2-3.5, speex-1.2rc1,
libav-0.7.1, SDL-1.2.14), I started to
cross-compile linphone-3.4.3.
To cross-compile libraries and linphone, I used the instructions given in links:
|
| | | | | | |
EmbedFun: Cross Compiling Linphone(1)In
this post, we will cross compile linphone for ARM devices. When it
comes to video capability, it will support video output via SDL but no
web cam interface. |
|
| Aperçu par Yahoo |
|
|
I used the following configuration command:
./configure
--prefix=$PREFIX --host=$HOSTTPL --with-gnu-ld --disable-static
--disable-glib --enable-gtk_ui=no --enable-sdl --disable-x11
--disable-libv4l --with-osip=$INSTALLDIR/usr/local
--with-readline=$INSTALLDIR/usr/local
SPEEX_CFLAGS="-I$INSTALLDIR/usr/local/include"
SPEEX_LIBS="-L$INCLUDEDIR/usr/local/lib -lspeex"
FFMPEG_CFLAGS="-I$INSTALLDIR/usr/local/include"
FFMPEG_LIBS="-L$INCLUDEDIR/usr/local/lib -lavcodec"
SWSCALE_CFLAGS="-I$INSTALLDIR/usr/local/include"
SWSCALE_LIBS="-L$INCLUDEDIR/usr/local/lib -lswscale"
SDL_CFLAGS="-I$INSTALLDIR/usr/local/include"
SDL_LIBS="-L$INCLUDEDIR/usr/local/lib -lSDL"
I
got the following error message ".libs/mscommon.o: error adding symbols: File in wrong format
collect2: error: ld returned 1 exit status"
Have you already faced this kind of error? How can I fix it?
Thank you in advance.
Best regards,
Ismael Jean FAYE