- Open terminal
- Download source code through command: git clone git://git.linphone.org/linphone-android.git --recursive
- Go to root directory of the downloaded project through command: cd /home/your_downloaded_project_path/
- Fire the command: ./prepare_sources.sh /home/android-ndk-r7b/
- Go to root directory of NDK folder through command: cd /home/android-ndk-r7b/
- Fire the command: export NDK_PROJECT_PATH=/home/your_downloaded_project_path/
- ./ndk_build clean
- ./ndk_build -i
Note: Here /home/android-ndk-r7b/ will be your NDK path where you have stored downloaded NDK
Try dis..if still not work mention error what you would get.