Configure Problem - Newbie
#1
So I am trying to run this command to configure my build as stated in the github instructions. I am using the source code of Jarvis.

NDK version: 14b

Code:
./configure --with-tarballs=/opt/xbmc-tarballs --host=arm-linux-androideabi --with-sdk-path=/opt/Sdk --with-ndk=/opt/android-ndk --with-toolchain=/opt/arm-linux-androideabi/android-21 --prefix=/opt/xbmc-depends

but I get the following error:

Code:
checking build system type... x86_64-unknown-linux-gnu
checking host system type... arm-unknown-linux-androideabi
checking for arm-linux-androideabi-g++... no
checking for arm-linux-androideabi-c++... no
checking for arm-linux-androideabi-gpp... no
checking for arm-linux-androideabi-aCC... no
checking for arm-linux-androideabi-CC... no
checking for arm-linux-androideabi-cxx... no
checking for arm-linux-androideabi-cc++... no
checking for arm-linux-androideabi-cl.exe... no
checking for arm-linux-androideabi-FCC... no
checking for arm-linux-androideabi-KCC... no
checking for arm-linux-androideabi-RCC... no
checking for arm-linux-androideabi-xlC_r... no
checking for arm-linux-androideabi-xlC... no
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether g++ supports C++11 features by default... yes
checking for unzip... yes
checking for zip... yes
checking for curl... /usr/bin/curl
checking for tar... /bin/tar
checking for arm-linux-androideabi-ranlib... no
checking for ranlib... /usr/bin/ranlib
configure: WARNING: using cross tools not prefixed with host triplet
checking for arm-linux-androideabi-ld... no
checking for ld... /usr/bin/ld
checking for arm-linux-androideabi-ar... no
checking for ar... /usr/bin/ar
checking for arm-linux-androideabi-readelf... no
checking for readelf... /usr/bin/readelf
checking for arm-linux-androideabi-strip... no
checking for strip... /usr/bin/strip
checking for arm-linux-androideabi-as... no
checking for as... /usr/bin/as
checking for arm-linux-androideabi-nm... no
checking for nm... /usr/bin/nm
checking for arm-linux-androideabi-objdump... no
checking for objdump... /usr/bin/objdump
checking for arm-linux-androideabi-gcc... no
checking for gcc... /usr/bin/gcc
checking for arm-linux-androideabi-g++... no
checking for g++... /usr/bin/g++
checking for arm-linux-androideabi-gcc... /usr/bin/gcc
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/gcc accepts -g... yes
checking for /usr/bin/gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... /usr/bin/gcc -E
checking for ranlib... /usr/bin/ranlib
checking for ld... /usr/bin/ld
checking for ar... /usr/bin/ar
checking for readelf... /usr/bin/readelf
checking for strip... /usr/bin/strip
checking for as... /usr/bin/as
checking for nm... /usr/bin/nm
checking for objdump... /usr/bin/objdump
checking for gcc... /usr/bin/gcc
checking for g++... /usr/bin/g++
checking for main in -lz... yes
checking for library containing iconv_open... none required
checking for main in -lcrystax... no
configure: error: "/opt/android-ndk is not an NDK directory"

any ideas why ?
Reply
#2
I fixed this by using ndk 10
Reply

Logout Mark Read Team Forum Stats Members Help
Configure Problem - Newbie0