[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Linphone-users] Re: linphone make error
From: |
Simon Morlat |
Subject: |
[Linphone-users] Re: linphone make error |
Date: |
Thu, 4 May 2006 16:19:04 +0200 |
User-agent: |
KMail/1.9.1 |
In console/Makefile.am
adding
AM_LDFLAGS= $(top_builddir)/oRTP/src/libortp.la \
$(SPEEX_LIBS) \
$(OSIP_LIBS)
should help this stupid linker to find its way.
Simon
Le Lundi 1 Mai 2006 06:56, Prakash N a écrit :
> Hi
> I try to cross-compile linphonec in powerPC platform. I could crosscompile
> everything needed for linphone. But during make of linphone I get an error
> like this --------------------------------------log of
> make--------------------------------------------------------------
> .............
> mkdir .libs
> powerpc-405-linux-gnu-gcc -Wall -Wp,-D_FORTIFY_SOURCE=2 -Werror
> -DENABLE_TRACE -D_ORTP_SOURCE -I/ppcbuild/usr/include -O2 -fno-exceptions
> -I../support -fno-strict-aliasing -o .libs/linphonec linphonec.o commands.o
> ../coreapi/.libs/liblinphone.so -L/ppcbuild/usr/lib -lreadline -lncurses
> -ldl
> /opt/powerpc-405-linux/lib/gcc/powerpc-405-linux-gnu/3.4.1/../../../../powe
>rpc-405-linux-gnu/bin/ld: warning: libortp.so.4, needed by
> ../coreapi/.libs/liblinphone.so, not found (try using -rpath or
> -rpath-link)
> /opt/powerpc-405-linux/lib/gcc/powerpc-405-linux-gnu/3.4.1/../../../../powe
>rpc-405-linux-gnu/bin/ld: warning: libspeex.so.1, needed by
> ../coreapi/.libs/liblinphone.so, not found (try using -rpath or
> -rpath-link)
> /opt/powerpc-405-linux/lib/gcc/powerpc-405-linux-gnu/3.4.1/../../../../powe
>rpc-405-linux-gnu/bin/ld: warning: libosipparser2.so.3, needed by
> ../coreapi/.libs/liblinphone.so, not found (try using -rpath or
> -rpath-link)
> /opt/powerpc-405-linux/lib/gcc/powerpc-405-linux-gnu/3.4.1/../../../../powe
>rpc-405-linux-gnu/bin/ld: warning: libosip2.so.3, needed by
> ../coreapi/.libs/liblinphone.so, not found (try using -rpath or
> -rpath-link) ../coreapi/.libs/liblinphone.so: undefined reference to
> `osip_message_get_reason' ../coreapi/.libs/liblinphone.so: undefined
> reference to `osip_to_to_str' ../coreapi/.libs/liblinphone.so: undefined
> reference to `payload_type_speex_wb' .................
>
> ---------------------------------------------------------------------------
>-----------------------------------------
>
> I could find those libraries in /ppcbuild/usr/lib. My config command is
>
> address@hidden linphone-1.3.2]# CC=powerpc-405-linux-gnu-gcc
> AR=powerpc-405-linux-gnu-ar RANLIB=powerpc-405-linux-gnu-ranlib
> NM=powerpc-405-linux-gnu-nm LD=powerpc-405-linux-gnu-ld
> STRIP=powerpc-405-linux-gnu-strip CXX=powerpc-405-linux-gnu-g++ ./configure
> --prefix=/usr --host=powerpc-405-linux --with-gnu-ld --disable-static
> --disable-glib --with-osip=/ppcbuild/usr --with-speex=/ppcbuild/usr
> --with-readline=/ppcbuild/usr
>
> Should I've to copy those libraries to
> linphone-1.3.2/ coreapi/.libs/ or How can I specify these libraries.
> could anyone help me out of this problem,
> Prakash
>
>
> ---------------------------------
> Jiyo cricket on Yahoo! India cricket
> Yahoo! Messenger Mobile Stay in touch with your buddies all the time.