[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-developers] Cross-compiling Linphone for powerpc

From: Amita Maheshwari
Subject: [Linphone-developers] Cross-compiling Linphone for powerpc
Date: Sat, 19 Feb 2005 16:11:26 +0530

   I am facing some problem in compiling Linphone in console version for powerpc. I run the configure command as follows . The configure works fine

 ./configure --host=powerpc-linux --enable-gnome_ui=no --with-osip=/home/project/ppc_sip/ --enable-shared=no --enable-static=yes
But then when I run the make command , it fails in oRTP dir.
The error meassage is as shown

source='rtpsend.c' object='rtpsend.o' libtool=no \
depfile='.deps/rtpsend.Po' tmpdepfile='.deps/rtpsend.TPo' \
depmode=gcc /bin/sh ../depcomp \
powerpc-linux-gcc -DHAVE_CONFIG_H  -DG_LOG_DOMAIN=\"oRTP\" -I. -I. -I..     -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -c `test -f 'rtpsend.c' || echo './'`rtpsend.c
/bin/sh ../libtool --mode=link powerpc-linux-gcc  -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include     -o rtpsend  rtpsend.o
powerpc-linux-gcc -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -o rtpsend rtpsend.o  ./.libs/libortp.a /usr/lib/ -lpthread /usr/lib/ -lm
/usr/lib/ could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[4]: *** [rtpsend] Error 1
make[4]: Leaving directory `/home/project/ppc_sip/linphone-0.10.2/oRTP/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/project/ppc_sip/linphone-0.10.2/oRTP'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/project/ppc_sip/linphone-0.10.2/oRTP'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/project/ppc_sip/linphone-0.10.2'
make: *** [all] Error 2

I used an powerpc rpm for glib and placed all the libs in the powerpc toolchain lib directory.

Why is it looking for glib libraries in /usr/lib path ?? What could be the problem

Thanks in advance

reply via email to

[Prev in Thread] Current Thread [Next in Thread]