Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
5.1.0
-
Ubuntu 64-bit 12.04; qt from latest stable branch; android sdk installed from http://www.upubuntu.com/2012/07/install-android-sdk-manager-revision-20.html and android NDK installed by untarring android-ndk-r8e-linux-x86_64.tar.bz2 in home directory
Description
./configure -v -developer-build -xplatform android-g++ -android-ndk /home/rutledge/android-ndk-r8e -android-sdk /home/rutledge/android-sdk-linux -android-ndk-host linux-x86_64 -android-toolchain-version 4.7 -platform linux-g++-64 -nomake tests -nomake examples (or with much fewer options, even) Which edition of Qt do you want to use ? Type 'c' if you want to use the Commercial Edition. Type 'o' if you want to use the Open Source Edition. o Precompiled-headers support enabled. /home/rutledge/android-ndk-r8e/toolchains/arm-linux-androideabi-4.7/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ --sysroot=/home/rutledge/android-ndk-r8e/platforms/android-9/arch-arm/ -c -fvisibility=hidden fvisibility.c Symbol visibility control enabled. /home/rutledge/android-ndk-r8e/toolchains/arm-linux-androideabi-4.7/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ --sysroot=/home/rutledge/android-ndk-r8e/platforms/android-9/arch-arm/ -o libtest.so -shared -Wl,-Bsymbolic-functions -fPIC bsymbolic_functions.c Symbolic function binding enabled. This is the Qt Open Source Edition. You are licensed to use this software under the terms of the Lesser GNU General Public License (LGPL) versions 2.1. Type 'L' to view the Lesser GNU General Public License version 2.1. Type 'yes' to accept this license offer. Type 'no' to decline this license offer. Do you accept the terms of the license? yes <srcbase> = /home/rutledge/dev/qt5-android/qtbase <outbase> = /home/rutledge/dev/qt5-android/qtbase Creating qmake... make: Nothing to be done for `first'. Running configuration tests... Warning: Disabling pkg-config since PKG_CONFIG_LIBDIR is not set. Warning: Disabling pkg-config since PKG_CONFIG_SYSROOT_DIR is not set. Determining architecture... () /home/rutledge/android-ndk-r8e/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-g++ -c -Wno-psabi -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -ffunction-sections -funwind-tables -fstack-protector -fno-short-enums -DANDROID -Wa,--noexecstack -std=gnu++0x -g -g -marm -O0 -fno-omit-frame-pointer -Wall -Wno-psabi -W -fPIE -DQT_NO_PRINTDIALOG -I../../mkspecs/android-g++ -I. -I/home/rutledge/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.4.3/include -I/home/rutledge/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.4.3/libs/armeabi-v7a/include -I/home/rutledge/android-ndk-r8e/platforms/android-14/arch-arm/usr/include -o arch.o arch.cpp make: /home/rutledge/android-ndk-r8e/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-g++: Command not found make: *** [arch.o] Error 127 Unable to determine architecture! Could not determine the target architecture! Turn on verbose messaging (-v) to see the final report. Determining architecture... () g++ -c -m64 -pipe -g -Wall -W -fPIE -I../../mkspecs/linux-g++-64 -I. -o arch.o arch.cpp g++ -m64 -o arch arch.o { test -n "" && DESTDIR="" || DESTDIR=.; } && test $(gdb --version | sed -e 's,[^0-9]\+\([0-9]\)\.\([0-9]\).*,\1\2,;q') -gt 72 && gdb --nx --batch --quiet -ex 'set confirm off' -ex "save gdb-index $DESTDIR" -ex quit 'arch' && test -f arch.gdb-index && objcopy --add-section '.gdb_index=arch.gdb-index' --set-section-flags '.gdb_index=readonly' 'arch' 'arch' && rm -f arch.gdb-index || true Found architecture in binary CFG_HOST_ARCH="x86_64" CFG_HOST_CPUFEATURES=" mmx sse sse2" System architecture: 'unknown' Host architecture: 'x86_64' C++11 auto-detection... () sh: 1: /home/rutledge/android-ndk-r8e/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc: not found /home/rutledge/android-ndk-r8e/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-g++ -c -Wno-psabi -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -ffunction-sections -funwind-tables -fstack-protector -fno-short-enums -DANDROID -Wa,--noexecstack -std=gnu++0x -O2 -mthumb -Os -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64 -Wall -Wno-psabi -W -fPIE -DQT_NO_PRINTDIALOG -I../../../mkspecs/android-g++ -I. -I/home/rutledge/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.4.3/include -I/home/rutledge/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.4.3/libs/armeabi-v7a/include -I/home/rutledge/android-ndk-r8e/platforms/android-14/arch-arm/usr/include -o c++11.o c++11.cpp make: /home/rutledge/android-ndk-r8e/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-g++: Command not found make: *** [c++11.o] Error 127 C++11 disabled. floatmath auto-detection... ()