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/../../../../powerpc-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/../../../../powerpc-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/../../../../powerpc-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/../../../../powerpc-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
[EMAIL PROTECTED] 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.
_______________________________________________ Linphone-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/linphone-users
