linphone-developers
[Top][All Lists]
Advanced

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

Re: [Linphone-developers] Cross-compiling Linphone for powerpc


From: Simon Morlat
Subject: Re: [Linphone-developers] Cross-compiling Linphone for powerpc
Date: Thu, 24 Feb 2005 14:26:46 +0100
User-agent: KMail/1.7.1

Hi,

If you don't need the graphical interface, just get rid of glib by 
using ./configure --disable-glib.

Simon

Le Samedi 19 Février 2005 11:41, Amita Maheshwari a écrit :
> Hi,
>    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 libortp.la
> 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/libgthread-2.0.so -lpthread /usr/lib/libglib-2.0.so -lm
> /usr/lib/libgthread-2.0.so: 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. (/usr/local/powerpc/2.95.3/powerpc-linux/lib)
>
> Why is it looking for glib libraries in /usr/lib path ?? What could be the
> problem
>
> Thanks in advance
> Amita




reply via email to

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