Details
-
Bug
-
Resolution: Unresolved
-
P4: Low
-
None
-
5.3.1, 5.3.2
-
None
-
Windows 8.1 x64, gcc version 4.8.1 (rev5, Built by MinGW-W64 project), Android NDK r10b
Description
Configure options:
configure.bat -developer-build -shared -opensource -platform win32-g++ -xplatform android-g++ -android-sdk C:\Development\Tools\Android\android-sdk -android-ndk C:\Development\Tools\Android\android-ndk-r10b -nomake examples -no-compile-examples -android-toolchain-version 4.8 -android-ndk-platform android-19 -opengl es2
Error:
C:/Development/Tools/Android/android-ndk-r10b/toolchains/arm-linux-androideabi-4.8/prebuilt/windows-x86_64/bin/arm-linux-androideabi-g++ -c -pipe -std=gnu++0x - Os -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64 -mthumb -O3 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wno-psabi -W -D_REENTRANT -fPI C -DQT_NO_XKBCOMMON -DQT_NO_USING_NAMESPACE -DQT_BUILD_CORE_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRING BUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DPCRE_HAVE_CONFIG_H -DQT_CORE_LIB -DQT_NO_DEBUG -I..\..\mkspecs\android-g++ -I. -I..\. .\include -I..\..\include\QtCore -I..\..\include\QtCore\5.3.2 -I..\..\include\QtCore\5.3.2\QtCore -Iglobal -I..\3rdparty\pcre -I..\3rdparty\harfbuzz\src -I..\3r dparty\md5 -I..\3rdparty\md4 -I..\3rdparty\sha3 -I.moc -IC:\Development\Tools\Android\android-ndk-r10b\sources\cxx-stl\gnu-libstdc++\4.8\include -IC:\Developmen t\Tools\Android\android-ndk-r10b\sources\cxx-stl\gnu-libstdc++\4.8\libs\armeabi-v7a-hard\include -IC:\Development\Tools\Android\android-ndk-r10b\platforms\andro id-19\arch-arm\usr\include -IC:\Development\Libs\ICU-53.1\include -IC:\Development\Libs\Boost-1.56\include\boost-1_56 -IC:\Development\Libs\Lapack-3.5.0\include -IC:\Development\Libs\Armadillo-4.400.1\include -IC:\Development\Libs\Gtest-1.7.0\include -IC:\Development\Libs\Sqlite-3.8.6.0\include -IC:\Development\Libs\Qt \5.3.1\include -IC:\Development\Libs\VTK-6.1.0-debug\include -o .obj\qthread_unix.obj thread\qthread_unix.cpp thread\qthread_unix.cpp: In static member function 'static void* QThreadPrivate::start(void*)': thread\qthread_unix.cpp:302:28: error: 'PTHREAD_CANCEL_DISABLE' was not declared in this scope pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, NULL); ^ thread\qthread_unix.cpp:302:56: error: 'pthread_setcancelstate' was not declared in this scope pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, NULL); ^ thread\qthread_unix.cpp:342:28: error: 'PTHREAD_CANCEL_ENABLE' was not declared in this scope pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL); ^ thread\qthread_unix.cpp:343:24: error: 'pthread_testcancel' was not declared in this scope pthread_testcancel(); ^ thread\qthread_unix.cpp: In member function 'void QThread::terminate()': thread\qthread_unix.cpp:655:43: error: 'pthread_cancel' was not declared in this scope int code = pthread_cancel(d->thread_id); ^ thread\qthread_unix.cpp: In static member function 'static void QThread::setTerminationEnabled(bool)': thread\qthread_unix.cpp:693:38: error: 'PTHREAD_CANCEL_ENABLE' was not declared in this scope pthread_setcancelstate(enabled ? PTHREAD_CANCEL_ENABLE : PTHREAD_CANCEL_DISABLE, NULL); ^ thread\qthread_unix.cpp:693:62: error: 'PTHREAD_CANCEL_DISABLE' was not declared in this scope pthread_setcancelstate(enabled ? PTHREAD_CANCEL_ENABLE : PTHREAD_CANCEL_DISABLE, NULL); ^ thread\qthread_unix.cpp:693:90: error: 'pthread_setcancelstate' was not declared in this scope pthread_setcancelstate(enabled ? PTHREAD_CANCEL_ENABLE : PTHREAD_CANCEL_DISABLE, NULL); ^ thread\qthread_unix.cpp:695:28: error: 'pthread_testcancel' was not declared in this scope pthread_testcancel(); ^ Makefile:38768: recipe for target '.obj\qthread_unix.obj' failed mingw32-make[3]: *** [.obj\qthread_unix.obj] Error 1 mingw32-make[3]: Leaving directory 'D:/qt5/qtbase/src/corelib' Makefile:133: recipe for target 'sub-corelib-make_first' failed mingw32-make[2]: *** [sub-corelib-make_first] Error 2 mingw32-make[2]: Leaving directory 'D:/qt5/qtbase/src' Makefile:41: recipe for target 'sub-src-make_first' failed mingw32-make[1]: *** [sub-src-make_first] Error 2 mingw32-make[1]: Leaving directory 'D:/qt5/qtbase' Makefile:64: recipe for target 'module-qtbase-make_first' failed mingw32-make: *** [module-qtbase-make_first] Error 2