I am building Linphone application for android. I am working in Ubuntu 11.04 OS.
I Followed the steps given in README file:
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.
Also a key issue appears to be that you must be using version 7 of the NDK as well
You have to specify the complete path the ndk when executing prepare_sources
$./prepare_sources.sh /complete/path/to/android-ndk
If you only specify the relative path to the ndk, it'll also throw the same error.
Then, you can call 'ndk-build', 'ant debug',... whatever you want to.
If you still need an answer...
In your ubuntu 11.04, open your terminal, make sure you are the root user
* make sure you have done this: "git clone git://git.linphone.org/linphone-android.git --recursive" //*the --recursive part is very important
* then do this: apt-get install autoconf automake libtool pkg-config
* go to your project root: cd/home/user/project //wherver your project is
* in your project root: export PATH=/home/user/android-ndk:$PATH //wherever your android-ndk is stored in
* then run ./prepare_sources.sh //in your project root still
* after that do this: /home/user/android-ndk/ndk-build // in your project root too
Check the output from prepare_sources.sh carefully for errors. Errors during this phase can lead to the error that you describe.