[Top][All Lists]

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

[Linphone-developers] ant build error "armundefined- linuxreference- and

From: jitendra kumar
Subject: [Linphone-developers] ant build error "armundefined- linuxreference- androideabito/ bin'/my_AMREncodeld"
Date: Sun, 14 Apr 2013 00:13:44 +0530

Hi Team,

I am facing compilation error while running "ant debug" command for linphone android source code.

Please help me to resolve this error.

Compilation Steps Followed:
1) download the Android ndk (>=r5c) from google.
2) install the autotools: autoconf, automake, aclocal, libtoolize pkgconfig
3) run the ./ script in the top level directory. This will download iLBC source files and convert some assembly files in VP8 project.
	$ ./

4) finally from directory linphone-android, just execute command:
	$ ${my google ndk directory}/ndk-build
5) generate first the file using android sdk
	$ ${my google sdk directory}/tools/android update project --path ${my project path}
6) run the ant script
	$ ant debug

We got below error after running "ant debug" command.


 [exec] bin//ld: Users.//SRISHTIobj//Documents/localDevelopment-2013/android-ndk-r8e/toolchains//armeabiarm/-libopencoreamr.a(linuxwrapper.o-):androideabi -in4.6/prebuilt /functiondarwin -Encoder_Interface_Encode:jni/..//submodulesx86_64//bin/externals./.build//libopencore/-gccamr//arm.-.linux/-.androideabi.//4.6opencore/-.amr.//amrnb./.wrapper.cpp/:.66.:/ .error.:/ armundefined- linuxreference- androideabito/ bin'/my_AMREncodeld':
     [exec]  ./obj/local/armeabi-v7a/libopencoreamr.a(wrapper.o): in function Encoder_Interface_Encode:jni/..//submodules/externals/build/opencore-amr/../../opencore-amr/amrnb/wrapper.cpp:66: error: undefinedcollect2: ld returned 1 exit status
     [exec]  reference to 'my_AMREncode'
     [exec] collect2: ld returned 1 exit status
     [exec] make[1]: *** [obj/local/armeabi-v7a/] Error 1
     [exec] make[1]: *** Waiting for unfinished jobs....
     [exec] make[1]: *** [obj/local/armeabi/] Error 1
     [exec] make[1]: *** [obj/local/armeabi-v7a/] Error 1
     [exec] make[1]: Leaving directory `/Users/SRISHTI/Documents/Development-2013/SOURCE/ANDROID-PROJECTS/linphone/LINPHONE-ANT/linphone-android'
     [exec] make: *** [generate-libs] Error 2


reply via email to

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