Unsolved How to build MySQL driver for Android?
-
ok i think i have to set the -xplatform android-g++ option.
if i try this i will answer...update:
i run the configure command in the ms prompt and there it should work...
have i then do additional things? or can i run in the same directory as configure is the make command and thats it? get i then a new .so file for the arch-armv7 folder? -
ok i try another few things but still an error. It´s maybe possible to take a workable libqsqlmysql.so from an other user for my qt 5.7 ?
I have only found a version for qt 5.3.2 and i´m thinking about to downgrade qt if i don´t get another solution... -
What error are you getting? The problem here is that you need a libqsqlmysql.so for Android. You're not likely to find any other out there. Here are all the flags I use when compiling Qt 5.8.0 on MSYS2:
configure -platform win32-g++ -xplatform android-g++ -prefix C:/Qt/5.8.0/android -no-icu -no-sql-sqlite -plugin-sql-mysql -I D:/src/mysql-bin/android/include -L D:/src/mysql-bin/android/lib/ -openssl -I D:/src/openssl-bin/android/include -android-ndk C:/android/ndk -android-sdk C:/android/sdk -opensource -confirm-license -nomake examples -no-compile-examples -nomake tests -skip qttranslations -skip qtserialport -skip qtwebkit-examples -v -opengl -egl -no-use-gold-linker -shared
-
the error from beginnig with the configure command on the win prompt:
C:\Qt\5.7\Src\qtbase\src\plugins\sqldrivers\mysql>cd c:/qt/5.7/src c:\Qt\5.7\Src>configure -platform win32-g++ -xplatform android-g++ -prefix C:/Qt/5.7/android -no-icu -no-sql-sqlite -plugin-sql-mysql -I C:\temp\include -L C:\temp\lib\ -openssl -I C:\tools\openssl-1.0.1e\openssl-1.0.1e\include -android-ndk C:\tools\android-ndk-r10b -android-sdk C:\androidsdk -opensource -confirm-license -nomake examples -no-compile-examples -nomake tests -skip qttranslations -skip qtserialport -skip qtwebkit-examples -v -opengl -egl -no-use-gold-linker -shared + cd qtbase + c:\Qt\5.7\Src\qtbase\configure.bat -top-level -platform win32-g++ -xplatform android-g++ -prefix C:/Qt/5.7/android -no-icu -no-sql-sqlite -plugin-sql-mysql -I C:\temp\include -L C:\temp\lib\ -openssl -I C:\tools\openssl-1.0.1e\openssl-1.0.1e\include -android-ndk C:\tools\android-ndk-r10b -android-sdk C:\androidsdk -opensource -confirm-license -nomake examples -no-compile-examples -nomake tests -skip qttranslations -skip qtserialport -skip qtwebkit-examples -v -opengl -egl -no-use-gold-linker -shared Attempting to skip non-existent module qtwebkit-examples. Argument passed to -opengl option is not valid. c:\Qt\5.7\Src>configure -platform win32-g++ -xplatform android-g++ -prefix C:/Qt/5.7/android -no-icu -no-sql-sqlite -plugin-sql-mysql -I C:\temp\include -L C:\temp\lib\ -openssl -I C:\tools\openssl-1.0.1e\openssl-1.0.1e\include -android-ndk C:\tools\android-ndk-r10b -android-sdk C:\androidsdk -opensource -confirm-license -nomake examples -no-compile-examples -nomake tests -skip qttranslations -skip qtserialport -skip qtwebkit-examples -v -egl -no-use-gold-linker -shared + cd qtbase + c:\Qt\5.7\Src\qtbase\configure.bat -top-level -platform win32-g++ -xplatform android-g++ -prefix C:/Qt/5.7/android -no-icu -no-sql-sqlite -plugin-sql-mysql -I C:\temp\include -L C:\temp\lib\ -openssl -I C:\tools\openssl-1.0.1e\openssl-1.0.1e\include -android-ndk C:\tools\android-ndk-r10b -android-sdk C:\androidsdk -opensource -confirm-license -nomake examples -no-compile-examples -nomake tests -skip qttranslations -skip qtserialport -skip qtwebkit-examples -v -egl -no-use-gold-linker -shared Attempting to skip non-existent module qtwebkit-examples. Unknown option -egl c:\Qt\5.7\Src>configure -platform win32-g++ -xplatform android-g++ -prefix C:/Qt/5.7/android -no-icu -no-sql-sqlite -plugin-sql-mysql -I C:\temp\include -L C:\temp\lib\ -openssl -I C:\tools\openssl-1.0.1e\openssl-1.0.1e\include -android-ndk C:\tools\android-ndk-r10b -android-sdk C:\androidsdk -opensource -confirm-license -nomake examples -no-compile-examples -nomake tests -skip qttranslations -skip qtserialport -skip qtwebkit-examples -v -no-use-gold-linker -shared + cd qtbase + c:\Qt\5.7\Src\qtbase\configure.bat -top-level -platform win32-g++ -xplatform android-g++ -prefix C:/Qt/5.7/android -no-icu -no-sql-sqlite -plugin-sql-mysql -I C:\temp\include -L C:\temp\lib\ -openssl -I C:\tools\openssl-1.0.1e\openssl-1.0.1e\include -android-ndk C:\tools\android-ndk-r10b -android-sdk C:\androidsdk -opensource -confirm-license -nomake examples -no-compile-examples -nomake tests -skip qttranslations -skip qtserialport -skip qtwebkit-examples -v -no-use-gold-linker -shared Attempting to skip non-existent module qtwebkit-examples. c:\Qt\5.7\Src>configure -platform win32-g++ -xplatform android-g++ -prefix C:/Qt/5.7/android -no-icu -no-sql-sqlite -plugin-sql-mysql -I C:\temp\include -L C:\temp\lib\ -openssl -I C:\tools\openssl-1.0.1e\openssl-1.0.1e\include -android-ndk C:\tools\android-ndk-r10b -android-sdk C:\androidsdk -opensource -confirm-license -nomake examples -no-compile-examples -nomake tests -skip qttranslations -skip qtserialport -v -no-use-gold-linker -shared + cd qtbase + c:\Qt\5.7\Src\qtbase\configure.bat -top-level -platform win32-g++ -xplatform android-g++ -prefix C:/Qt/5.7/android -no-icu -no-sql-sqlite -plugin-sql-mysql -I C:\temp\include -L C:\temp\lib\ -openssl -I C:\tools\openssl-1.0.1e\openssl-1.0.1e\include -android-ndk C:\tools\android-ndk-r10b -android-sdk C:\androidsdk -opensource -confirm-license -nomake examples -no-compile-examples -nomake tests -skip qttranslations -skip qtserialport -v -no-use-gold-linker -shared This is the Qt for Android Open Source Edition. You have already accepted the terms of the license. Creating qmake... g++ -c -o qlibraryinfo.o -std=c++11 -DUNICODE -ffunction-sections -g -IC:\Qt\5.7\Src\qtbase/qmake -IC:\Qt\5.7\Src\qtbase/qmake/library -IC:\Qt\5.7\Src\qtbase/qmake/generators -IC:\Qt\5.7\Src\qtbase/qmake/generators/unix -IC:\Qt\5.7\Src\qtbase/qmake/generators/win32 -IC:\Qt\5.7\Src\qtbase/qmake/generators/mac -IC:\Qt\5.7\Src\qtbase/qmake/generators/integrity -IC:\Qt\5.7\Src\qtbase\include -IC:\Qt\5.7\Src\qtbase\include/QtCore -IC:\Qt\5.7\Src\qtbase\include/QtCore/5.7.1 -IC:\Qt\5.7\Src\qtbase\include/QtCore/5.7.1/QtCore -I../src/corelib/global -DHAVE_QCONFIG_CPP -IC:\Qt\5.7\Src\qtbase\mkspecs\win32-g++ -IC:\Qt\5.7\Src\qtbase/tools/shared -DQT_VERSION_STR=\"5.7.1\" -DQT_VERSION_MAJOR=5 -DQT_VERSION_MINOR=7 -DQT_VERSION_PATCH=1 -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DPROEVALUATOR_FULL -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_COMPRESS -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM -DQT_NO_FOREACH -DQT_CRYPTOGRAPHICHASH_ONLY_SHA1 -DQT_JSON_READONLY -DQT_NO_STANDARDPATHS C:\Qt\5.7\Src\qtbase/src/corelib/global/qlibraryinfo.cpp g++ -o "../bin/qmake.exe" project.o option.o property.o main.o ioutils.o proitems.o qmakevfs.o qmakeglobals.o qmakeparser.o qmakeevaluator.o qmakebuiltins.o makefile.o unixmake2.o unixmake.o mingw_make.o winmakefile.o projectgenerator.o meta.o makefiledeps.o metamakefile.o xmloutput.o pbuilder_pbx.o msvc_vcproj.o msvc_vcxproj.o msvc_nmake.o msvc_objectmodel.o msbuild_objectmodel.o cesdkhandler.o qtextcodec.o qutfcodec.o qstring.o qstring_compat.o qstringbuilder.o qtextstream.o qiodevice.o qringbuffer.o qdebug.o qmalloc.o qglobal.o qarraydata.o qbytearray.o qbytearraymatcher.o qdatastream.o qbuffer.o qlist.o qfiledevice.o qfile.o qfilesystementry.o qfilesystemengine.o qfsfileengine.o qfsfileengine_iterator.o qregexp.o qvector.o qbitarray.o qdir.o qdiriterator.o quuid.o qhash.o qfileinfo.o qdatetime.o qstringlist.o qabstractfileengine.o qtemporaryfile.o qmap.o qmetatype.o qsettings.o qsystemerror.o qlibraryinfo.o qvariant.o qvsnprintf.o qlocale.o qlocale_tools.o qlinkedlist.o qnumeric.o qcryptographichash.o qxmlstream.o qxmlutils.o qlogging.o qjson.o qjsondocument.o qjsonparser.o qjsonarray.o qjsonobject.o qjsonvalue.o qfilesystemengine_win.o qfilesystemiterator_win.o qfsfileengine_win.o qlocale_win.o qsettings_win.o qsystemlibrary.o registry.o -static -s -lole32 -luuid -ladvapi32 -lkernel32 Running configuration tests... Das System kann den angegebenen Pfad nicht finden. process_begin: CreateProcess(NULL, C:/tools/android-ndk-r10b/toolchains/arm-linux-androideabi-4.9/prebuilt/windows/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=C:/tools/android-ndk-r10b/platforms/android-9/arch-arm/ -g -g -marm -O0 -std=gnu++11 -Wall -W -fPIC -I. -IC:/tools/android-ndk-r10b/sources/cxx-stl/gnu-libstdc++/4.9/include -IC:/tools/android-ndk-r10b/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -IC:\tools\android-ndk-r10b\platforms\android-9\arch-arm\usr\include -IC:\Qt\5.7\Src\qtbase\mkspecs\android-g++ -o arch.obj arch.cpp, ...) failed. make (e=2): Das System kann die angegebene Datei nicht finden. mingw32-make: *** [arch.obj] Error 2 Could not find output file 'libarch.so' or 'arch' in C:/Qt/5.7/Src/qtbase/config.tests/arch : No such file or directory ..\..\..\bin\qmake.exe C:\Qt\5.7\Src\qtbase\config.tests\common\c++14 Das System kann den angegebenen Pfad nicht finden. mingw32-make process_begin: CreateProcess(NULL, C:/tools/android-ndk-r10b/toolchains/arm-linux-androideabi-4.9/prebuilt/windows/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=C:/tools/android-ndk-r10b/platforms/android-9/arch-arm/ -g -g -marm -O0 -std=gnu++14 -Wall -W -fPIC -I. -IC:/tools/android-ndk-r10b/sources/cxx-stl/gnu-libstdc++/4.9/include -IC:/tools/android-ndk-r10b/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -IC:\tools\android-ndk-r10b\platforms\android-9\arch-arm\usr\include -IC:\Qt\5.7\Src\qtbase\mkspecs\android-g++ -o c++14.obj c++14.cpp, ...) failed. make (e=2): Das System kann die angegebene Datei nicht finden. mingw32-make: *** [c++14.obj] Error 2 ..\..\..\bin\qmake.exe C:\Qt\5.7\Src\qtbase\config.tests\common\c++default Das System kann den angegebenen Pfad nicht finden. mingw32-make ..\..\..\bin\qmake.exe C:\Qt\5.7\Src\qtbase\config.tests\common\atomic64 Das System kann den angegebenen Pfad nicht finden. mingw32-make process_begin: CreateProcess(NULL, C:/tools/android-ndk-r10b/toolchains/arm-linux-androideabi-4.9/prebuilt/windows/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=C:/tools/android-ndk-r10b/platforms/android-9/arch-arm/ -g -g -marm -O0 -std=gnu++11 -Wall -W -fPIC -I. -IC:/tools/android-ndk-r10b/sources/cxx-stl/gnu-libstdc++/4.9/include -IC:/tools/android-ndk-r10b/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -IC:\tools\android-ndk-r10b\platforms\android-9\arch-arm\usr\include -IC:\Qt\5.7\Src\qtbase\mkspecs\android-g++ -o atomic64.obj atomic64.cpp, ...) failed. make (e=2): Das System kann die angegebene Datei nicht finden. mingw32-make: *** [atomic64.obj] Error 2 ..\..\..\bin\qmake.exe C:\Qt\5.7\Src\qtbase\config.tests\common\atomic64 LIBS+=-latomic Das System kann den angegebenen Pfad nicht finden. mingw32-make process_begin: CreateProcess(NULL, C:/tools/android-ndk-r10b/toolchains/arm-linux-androideabi-4.9/prebuilt/windows/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=C:/tools/android-ndk-r10b/platforms/android-9/arch-arm/ -g -g -marm -O0 -std=gnu++11 -Wall -W -fPIC -I. -IC:/tools/android-ndk-r10b/sources/cxx-stl/gnu-libstdc++/4.9/include -IC:/tools/android-ndk-r10b/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -IC:\tools\android-ndk-r10b\platforms\android-9\arch-arm\usr\include -IC:\Qt\5.7\Src\qtbase\mkspecs\android-g++ -o atomic64.obj atomic64.cpp, ...) failed. make (e=2): Das System kann die angegebene Datei nicht finden. mingw32-make: *** [atomic64.obj] Error 2 ..\..\..\bin\qmake.exe C:\Qt\5.7\Src\qtbase\config.tests\common\atomicfptr Das System kann den angegebenen Pfad nicht finden. mingw32-make process_begin: CreateProcess(NULL, C:/tools/android-ndk-r10b/toolchains/arm-linux-androideabi-4.9/prebuilt/windows/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=C:/tools/android-ndk-r10b/platforms/android-9/arch-arm/ -g -g -marm -O0 -std=gnu++11 -Wall -W -fPIC -I. -IC:/tools/android-ndk-r10b/sources/cxx-stl/gnu-libstdc++/4.9/include -IC:/tools/android-ndk-r10b/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -IC:\tools\android-ndk-r10b\platforms\android-9\arch-arm\usr\include -IC:\Qt\5.7\Src\qtbase\mkspecs\android-g++ -o atomicfptr.obj atomicfptr.cpp, ...) failed. make (e=2): Das System kann die angegebene Datei nicht finden. mingw32-make: *** [atomicfptr.obj] Error 2 ERROR: detected an std::atomic implementation that fails for function pointers. Please apply the patch corresponding to your Standard Library vendor, found in C:/Qt/5.7/Src/qtbase/config.tests/common/atomicfptr c:\Qt\5.7\Src>make cd qtbase\ && ( if not exist Makefile C:\Qt\5.7\mingw53_32\bin\qmake.exe C:\Qt\5.7\Src\qtbase\qtbase.pro -o Makefile ) && make -f Makefile make[1]: Entering directory 'c:/Qt/5.7/Src/qtbase' C:\Qt\5.7\Src\qtbase\bin\qmake -o Makefile qtbase.pro Das System kann den angegebenen Pfad nicht finden. cd src\ && ( if not exist Makefile C:\Qt\5.7\Src\qtbase\bin\qmake C:\Qt\5.7\Src\qtbase\src\src.pro -o Makefile ) && make -f Makefile make[2]: Entering directory 'c:/Qt/5.7/Src/qtbase/src' C:\Qt\5.7\Src\qtbase\bin\qmake -o Makefile src.pro Das System kann den angegebenen Pfad nicht finden. cd tools\bootstrap\ && ( if not exist Makefile C:\Qt\5.7\Src\qtbase\bin\qmake C:\Qt\5.7\Src\qtbase\src\tools\bootstrap\bootstrap.pro -o Makefile ) && make -f Makefile make[3]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/tools/bootstrap' make -f Makefile.Debug make[4]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/tools/bootstrap' make[4]: Nothing to be done for 'first'. make[4]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src/tools/bootstrap' make[3]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src/tools/bootstrap' cd tools\moc\ && ( if not exist Makefile C:\Qt\5.7\Src\qtbase\bin\qmake C:\Qt\5.7\Src\qtbase\src\tools\moc\moc.pro -o Makefile ) && make -f Makefile make[3]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/tools/moc' make -f Makefile.Debug make[4]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/tools/moc' make[4]: Nothing to be done for 'first'. make[4]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src/tools/moc' make[3]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src/tools/moc' cd tools\rcc\ && ( if not exist Makefile C:\Qt\5.7\Src\qtbase\bin\qmake C:\Qt\5.7\Src\qtbase\src\tools\rcc\rcc.pro -o Makefile ) && make -f Makefile make[3]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/tools/rcc' make -f Makefile.Debug make[4]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/tools/rcc' make[4]: Nothing to be done for 'first'. make[4]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src/tools/rcc' make[3]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src/tools/rcc' cd 3rdparty\pcre\ && ( if not exist Makefile C:\Qt\5.7\Src\qtbase\bin\qmake C:\Qt\5.7\Src\qtbase\src\3rdparty\pcre\pcre.pro -o Makefile ) && make -f Makefile make[3]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/3rdparty/pcre' C:\Qt\5.7\Src\qtbase\bin\qmake -o Makefile pcre.pro Das System kann den angegebenen Pfad nicht finden. make -f Makefile.Debug all make[4]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/3rdparty/pcre' C:/tools/android-ndk-r10b/toolchains/arm-linux-androideabi-4.9/prebuilt/windows/bin/arm-linux-androideabi-gcc -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=C:/tools/android-ndk-r10b/platforms/android-9/arch-arm/ -g -marm -O0 -fPIC -fno-exceptions -fvisibility=hidden -DHAVE_CONFIG_H -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I. -Ic:\temp\include -IC:/tools/android-ndk-r10b/sources/cxx-stl/gnu-libstdc++/4.9/include -IC:/tools/android-ndk-r10b/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -IC:\tools\android-ndk-r10b\platforms\android-9\arch-arm\usr\include -I..\..\..\mkspecs\android-g++ -o .obj\debug\pcre16_byte_order.obj pcre16_byte_order.c process_begin: CreateProcess(NULL, C:/tools/android-ndk-r10b/toolchains/arm-linux-androideabi-4.9/prebuilt/windows/bin/arm-linux-androideabi-gcc -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=C:/tools/android-ndk-r10b/platforms/android-9/arch-arm/ -g -marm -O0 -fPIC -fno-exceptions -fvisibility=hidden -DHAVE_CONFIG_H -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I. -Ic:\temp\include -IC:/tools/android-ndk-r10b/sources/cxx-stl/gnu-libstdc++/4.9/include -IC:/tools/android-ndk-r10b/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -IC:\tools\android-ndk-r10b\platforms\android-9\arch-arm\usr\include -I..\..\..\mkspecs\android-g++ -o .obj\debug\pcre16_byte_order.obj pcre16_byte_order.c, ...) failed. make (e=2): Das System kann die angegebene Datei nicht finden. Makefile.Debug:298: recipe for target '.obj\debug\pcre16_byte_order.obj' failed make[4]: *** [.obj\debug\pcre16_byte_order.obj] Error 2 make[4]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src/3rdparty/pcre' Makefile:42: recipe for target 'debug-all' failed make[3]: *** [debug-all] Error 2 make[3]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src/3rdparty/pcre' Makefile:143: recipe for target 'sub-3rdparty-pcre-make_first' failed make[2]: *** [sub-3rdparty-pcre-make_first] Error 2 make[2]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src' Makefile:46: recipe for target 'sub-src-make_first' failed make[1]: *** [sub-src-make_first] Error 2 make[1]: Leaving directory 'c:/Qt/5.7/Src/qtbase' Makefile:74: recipe for target 'module-qtbase-make_first' failed make: *** [module-qtbase-make_first] Error 2 c:\Qt\5.7\Src>make install cd qtbase\ && ( if not exist Makefile C:\Qt\5.7\mingw53_32\bin\qmake.exe C:\Qt\5.7\Src\qtbase\qtbase.pro -o Makefile ) && make -f Makefile install make[1]: Entering directory 'c:/Qt/5.7/Src/qtbase' cd src\ && ( if not exist Makefile C:\Qt\5.7\Src\qtbase\bin\qmake C:\Qt\5.7\Src\qtbase\src\src.pro -o Makefile ) && make -f Makefile install make[2]: Entering directory 'c:/Qt/5.7/Src/qtbase/src' cd tools\bootstrap\ && ( if not exist Makefile C:\Qt\5.7\Src\qtbase\bin\qmake C:\Qt\5.7\Src\qtbase\src\tools\bootstrap\bootstrap.pro -o Makefile ) && make -f Makefile install make[3]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/tools/bootstrap' make -f Makefile.Debug install make[4]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/tools/bootstrap' make[4]: Nothing to be done for 'install'. make[4]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src/tools/bootstrap' make[3]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src/tools/bootstrap' cd tools\moc\ && ( if not exist Makefile C:\Qt\5.7\Src\qtbase\bin\qmake C:\Qt\5.7\Src\qtbase\src\tools\moc\moc.pro -o Makefile ) && make -f Makefile install make[3]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/tools/moc' make -f Makefile.Debug install make[4]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/tools/moc' make[4]: Nothing to be done for 'install'. make[4]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src/tools/moc' make[3]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src/tools/moc' cd tools\rcc\ && ( if not exist Makefile C:\Qt\5.7\Src\qtbase\bin\qmake C:\Qt\5.7\Src\qtbase\src\tools\rcc\rcc.pro -o Makefile ) && make -f Makefile install make[3]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/tools/rcc' make -f Makefile.Debug install make[4]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/tools/rcc' make[4]: Nothing to be done for 'install'. make[4]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src/tools/rcc' make[3]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src/tools/rcc' cd 3rdparty\pcre\ && ( if not exist Makefile C:\Qt\5.7\Src\qtbase\bin\qmake C:\Qt\5.7\Src\qtbase\src\3rdparty\pcre\pcre.pro -o Makefile ) && make -f Makefile install make[3]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/3rdparty/pcre' make -f Makefile.Debug install make[4]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/3rdparty/pcre' make[4]: Nothing to be done for 'install'. make[4]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src/3rdparty/pcre' make -f Makefile.Release install make[4]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/3rdparty/pcre' make[4]: Nothing to be done for 'install'. make[4]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src/3rdparty/pcre' make[3]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src/3rdparty/pcre' cd corelib\ && ( if not exist Makefile C:\Qt\5.7\Src\qtbase\bin\qmake C:\Qt\5.7\Src\qtbase\src\corelib\corelib.pro -o Makefile ) && make -f Makefile install make[3]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/corelib' C:\Qt\5.7\Src\qtbase\bin\qmake -o Makefile corelib.pro Das System kann den angegebenen Pfad nicht finden. Der Befehl "LC_ALL" ist entweder falsch geschrieben oder konnte nicht gefunden werden. Das System kann den angegebenen Pfad nicht finden. C:/tools/android-ndk-r10b/toolchains/arm-linux-androideabi-4.9/prebuilt/windows/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=C:/tools/android-ndk-r10b/platforms/android-9/arch-arm/ -msse2 -mfpmath=sse -g -g -marm -O0 -std=c++1z -Wall -W -Wvla -Wdate-time -D_REENTRANT -fPIC -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DELF_INTERPRETER=\"\" -DQT_BUILD_CORE_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I. -Iglobal -I..\3rdparty\pcre -I..\3rdparty\harfbuzz\src -I..\3rdparty\md5 -I..\3rdparty\md4 -I..\3rdparty\sha3 -I..\3rdparty\double-conversion\include -I..\3rdparty\double-conversion\include\double-conversion -I..\3rdparty\forkfd -I..\..\include -I..\..\include\QtCore -I..\..\include\QtCore\5.7.1 -I..\..\include\QtCore\5.7.1\QtCore -I.moc -Ic:\temp\include -IC:/tools/android-ndk-r10b/sources/cxx-stl/gnu-libstdc++/4.9/include -IC:/tools/android-ndk-r10b/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -IC:\tools\android-ndk-r10b\platforms\android-9\arch-arm\usr\include -I..\..\mkspecs\android-g++ tools\qstring_compat.cpp -o .obj\qstring_compat.obj process_begin: CreateProcess(NULL, C:/tools/android-ndk-r10b/toolchains/arm-linux-androideabi-4.9/prebuilt/windows/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=C:/tools/android-ndk-r10b/platforms/android-9/arch-arm/ -msse2 -mfpmath=sse -g -g -marm -O0 -std=c++1z -Wall -W -Wvla -Wdate-time -D_REENTRANT -fPIC -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DELF_INTERPRETER=\"\" -DQT_BUILD_CORE_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I. -Iglobal -I..\3rdparty\pcre -I..\3rdparty\harfbuzz\src -I..\3rdparty\md5 -I..\3rdparty\md4 -I..\3rdparty\sha3 -I..\3rdparty\double-conversion\include -I..\3rdparty\double-conversion\include\double-conversion -I..\3rdparty\forkfd -I..\..\include -I..\..\include\QtCore -I..\..\include\QtCore\5.7.1 -I..\..\include\QtCore\5.7.1\QtCore -I.moc -Ic:\temp\include -IC:/tools/android-ndk-r10b/sources/cxx-stl/gnu-libstdc++/4.9/include -IC:/tools/android-ndk-r10b/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -IC:\tools\android-ndk-r10b\platforms\android-9\arch-arm\usr\include -I..\..\mkspecs\android-g++ tools\qstring_compat.cpp -o .obj\qstring_compat.obj, ...) failed. make (e=2): Das System kann die angegebene Datei nicht finden. Makefile:10712: recipe for target '.obj\qstring_compat.obj' failed make[3]: *** [.obj\qstring_compat.obj] Error 2 make[3]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src/corelib' Makefile:182: recipe for target 'sub-corelib-install_subtargets' failed make[2]: *** [sub-corelib-install_subtargets] Error 2 make[2]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src' Makefile:58: recipe for target 'sub-src-install_subtargets' failed make[1]: *** [sub-src-install_subtargets] Error 2 make[1]: Leaving directory 'c:/Qt/5.7/Src/qtbase' Makefile:86: recipe for target 'module-qtbase-install_subtargets' failed make: *** [module-qtbase-install_subtargets] Error 2
thats only one of few tries
-
Some of these errors are shown because of the "-v" flag. It's the verbose mode. It shows all tests that are made to check which features are available or not. You can remove it, if you want.
Based on the errors, I suppose you're using MinGW, which is somewhat limited. You should try MinGW-w64 (https://mingw-w64.org).
You should also clean your build directory before trying again.
make clean
In fact, you'd better not build it in the source directory. Make a "c:\Qt\5.7\build" directory and call the configuration script from there.
c:\Qt\5.7\build>..\src\configure ......
-
ok i try and install mingw w64 but still errors:
Microsoft Windows [Version 10.0.16299.192] (c) 2017 Microsoft Corporation. Alle Rechte vorbehalten. C:\Users\Allerknappe>make --version GNU Make 4.0 Built for x86_64-w64-mingw32 Copyright (C) 1988-2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. C:\Users\Allerknappe>cd c:/qt/5.7/src c:\Qt\5.7\Src>make clean cd qtbase\ && ( if not exist Makefile C:\Qt\5.7\mingw53_32\bin\qmake.exe C:\Qt\5.7\Src\qtbase\qtbase.pro -o Makefile ) && make -f Makefile clean make[1]: Entering directory 'c:/Qt/5.7/Src/qtbase' cd src\ && ( if not exist Makefile C:\Qt\5.7\Src\qtbase\bin\qmake C:\Qt\5.7\Src\qtbase\src\src.pro -o Makefile ) && make -f Makefile clean make[2]: Entering directory 'c:/Qt/5.7/Src/qtbase/src' cd tools\bootstrap\ && ( if not exist Makefile C:\Qt\5.7\Src\qtbase\bin\qmake C:\Qt\5.7\Src\qtbase\src\tools\bootstrap\bootstrap.pro -o Makefile ) && make -f Makefile clean make[3]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/tools/bootstrap' make -f Makefile.Debug clean make[4]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/tools/bootstrap' del .obj\debug\qlatincodec.o .obj\debug\qtextcodec.o .obj\debug\qutfcodec.o .obj\debug\qglobal.o .obj\debug\qlogging.o .obj\debug\qmalloc.o .obj\debug\qnumeric.o .obj\debug\qabstractfileengine.o .obj\debug\qbuffer.o .obj\debug\qdatastream.o .obj\debug\qdebug.o .obj\debug\qdir.o .obj\debug\qdiriterator.o .obj\debug\qfile.o .obj\debug\qfileinfo.o .obj\debug\qfilesystementry.o .obj\debug\qfilesystemengine.o .obj\debug\qfsfileengine.o .obj\debug\qfsfileengine_iterator.o .obj\debug\qiodevice.o .obj\debug\qfiledevice.o .obj\debug\qresource.o .obj\debug\qtemporaryfile.o .obj\debug\qtextstream.o .obj\debug\qstandardpaths.o .obj\debug\qloggingcategory.o .obj\debug\qloggingregistry.o .obj\debug\qcoreapplication.o .obj\debug\qcoreglobaldata.o .obj\debug\qmetatype.o .obj\debug\qvariant.o .obj\debug\qsystemerror.o .obj\debug\quuid.o .obj\debug\qbitarray.o .obj\debug\qbytearray.o .obj\debug\qarraydata.o .obj\debug\qbytearraymatcher.o .obj\debug\qcommandlineparser.o .obj\debug\qcommandlineoption.o .obj\debug\qcryptographichash.o .obj\debug\qdatetime.o .obj\debug\qhash.o .obj\debug\qlist.o .obj\debug\qlinkedlist.o .obj\debug\qlocale.o .obj\debug\qlocale_tools.o .obj\debug\qmap.o .obj\debug\qregexp.o .obj\debug\qringbuffer.o .obj\debug\qpoint.o .obj\debug\qrect.o .obj\debug\qsize.o .obj\debug\qline.o .obj\debug\qstring.o .obj\debug\qstringbuilder.o .obj\debug\qstring_compat.o .obj\debug\qstringlist.o .obj\debug\qvector.o .obj\debug\qvsnprintf.o .obj\debug\qxmlutils.o .obj\debug\qxmlstream.o .obj\debug\qjson.o .obj\debug\qjsondocument.o .obj\debug\qjsonobject.o .obj\debug\qjsonarray.o .obj\debug\qjsonvalue.o .obj\debug\qjsonparser.o .obj\debug\qjsonwriter.o .obj\debug\qdom.o .obj\debug\qxml.o .obj\debug\qfilesystemengine_win.o .obj\debug\qfilesystemiterator_win.o .obj\debug\qfsfileengine_win.o .obj\debug\qcoreapplication_win.o .obj\debug\qsystemlibrary.o .obj\debug\qstandardpaths_win.o c:\Qt\5.7\Src\qtbase\src\tools\bootstrap\.obj\debug\qlatincodec.o konnte nicht gefunden werden make[4]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src/tools/bootstrap' make -f Makefile.Release clean make[4]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/tools/bootstrap' del .obj\release\qlatincodec.o .obj\release\qtextcodec.o .obj\release\qutfcodec.o .obj\release\qglobal.o .obj\release\qlogging.o .obj\release\qmalloc.o .obj\release\qnumeric.o .obj\release\qabstractfileengine.o .obj\release\qbuffer.o .obj\release\qdatastream.o .obj\release\qdebug.o .obj\release\qdir.o .obj\release\qdiriterator.o .obj\release\qfile.o .obj\release\qfileinfo.o .obj\release\qfilesystementry.o .obj\release\qfilesystemengine.o .obj\release\qfsfileengine.o .obj\release\qfsfileengine_iterator.o .obj\release\qiodevice.o .obj\release\qfiledevice.o .obj\release\qresource.o .obj\release\qtemporaryfile.o .obj\release\qtextstream.o .obj\release\qstandardpaths.o .obj\release\qloggingcategory.o .obj\release\qloggingregistry.o .obj\release\qcoreapplication.o .obj\release\qcoreglobaldata.o .obj\release\qmetatype.o .obj\release\qvariant.o .obj\release\qsystemerror.o .obj\release\quuid.o .obj\release\qbitarray.o .obj\release\qbytearray.o .obj\release\qarraydata.o .obj\release\qbytearraymatcher.o .obj\release\qcommandlineparser.o .obj\release\qcommandlineoption.o .obj\release\qcryptographichash.o .obj\release\qdatetime.o .obj\release\qhash.o .obj\release\qlist.o .obj\release\qlinkedlist.o .obj\release\qlocale.o .obj\release\qlocale_tools.o .obj\release\qmap.o .obj\release\qregexp.o .obj\release\qringbuffer.o .obj\release\qpoint.o .obj\release\qrect.o .obj\release\qsize.o .obj\release\qline.o .obj\release\qstring.o .obj\release\qstringbuilder.o .obj\release\qstring_compat.o .obj\release\qstringlist.o .obj\release\qvector.o .obj\release\qvsnprintf.o .obj\release\qxmlutils.o .obj\release\qxmlstream.o .obj\release\qjson.o .obj\release\qjsondocument.o .obj\release\qjsonobject.o .obj\release\qjsonarray.o .obj\release\qjsonvalue.o .obj\release\qjsonparser.o .obj\release\qjsonwriter.o .obj\release\qdom.o .obj\release\qxml.o .obj\release\qfilesystemengine_win.o .obj\release\qfilesystemiterator_win.o .obj\release\qfsfileengine_win.o .obj\release\qcoreapplication_win.o .obj\release\qsystemlibrary.o c:\Qt\5.7\Src\qtbase\src\tools\bootstrap\.obj\release\qlatincodec.o konnte nicht gefunden werden del .obj\release\qstandardpaths_win.o c:\Qt\5.7\Src\qtbase\src\tools\bootstrap\.obj\release\qstandardpaths_win.o konnte nicht gefunden werden make[4]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src/tools/bootstrap' make[3]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src/tools/bootstrap' cd tools\moc\ && ( if not exist Makefile C:\Qt\5.7\Src\qtbase\bin\qmake C:\Qt\5.7\Src\qtbase\src\tools\moc\moc.pro -o Makefile ) && make -f Makefile clean make[3]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/tools/moc' make -f Makefile.Debug clean make[4]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/tools/moc' del .obj\debug\moc.o .obj\debug\preprocessor.o .obj\debug\generator.o .obj\debug\parser.o .obj\debug\token.o .obj\debug\main.o c:\Qt\5.7\Src\qtbase\src\tools\moc\.obj\debug\moc.o konnte nicht gefunden werden make[4]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src/tools/moc' make -f Makefile.Release clean make[4]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/tools/moc' del .obj\release\moc.o .obj\release\preprocessor.o .obj\release\generator.o .obj\release\parser.o .obj\release\token.o .obj\release\main.o c:\Qt\5.7\Src\qtbase\src\tools\moc\.obj\release\moc.o konnte nicht gefunden werden make[4]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src/tools/moc' make[3]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src/tools/moc' cd tools\rcc\ && ( if not exist Makefile C:\Qt\5.7\Src\qtbase\bin\qmake C:\Qt\5.7\Src\qtbase\src\tools\rcc\rcc.pro -o Makefile ) && make -f Makefile clean make[3]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/tools/rcc' make -f Makefile.Debug clean make[4]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/tools/rcc' del .obj\debug\rcc.o .obj\debug\main.o c:\Qt\5.7\Src\qtbase\src\tools\rcc\.obj\debug\rcc.o konnte nicht gefunden werden make[4]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src/tools/rcc' make -f Makefile.Release clean make[4]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/tools/rcc' del .obj\release\rcc.o .obj\release\main.o c:\Qt\5.7\Src\qtbase\src\tools\rcc\.obj\release\rcc.o konnte nicht gefunden werden make[4]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src/tools/rcc' make[3]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src/tools/rcc' cd 3rdparty\pcre\ && ( if not exist Makefile C:\Qt\5.7\Src\qtbase\bin\qmake C:\Qt\5.7\Src\qtbase\src\3rdparty\pcre\pcre.pro -o Makefile ) && make -f Makefile clean make[3]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/3rdparty/pcre' make -f Makefile.Debug clean make[4]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/3rdparty/pcre' del .obj\debug\pcre16_byte_order.obj .obj\debug\pcre16_chartables.obj .obj\debug\pcre16_compile.obj .obj\debug\pcre16_config.obj .obj\debug\pcre16_dfa_exec.obj .obj\debug\pcre16_exec.obj .obj\debug\pcre16_fullinfo.obj .obj\debug\pcre16_get.obj .obj\debug\pcre16_globals.obj .obj\debug\pcre16_jit_compile.obj .obj\debug\pcre16_maketables.obj .obj\debug\pcre16_newline.obj .obj\debug\pcre16_ord2utf16.obj .obj\debug\pcre16_refcount.obj .obj\debug\pcre16_string_utils.obj .obj\debug\pcre16_study.obj .obj\debug\pcre16_tables.obj .obj\debug\pcre16_ucd.obj .obj\debug\pcre16_utf16_utils.obj .obj\debug\pcre16_valid_utf16.obj .obj\debug\pcre16_version.obj .obj\debug\pcre16_xclass.obj c:\Qt\5.7\Src\qtbase\src\3rdparty\pcre\.obj\debug\pcre16_byte_order.obj konnte nicht gefunden werden del *~ core *.core c:\Qt\5.7\Src\qtbase\src\3rdparty\pcre\*~ konnte nicht gefunden werden make[4]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src/3rdparty/pcre' make -f Makefile.Release clean make[4]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/3rdparty/pcre' del .obj\release\pcre16_byte_order.obj .obj\release\pcre16_chartables.obj .obj\release\pcre16_compile.obj .obj\release\pcre16_config.obj .obj\release\pcre16_dfa_exec.obj .obj\release\pcre16_exec.obj .obj\release\pcre16_fullinfo.obj .obj\release\pcre16_get.obj .obj\release\pcre16_globals.obj .obj\release\pcre16_jit_compile.obj .obj\release\pcre16_maketables.obj .obj\release\pcre16_newline.obj .obj\release\pcre16_ord2utf16.obj .obj\release\pcre16_refcount.obj .obj\release\pcre16_string_utils.obj .obj\release\pcre16_study.obj .obj\release\pcre16_tables.obj .obj\release\pcre16_ucd.obj .obj\release\pcre16_utf16_utils.obj .obj\release\pcre16_valid_utf16.obj .obj\release\pcre16_version.obj .obj\release\pcre16_xclass.obj c:\Qt\5.7\Src\qtbase\src\3rdparty\pcre\.obj\release\pcre16_byte_order.obj konnte nicht gefunden werden del *~ core *.core c:\Qt\5.7\Src\qtbase\src\3rdparty\pcre\*~ konnte nicht gefunden werden make[4]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src/3rdparty/pcre' make[3]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src/3rdparty/pcre' cd corelib\ && ( if not exist Makefile C:\Qt\5.7\Src\qtbase\bin\qmake C:\Qt\5.7\Src\qtbase\src\corelib\corelib.pro -o Makefile ) && make -f Makefile clean make[3]: Entering directory 'c:/Qt/5.7/Src/qtbase/src/corelib' del .rcc\qrc_mimetypes.cpp c:\Qt\5.7\Src\qtbase\src\corelib\.rcc\qrc_mimetypes.cpp konnte nicht gefunden werden make: Interrupt/Exception caught (code = 0xc0000005, addr = 0x00007FFA8CBEF15C) Makefile:176: recipe for target 'sub-corelib-clean' failed make[2]: *** [sub-corelib-clean] Error 255 make[2]: Leaving directory 'c:/Qt/5.7/Src/qtbase/src' Makefile:52: recipe for target 'sub-src-clean' failed make[1]: *** [sub-src-clean] Error 2 make[1]: Leaving directory 'c:/Qt/5.7/Src/qtbase' Makefile:80: recipe for target 'module-qtbase-clean' failed make: *** [module-qtbase-clean] Error 2 c:\Qt\5.7\Src>cd \build Das System kann den angegebenen Pfad nicht finden. c:\Qt\5.7\Src>cd build c:\Qt\5.7\Src\build> c:\Qt\5.7\Src\build>c:/qt/5.7/src/configure -platform win32-g++ -xplatform android-g++ -prefix C:/Qt/5.7/android -no-icu -no-sql-sqlite -plugin-sql-mysql -I C:\temp\include -L C:\temp\lib\ -openssl -I C:\tools\openssl-1.0.1e\openssl-1.0.1e\include -android-ndk C:\tools\android-ndk-r10b -android-sdk C:\androidsdk -opensource -confirm-license -nomake examples -no-compile-examples -nomake tests -skip qttranslations -skip qtserialport -skip qtwebkit-examples -opengl -egl -no-use-gold-linker -shared + cd qtbase + c:\Qt\5.7\Src\qtbase\configure.bat -top-level -platform win32-g++ -xplatform android-g++ -prefix C:/Qt/5.7/android -no-icu -no-sql-sqlite -plugin-sql-mysql -I C:\temp\include -L C:\temp\lib\ -openssl -I C:\tools\openssl-1.0.1e\openssl-1.0.1e\include -android-ndk C:\tools\android-ndk-r10b -android-sdk C:\androidsdk -opensource -confirm-license -nomake examples -no-compile-examples -nomake tests -skip qttranslations -skip qtserialport -skip qtwebkit-examples -opengl -egl -no-use-gold-linker -shared Attempting to skip non-existent module qtwebkit-examples. Argument passed to -opengl option is not valid. c:\Qt\5.7\Src\build>c:/qt/5.7/src/configure -platform win32-g++ -xplatform android-g++ -prefix C:/Qt/5.7/android -no-icu -no-sql-sqlite -plugin-sql-mysql -I C:\temp\include -L C:\temp\lib\ -openssl -I C:\tools\openssl-1.0.1e\openssl-1.0.1e\include -android-ndk C:\tools\android-ndk-r10b -android-sdk C:\androidsdk -opensource -confirm-license -nomake examples -no-compile-examples -nomake tests -skip qttranslations -skip qtserialport -skip qtwebkit-examples -egl -no-use-gold-linker -shared + cd qtbase + c:\Qt\5.7\Src\qtbase\configure.bat -top-level -platform win32-g++ -xplatform android-g++ -prefix C:/Qt/5.7/android -no-icu -no-sql-sqlite -plugin-sql-mysql -I C:\temp\include -L C:\temp\lib\ -openssl -I C:\tools\openssl-1.0.1e\openssl-1.0.1e\include -android-ndk C:\tools\android-ndk-r10b -android-sdk C:\androidsdk -opensource -confirm-license -nomake examples -no-compile-examples -nomake tests -skip qttranslations -skip qtserialport -skip qtwebkit-examples -egl -no-use-gold-linker -shared Attempting to skip non-existent module qtwebkit-examples. Unknown option -egl c:\Qt\5.7\Src\build>c:/qt/5.7/src/configure -platform win32-g++ -xplatform android-g++ -prefix C:/Qt/5.7/android -no-icu -no-sql-sqlite -plugin-sql-mysql -I C:\temp\include -L C:\temp\lib\ -openssl -I C:\tools\openssl-1.0.1e\openssl-1.0.1e\include -android-ndk C:\tools\android-ndk-r10b -android-sdk C:\androidsdk -opensource -confirm-license -nomake examples -no-compile-examples -nomake tests -skip qttranslations -skip qtserialport -skip qtwebkit-examples -no-use-gold-linker -shared + cd qtbase + c:\Qt\5.7\Src\qtbase\configure.bat -top-level -platform win32-g++ -xplatform android-g++ -prefix C:/Qt/5.7/android -no-icu -no-sql-sqlite -plugin-sql-mysql -I C:\temp\include -L C:\temp\lib\ -openssl -I C:\tools\openssl-1.0.1e\openssl-1.0.1e\include -android-ndk C:\tools\android-ndk-r10b -android-sdk C:\androidsdk -opensource -confirm-license -nomake examples -no-compile-examples -nomake tests -skip qttranslations -skip qtserialport -skip qtwebkit-examples -no-use-gold-linker -shared Attempting to skip non-existent module qtwebkit-examples. c:\Qt\5.7\Src\build>c:/qt/5.7/src/configure -platform win32-g++ -xplatform android-g++ -prefix C:/Qt/5.7/android -no-icu -no-sql-sqlite -plugin-sql-mysql -I C:\temp\include -L C:\temp\lib\ -openssl -I C:\tools\openssl-1.0.1e\openssl-1.0.1e\include -android-ndk C:\tools\android-ndk-r10b -android-sdk C:\androidsdk -opensource -confirm-license -nomake examples -no-compile-examples -nomake tests -skip qttranslations -skip qtserialport -no-use-gold-linker -shared + cd qtbase + c:\Qt\5.7\Src\qtbase\configure.bat -top-level -platform win32-g++ -xplatform android-g++ -prefix C:/Qt/5.7/android -no-icu -no-sql-sqlite -plugin-sql-mysql -I C:\temp\include -L C:\temp\lib\ -openssl -I C:\tools\openssl-1.0.1e\openssl-1.0.1e\include -android-ndk C:\tools\android-ndk-r10b -android-sdk C:\androidsdk -opensource -confirm-license -nomake examples -no-compile-examples -nomake tests -skip qttranslations -skip qtserialport -no-use-gold-linker -shared This is the Qt for Android Open Source Edition. You have already accepted the terms of the license. Creating qmake... execute: File or path is not found (mingw32-make) execute: File or path is not found (mingw32-make) Cleaning qmake failed, return code -1 c:\Qt\5.7\Src\build>c:/qt/5.7/src/configure -platform win32-g++ -xplatform android-g++ -prefix C:/Qt/5.7/android -no-icu -no-sql-sqlite -plugin-sql-mysql -I C:\temp\include -L C:\temp\lib\ -openssl -I C:\tools\openssl-1.0.1e\openssl-1.0.1e\include -android-ndk C:\tools\android-ndk-r10b -android-sdk C:\androidsdk -opensource -confirm-license -nomake examples -no-compile-examples -nomake tests -skip qttranslations -skip qtserialport -no-use-gold-linker -shared + cd qtbase + c:\Qt\5.7\Src\qtbase\configure.bat -top-level -platform win32-g++ -xplatform android-g++ -prefix C:/Qt/5.7/android -no-icu -no-sql-sqlite -plugin-sql-mysql -I C:\temp\include -L C:\temp\lib\ -openssl -I C:\tools\openssl-1.0.1e\openssl-1.0.1e\include -android-ndk C:\tools\android-ndk-r10b -android-sdk C:\androidsdk -opensource -confirm-license -nomake examples -no-compile-examples -nomake tests -skip qttranslations -skip qtserialport -no-use-gold-linker -shared This is the Qt for Android Open Source Edition. You have already accepted the terms of the license. Creating qmake... g++ -c -o project.o -std=c++11 -DUNICODE -ffunction-sections -g -IC:\Qt\5.7\Src\qtbase/qmake -IC:\Qt\5.7\Src\qtbase/qmake/library -IC:\Qt\5.7\Src\qtbase/qmake/generators -IC:\Qt\5.7\Src\qtbase/qmake/generators/unix -IC:\Qt\5.7\Src\qtbase/qmake/generators/win32 -IC:\Qt\5.7\Src\qtbase/qmake/generators/mac -IC:\Qt\5.7\Src\qtbase/qmake/generators/integrity -IC:\Qt\5.7\Src\qtbase\include -IC:\Qt\5.7\Src\qtbase\include/QtCore -IC:\Qt\5.7\Src\qtbase\include/QtCore/5.7.1 -IC:\Qt\5.7\Src\qtbase\include/QtCore/5.7.1/QtCore -I../src/corelib/global -DHAVE_QCONFIG_CPP -IC:\Qt\5.7\Src\qtbase\mkspecs\win32-g++ -IC:\Qt\5.7\Src\qtbase/tools/shared -DQT_VERSION_STR=\"5.7.1\" -DQT_VERSION_MAJOR=5 -DQT_VERSION_MINOR=7 -DQT_VERSION_PATCH=1 -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DPROEVALUATOR_FULL -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_COMPRESS -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM -DQT_NO_FOREACH -DQT_CRYPTOGRAPHICHASH_ONLY_SHA1 -DQT_JSON_READONLY -DQT_NO_STANDARDPATHS C:\Qt\5.7\Src\qtbase/qmake/project.cpp g++: error: CreateProcess: No such file or directory Makefile:207: recipe for target 'project.o' failed mingw32-make: *** [project.o] Error 1 del /f project.o option.o property.o main.o ioutils.o proitems.o qmakevfs.o qmakeglobals.o qmakeparser.o qmakeevaluator.o qmakebuiltins.o makefile.o unixmake2.o unixmake.o mingw_make.o winmakefile.o projectgenerator.o meta.o makefiledeps.o metamakefile.o xmloutput.o pbuilder_pbx.o msvc_vcproj.o msvc_vcxproj.o msvc_nmake.o msvc_objectmodel.o msbuild_objectmodel.o cesdkhandler.o qtextcodec.o qutfcodec.o qstring.o qstring_compat.o qstringbuilder.o qtextstream.o qiodevice.o qringbuffer.o qdebug.o qmalloc.o qglobal.o qarraydata.o qbytearray.o qbytearraymatcher.o qdatastream.o qbuffer.o qlist.o qfiledevice.o qfile.o qfilesystementry.o qfilesystemengine.o qfsfileengine.o qfsfileengine_iterator.o qregexp.o qvector.o qbitarray.o qdir.o qdiriterator.o quuid.o qhash.o qfileinfo.o qdatetime.o qstringlist.o qabstractfileengine.o qtemporaryfile.o qmap.o qmetatype.o qsettings.o qsystemerror.o qlibraryinfo.o qvariant.o qvsnprintf.o qlocale.o qlocale_tools.o qlinkedlist.o qnumeric.o qcryptographichash.o qxmlstream.o qxmlutils.o qlogging.o qjson.o qjsondocument.o qjsonparser.o qjsonarray.o qjsonobject.o qjsonvalue.o qfilesystemengine_win.o qfilesystemiterator_win.o qfsfileengine_win.o qlocale_win.o qsettings_win.o qsystemlibrary.o registry.o C:\Qt\5.7\Src\build\qtbase\qmake\project.o konnte nicht gefunden werden g++ -c -o project.o -std=c++11 -DUNICODE -ffunction-sections -g -IC:\Qt\5.7\Src\qtbase/qmake -IC:\Qt\5.7\Src\qtbase/qmake/library -IC:\Qt\5.7\Src\qtbase/qmake/generators -IC:\Qt\5.7\Src\qtbase/qmake/generators/unix -IC:\Qt\5.7\Src\qtbase/qmake/generators/win32 -IC:\Qt\5.7\Src\qtbase/qmake/generators/mac -IC:\Qt\5.7\Src\qtbase/qmake/generators/integrity -IC:\Qt\5.7\Src\qtbase\include -IC:\Qt\5.7\Src\qtbase\include/QtCore -IC:\Qt\5.7\Src\qtbase\include/QtCore/5.7.1 -IC:\Qt\5.7\Src\qtbase\include/QtCore/5.7.1/QtCore -I../src/corelib/global -DHAVE_QCONFIG_CPP -IC:\Qt\5.7\Src\qtbase\mkspecs\win32-g++ -IC:\Qt\5.7\Src\qtbase/tools/shared -DQT_VERSION_STR=\"5.7.1\" -DQT_VERSION_MAJOR=5 -DQT_VERSION_MINOR=7 -DQT_VERSION_PATCH=1 -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DPROEVALUATOR_FULL -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_COMPRESS -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM -DQT_NO_FOREACH -DQT_CRYPTOGRAPHICHASH_ONLY_SHA1 -DQT_JSON_READONLY -DQT_NO_STANDARDPATHS C:\Qt\5.7\Src\qtbase/qmake/project.cpp g++: error: CreateProcess: No such file or directory Makefile:207: recipe for target 'project.o' failed mingw32-make: *** [project.o] Error 1 Building qmake failed, return code 2 c:\Qt\5.7\Src\build>
-
Wow. That's getting harder than expected. Can you check whether the file "C:\Qt\5.7\Src\qtbase/qmake/project.cpp" do exists?
-
yes its contained in the directory:
Verzeichnis von C:\Qt\5.7\Src\qtbase\qmake 10.01.2018 17:01 <DIR> . 10.01.2018 17:01 <DIR> .. 01.12.2016 09:17 4.013 cachekeys.h 10.01.2018 09:37 732.855 cesdkhandler.o 15.11.2017 21:34 <DIR> doc 15.11.2017 21:33 <DIR> generators 10.01.2018 09:35 311.252 ioutils.o 15.11.2017 21:33 <DIR> library 01.12.2016 09:17 14.594 main.cpp 10.01.2018 09:35 620.585 main.o 10.01.2018 17:01 21.581 Makefile 10.01.2018 09:36 1.592.156 makefile.o 01.12.2016 09:17 20.187 Makefile.unix 01.12.2016 09:17 6.809 Makefile.win32 10.01.2018 09:36 673.477 makefiledeps.o 01.12.2016 09:17 6.912 meta.cpp 01.12.2016 09:17 2.835 meta.h 10.01.2018 09:36 663.616 meta.o 10.01.2018 09:36 784.371 metamakefile.o 10.01.2018 09:36 736.843 mingw_make.o 10.01.2018 09:37 1.214.133 msbuild_objectmodel.o 10.01.2018 09:37 1.010.194 msvc_nmake.o 10.01.2018 09:37 1.216.756 msvc_objectmodel.o 10.01.2018 09:36 1.386.345 msvc_vcproj.o Drücken Sie eine beliebige Taste . . . 10.01.2018 09:36 444.639 msvc_vcxproj.o 01.12.2016 09:17 26.166 option.cpp 01.12.2016 09:17 6.667 option.h 10.01.2018 09:35 699.053 option.o 10.01.2018 09:36 1.554.197 pbuilder_pbx.o 10.01.2018 09:36 463.606 proitems.o 01.12.2016 09:17 5.344 project.cpp 01.12.2016 09:17 4.082 project.h 10.01.2018 09:35 613.731 project.o 10.01.2018 09:36 806.598 projectgenerator.o 01.12.2016 09:17 8.319 property.cpp 01.12.2016 09:17 1.891 property.h 10.01.2018 09:35 514.713 property.o 10.01.2018 09:38 570.346 qabstractfileengine.o 10.01.2018 09:37 42.567 qarraydata.o 10.01.2018 09:38 323.660 qbitarray.o 10.01.2018 09:37 410.720 qbuffer.o 10.01.2018 09:37 513.062 qbytearray.o 10.01.2018 09:37 124.084 qbytearraymatcher.o 10.01.2018 09:39 288.536 qcryptographichash.o 10.01.2018 09:37 310.524 qdatastream.o 10.01.2018 09:38 613.875 qdatetime.o 10.01.2018 09:37 441.962 qdebug.o 10.01.2018 09:38 743.052 qdir.o 10.01.2018 09:38 619.994 qdiriterator.o 10.01.2018 09:37 416.365 qfile.o 10.01.2018 09:37 370.805 qfiledevice.o 10.01.2018 09:38 499.190 qfileinfo.o 10.01.2018 09:37 405.949 qfilesystemengine.o Drücken Sie eine beliebige Taste . . . 10.01.2018 09:39 502.232 qfilesystemengine_win.o 10.01.2018 09:37 340.652 qfilesystementry.o 10.01.2018 09:39 375.648 qfilesystemiterator_win.o 10.01.2018 09:38 504.239 qfsfileengine.o 10.01.2018 09:38 401.999 qfsfileengine_iterator.o 10.01.2018 09:39 501.321 qfsfileengine_win.o 10.01.2018 09:37 432.706 qglobal.o 10.01.2018 09:38 321.425 qhash.o 10.01.2018 09:37 561.639 qiodevice.o 10.01.2018 09:39 393.917 qjson.o 10.01.2018 09:39 526.973 qjsonarray.o 10.01.2018 09:39 506.321 qjsondocument.o 10.01.2018 09:39 608.679 qjsonobject.o 10.01.2018 09:39 541.531 qjsonparser.o 10.01.2018 09:39 520.881 qjsonvalue.o 10.01.2018 17:01 455.825 qlibraryinfo.o 10.01.2018 09:39 25.950 qlinkedlist.o 10.01.2018 09:37 286.261 qlist.o 10.01.2018 09:39 1.152.637 qlocale.o 10.01.2018 09:39 384.430 qlocale_tools.o 10.01.2018 09:39 584.415 qlocale_win.o 10.01.2018 09:39 452.707 qlogging.o 01.12.2016 09:17 242 qmake-aux.pro 01.12.2016 09:17 5.684 qmake.pri 01.12.2016 09:17 852 qmake.pro 10.01.2018 09:36 1.190.704 qmakebuiltins.o 10.01.2018 09:36 1.076.335 qmakeevaluator.o 10.01.2018 09:36 534.378 qmakeglobals.o 10.01.2018 09:36 517.638 qmakeparser.o Drücken Sie eine beliebige Taste . . . 10.01.2018 09:36 337.932 qmakevfs.o 01.12.2016 09:17 2.042 qmake_pch.h 10.01.2018 09:37 20.329 qmalloc.o 10.01.2018 09:38 291.500 qmap.o 10.01.2018 09:38 1.323.786 qmetatype.o 10.01.2018 09:39 36.641 qnumeric.o 10.01.2018 09:38 1.021.664 qregexp.o 10.01.2018 09:37 348.891 qringbuffer.o 10.01.2018 09:38 1.395.873 qsettings.o 10.01.2018 09:39 594.391 qsettings_win.o 10.01.2018 09:37 1.419.422 qstring.o 10.01.2018 09:37 271.797 qstringbuilder.o 10.01.2018 09:38 482.875 qstringlist.o 10.01.2018 09:37 253.483 qstring_compat.o 10.01.2018 09:38 270.872 qsystemerror.o 10.01.2018 09:39 328.703 qsystemlibrary.o 10.01.2018 09:38 445.499 qtemporaryfile.o 10.01.2018 09:37 34.077 qtextcodec.o 10.01.2018 09:37 532.331 qtextstream.o 10.01.2018 09:37 355.124 qutfcodec.o 10.01.2018 09:38 346.332 quuid.o 10.01.2018 09:38 1.884.902 qvariant.o 10.01.2018 09:38 553 qvector.o 10.01.2018 09:38 35.232 qvsnprintf.o 10.01.2018 09:39 933.174 qxmlstream.o 10.01.2018 09:39 267.913 qxmlutils.o 10.01.2018 09:39 320.935 registry.o 10.01.2018 09:36 795.857 unixmake.o 10.01.2018 09:36 1.049.910 unixmake2.o Drücken Sie eine beliebige Taste . . . 10.01.2018 09:36 864.583 winmakefile.o 10.01.2018 09:36 391.782 xmloutput.o 108 Datei(en), 53.229.837 Bytes
-
ok i try a new qt 5.8 version to build the plugin... maybe i make some mistakes in 5.7 and now its no more available.
but it seems to work better with msys then with win prompt -
maybe you can load your .so for the 5.8 version up?
-
The Qt version doesn't matter. The client library for mysql is the same. So your compilation is running, right?
-
nope... with msys i run it, not the same but also an error:
Allerknappe@SIDO /c/qt/5.8/build $ /c/qt/5.8/src/configure -platform win32-g++ -xplatform android-g++ -prefix /C/Qt/5.8/android -no-icu -no-sql-sqlite - plugin-sql-mysql -I /C/temp/include -L /C/temp/lib/ -openssl -I /C/tools/openssl-1.0.1e/openssl-1.0.1e/include -android -ndk /C/Users/Allerknappe/AppData/Local/Android/Sdk/ndk-bundle -android-sdk /C/androidsdk -opensource -confirm-license -nomake examples -no-compile-examples -nomake tests -shared -android-ndk-host /windows-x86_64 -v -opengl -egl -skip qtw ebkit-examples + cd qtbase + /c/qt/5.8/src/qtbase/configure -top-level -platform win32-g++ -xplatform android-g++ -prefix /C/Qt/5.8/android -no-icu -no-sql-sqlite -plugin-sql-mysql -I /C/temp/include -L /C/temp/lib/ -openssl -I /C/tools/openssl-1.0.1e/openssl-1.0.1e/include -android-ndk /C/Users/Allerknappe/AppData/Local/Android/Sdk/ndk-bundle -android-sdk /C/androidsdk -opensource -confirm-license -nomake examples -no-compile-examples -nomake tests -shared -android-ndk-host /windows-x86_64 -v -opengl -egl -skip qtwebkit-examples This is the Qt Open Source Edition. You are licensed to use this software under the terms of the GNU Lesser General Public License (LGPL) version 3. You have already accepted the terms of the Open Source license. Performing shadow build... Preparing build tree... Creating qmake... ols/shared -DQT_VERSION_STR=\"5.8.0\" -DQT_VERSION_MAJOR=5 -DQT_VERSION_MINOR=8 -DQT_VERSION_PATCH=0 -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DPROEVALUATOR_FULL -DQT_NO_FOREACH c:/qt/5.8/src/qtbase/src/corelib/tools/qlocale_win.cpp g++ -c -o qsettings_win.o -DUNICODE -pipe -fno-keep-inline-dllexport -std=c++11 -ffunction-sections -g -g -Ic:/qt/5.8/src/qtbase/qmake -Ic:/qt/5.8/src/qtbase/qmake/library -Ic:/qt/5.8/src/qtbase/qmake/generators -Ic:/qt/5.8/src/qtbase/qmake/generators/unix -Ic:/qt/5.8/src/qtbase/qmake/generators/win32 -Ic:/qt/5.8/src/qtbase/qmake/generators/mac -Ic:/qt/5.8/src/qtbase/include -Ic:/qt/5.8/src/qtbase/include/QtCore -Ic:/qt/5.8/src/qtbase/include/QtCore/5.8.0 -Ic:/qt/5.8/src/qtbase/include/QtCore/5.8.0/QtCore -I../src/corelib/global -Ic:/qt/5.8/src/qtbase/mkspecs/win32-g++ -Ic:/qt/5.8/src/qtbase/tools/shared -DQT_VERSION_STR=\"5.8.0\" -DQT_VERSION_MAJOR=5 -DQT_VERSION_MINOR=8 -DQT_VERSION_PATCH=0 -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DPROEVALUATOR_FULL -DQT_NO_FOREACH c:/qt/5.8/src/qtbase/src/corelib/io/qsettings_win.cpp g++ -c -o qsystemlibrary.o -DUNICODE -pipe -fno-keep-inline-dllexport -std=c++11 -ffunction-sections -g -g -Ic:/qt/5.8/src/qtbase/qmake -Ic:/qt/5.8/src/qtbase/qmake/library -Ic:/qt/5.8/src/qtbase/qmake/generators -Ic:/qt/5.8/src/qtbase/qmake/generators/unix -Ic:/qt/5.8/src/qtbase/qmake/generators/win32 -Ic:/qt/5.8/src/qtbase/qmake/generators/mac -Ic:/qt/5.8/src/qtbase/include -Ic:/qt/5.8/src/qtbase/include/QtCore -Ic:/qt/5.8/src/qtbase/include/QtCore/5.8.0 -Ic:/qt/5.8/src/qtbase/include/QtCore/5.8.0/QtCore -I../src/corelib/global -Ic:/qt/5.8/src/qtbase/mkspecs/win32-g++ -Ic:/qt/5.8/src/qtbase/tools/shared -DQT_VERSION_STR=\"5.8.0\" -DQT_VERSION_MAJOR=5 -DQT_VERSION_MINOR=8 -DQT_VERSION_PATCH=0 -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DPROEVALUATOR_FULL -DQT_NO_FOREACH c:/qt/5.8/src/qtbase/src/corelib/plugin/qsystemlibrary.cpp g++ -c -o registry.o -DUNICODE -pipe -fno-keep-inline-dllexport -std=c++11 -ffunction-sections -g -g -Ic:/qt/5.8/src/qtbase/qmake -Ic:/qt/5.8/src/qtbase/qmake/library -Ic:/qt/5.8/src/qtbase/qmake/generators -Ic:/qt/5.8/src/qtbase/qmake/generators/unix -Ic:/qt/5.8/src/qtbase/qmake/generators/win32 -Ic:/qt/5.8/src/qtbase/qmake/generators/mac -Ic:/qt/5.8/src/qtbase/include -Ic:/qt/5.8/src/qtbase/include/QtCore -Ic:/qt/5.8/src/qtbase/include/QtCore/5.8.0 -Ic:/qt/5.8/src/qtbase/include/QtCore/5.8.0/QtCore -I../src/corelib/global -Ic:/qt/5.8/src/qtbase/mkspecs/win32-g++ -Ic:/qt/5.8/src/qtbase/tools/shared -DQT_VERSION_STR=\"5.8.0\" -DQT_VERSION_MAJOR=5 -DQT_VERSION_MINOR=8 -DQT_VERSION_PATCH=0 -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DPROEVALUATOR_FULL -DQT_NO_FOREACH c:/qt/5.8/src/qtbase/tools/shared/windows/registry.cpp g++ -o "../bin/qmake.exe" project.o option.o property.o main.o ioutils.o proitems.o qmakevfs.o qmakeglobals.o qmakeparser.o qmakeevaluator.o qmakebuiltins.o makefile.o unixmake2.o unixmake.o mingw_make.o winmakefile.o projectgenerator.o meta.o makefiledeps.o metamakefile.o xmloutput.o pbuilder_pbx.o msvc_vcproj.o msvc_vcxproj.o msvc_nmake.o msvc_objectmodel.o msbuild_objectmodel.o qtextcodec.o qutfcodec.o qstring.o qstring_compat.o qstringbuilder.o qtextstream.o qiodevice.o qringbuffer.o qdebug.o qmalloc.o qglobal.o qarraydata.o qbytearray.o qbytearraymatcher.o qdatastream.o qbuffer.o qlist.o qfiledevice.o qfile.o qfilesystementry.o qfilesystemengine.o qfsfileengine.o qfsfileengine_iterator.o qregexp.o qvector.o qbitarray.o qdir.o qdiriterator.o quuid.o qhash.o qfileinfo.o qdatetime.o qstringlist.o qabstractfileengine.o qtemporaryfile.o qmap.o qmetatype.o qsettings.o qsystemerror.o qlibraryinfo.o qvariant.o qvsnprintf.o qlocale.o qlocale_tools.o qlinkedlist.o qnumeric.o qcryptographichash.o qxmlstream.o qxmlutils.o qlogging.o qjson.o qjsondocument.o qjsonparser.o qjsonarray.o qjsonobject.o qjsonvalue.o qfilesystemengine_win.o qfilesystemiterator_win.o qfsfileengine_win.o qlocale_win.o qsettings_win.o qsystemlibrary.o registry.o -static -s -lole32 -luuid -ladvapi32 -lkernel32 -Wl,--gc-sections Das System kann den angegebenen Pfad nicht finden. Project ERROR: You need to set the ANDROID_NDK_ROOT environment variable to point to your Android NDK. Could not read qmake configuration file c:/qt/5.8/src/qtbase/mkspecs/android-g++/qmake.conf. Error processing project file: c:\qt\5.8\src\qt.pro
it seems that bin/gmake.exe could not find
-
Why do you have two -android-ndk flags in your command line? Have you changed your NDK version? You should use version 10e. That's the recommended one.
-
configure -platform win32-g++ -xplatform android-g++ -prefix /C/Qt/5.8/android -no-icu -no-sql-sqlite -
plugin-sql-mysql -I /C/temp/include -L /C/temp/lib/ -openssl -I /C/tools/openssl-1.0.1e/openssl-1.0.1e/include -android
-ndk /C/Users/Allerknappe/AppData/Local/Android/Sdk/ndk-bundle -android-sdk /C/androidsdk -opensource -confirm-license
-nomake examples -no-compile-examples -nomake tests -shared -android-ndk-host /windows-x86_64 -v -opengl -egl -skip qtwi see only one ndk-bundle?
-
Oh, sorry. My mistake.
I don't understand what's wrong either. I've done just as I told you and it works fine. 🤔
-
ok, no problem.
i try to load all libs and software new, maybe some files are broken... -
so i try today to run on an vm ubuntu and start the shell script option 2
from https://wiki.qt.io/Build_Qt_5_MySQL_Plugin_for_Androidbut there i get the error:
all@all-VirtualBox:~/Dokumente$ ./and.sh ./and.sh: Zeile 116: Syntaxfehler beim unerwarteten Wort »unittest/libmariadb« ./and.sh: Zeile 116: ` sed -i -e "s|ADD_SUBDIRECTORY(unittest/libmariadb)|#ADD_SUBDIRECTORY(unittest/libmariadb)|" CMakeLists.txt'
this is my first time with linux, can somebody help me?
-
so i try the instruction on https://wiki.qt.io/Build_Qt_5_MySQL_Plugin_for_Android.
I want to reproduce all steps i make with all output on the command line.
Maybe there is some tool missing or step wrong, that somebody can maybe help me.I want to build the Plugin on Ubuntu on Qt 5.7
I loaded OpenSSL 1.0.1e, libiconv 1.14, mariadbclient 2.0.0 and ndk r10e
So on:-
open Terminal and type SR=/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm
-
type BR=/home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-
-
unpack Openssl in /home/all/Dokumente
-
open the Terminal in the unpacked openssl directory
-
type RANLIB="$BR"ranlib
-
CC="$BR"gcc
-
sodu ./Configure android-armv7 --prefix=$SR/usr (i type sodu to get all possible rights)
output is:
all@all-VirtualBox:~/Dokumente/openssl-1.0.1e$ sudo ./Configure android-armv7 --prefix=$SR/usr [sudo] Passwort für all: Configuring for android-armv7 no-ec_nistp_64_gcc_128 [default] OPENSSL_NO_EC_NISTP_64_GCC_128 (skip dir) no-gmp [default] OPENSSL_NO_GMP (skip dir) no-jpake [experimental] OPENSSL_NO_JPAKE (skip dir) no-krb5 [krb5-flavor not specified] OPENSSL_NO_KRB5 no-md2 [default] OPENSSL_NO_MD2 (skip dir) no-rc5 [default] OPENSSL_NO_RC5 (skip dir) no-rfc3779 [default] OPENSSL_NO_RFC3779 (skip dir) no-sctp [default] OPENSSL_NO_SCTP (skip dir) no-shared [default] no-store [experimental] OPENSSL_NO_STORE (skip dir) no-zlib [default] no-zlib-dynamic [default] IsMK1MF=0 CC =gcc CFLAG =-DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -march=armv7-a -mandroid -I$(ANDROID_DEV)/include -B$(ANDROID_DEV)/lib -O3 -fomit-frame-pointer -Wall -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DAES_ASM -DGHASH_ASM EX_LIBS =-ldl CPUID_OBJ =armcap.o armv4cpuid.o BN_ASM =bn_asm.o armv4-mont.o armv4-gf2m.o DES_ENC =des_enc.o fcrypt_b.o AES_ENC =aes_cbc.o aes-armv4.o BF_ENC =bf_enc.o CAST_ENC =c_enc.o RC4_ENC =rc4_enc.o rc4_skey.o RC5_ENC =rc5_enc.o MD5_OBJ_ASM = SHA1_OBJ_ASM =sha1-armv4-large.o sha256-armv4.o sha512-armv4.o RMD160_OBJ_ASM= CMLL_ENC =camellia.o cmll_misc.o cmll_cbc.o MODES_OBJ =ghash-armv4.o ENGINES_OBJ = PROCESSOR = RANLIB =/usr/bin/ranlib ARFLAGS = PERL =/usr/bin/perl THIRTY_TWO_BIT mode DES_UNROLL used DES_INT used BN_LLONG mode RC4 uses uchar RC4_CHUNK is unsigned long BF_PTR used e_os2.h => include/openssl/e_os2.h making links in crypto... make[1]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto“ wird betreten crypto.h => ../include/openssl/crypto.h opensslv.h => ../include/openssl/opensslv.h opensslconf.h => ../include/openssl/opensslconf.h ebcdic.h => ../include/openssl/ebcdic.h symhacks.h => ../include/openssl/symhacks.h ossl_typ.h => ../include/openssl/ossl_typ.h making links in crypto/objects... make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/objects“ wird betreten objects.h => ../../include/openssl/objects.h obj_mac.h => ../../include/openssl/obj_mac.h make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/objects“ wird verlassen making links in crypto/md4... make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/md4“ wird betreten md4.h => ../../include/openssl/md4.h md4test.c => ../../test/md4test.c md4.c => ../../apps/md4.c make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/md4“ wird verlassen making links in crypto/md5... make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/md5“ wird betreten md5.h => ../../include/openssl/md5.h md5test.c => ../../test/md5test.c make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/md5“ wird verlassen making links in crypto/sha... make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/sha“ wird betreten sha.h => ../../include/openssl/sha.h shatest.c => ../../test/shatest.c sha1test.c => ../../test/sha1test.c sha256t.c => ../../test/sha256t.c sha512t.c => ../../test/sha512t.c make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/sha“ wird verlassen making links in crypto/mdc2... make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/mdc2“ wird betreten mdc2.h => ../../include/openssl/mdc2.h mdc2test.c => ../../test/mdc2test.c make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/mdc2“ wird verlassen making links in crypto/hmac... make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/hmac“ wird betreten hmac.h => ../../include/openssl/hmac.h hmactest.c => ../../test/hmactest.c make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/hmac“ wird verlassen making links in crypto/ripemd... make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/ripemd“ wird betreten ripemd.h => ../../include/openssl/ripemd.h rmdtest.c => ../../test/rmdtest.c make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/ripemd“ wird verlassen making links in crypto/whrlpool... make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/whrlpool“ wird betreten whrlpool.h => ../../include/openssl/whrlpool.h wp_test.c => ../../test/wp_test.c make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/whrlpool“ wird verlassen making links in crypto/des... make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/des“ wird betreten des.h => ../../include/openssl/des.h des_old.h => ../../include/openssl/des_old.h destest.c => ../../test/destest.c make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/des“ wird verlassen making links in crypto/aes... make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/aes“ wird betreten aes.h => ../../include/openssl/aes.h make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/aes“ wird verlassen making links in crypto/rc2... make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/rc2“ wird betreten rc2.h => ../../include/openssl/rc2.h rc2test.c => ../../test/rc2test.c make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/rc2“ wird verlassen making links in crypto/rc4... make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/rc4“ wird betreten rc4.h => ../../include/openssl/rc4.h rc4test.c => ../../test/rc4test.c make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/rc4“ wird verlassen making links in crypto/idea... make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/idea“ wird betreten idea.h => ../../include/openssl/idea.h ideatest.c => ../../test/ideatest.c make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/idea“ wird verlassen making links in crypto/bf... make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/bf“ wird betreten blowfish.h => ../../include/openssl/blowfish.h bftest.c => ../../test/bftest.c make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/bf“ wird verlassen making links in crypto/cast... make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/cast“ wird betreten cast.h => ../../include/openssl/cast.h casttest.c => ../../test/casttest.c make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/cast“ wird verlassen making links in crypto/camellia... make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/camellia“ wird betreten camellia.h => ../../include/openssl/camellia.h make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/camellia“ wird verlassen making links in crypto/seed... make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/seed“ wird betreten seed.h => ../../include/openssl/seed.h make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/seed“ wird verlassen making links in crypto/modes... make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/modes“ wird betreten modes.h => ../../include/openssl/modes.h make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/modes“ wird verlassen making links in crypto/bn... make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/bn“ wird betreten bn.h => ../../include/openssl/bn.h bntest.c => ../../test/bntest.c exptest.c => ../../test/exptest.c make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/bn“ wird verlassen making links in crypto/ec... make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/ec“ wird betreten ec.h => ../../include/openssl/ec.h ectest.c => ../../test/ectest.c make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/ec“ wird verlassen making links in crypto/rsa... make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/rsa“ wird betreten rsa.h => ../../include/openssl/rsa.h rsa_test.c => ../../test/rsa_test.c make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/rsa“ wird verlassen making links in crypto/dsa... make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/dsa“ wird betreten dsa.h => ../../include/openssl/dsa.h dsatest.c => ../../test/dsatest.c make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/dsa“ wird verlassen making links in crypto/ecdsa... make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/ecdsa“ wird betreten ecdsa.h => ../../include/openssl/ecdsa.h ecdsatest.c => ../../test/ecdsatest.c make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/ecdsa“ wird verlassen making links in crypto/dh... make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/dh“ wird betreten dh.h => ../../include/openssl/dh.h dhtest.c => ../../test/dhtest.c make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/dh“ wird verlassen making links in crypto/ecdh... make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/ecdh“ wird betreten ecdh.h => ../../include/openssl/ecdh.h ecdhtest.c => ../../test/ecdhtest.c make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/ecdh“ wird verlassen making links in crypto/dso... make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/dso“ wird betreten dso.h => ../../include/openssl/dso.h make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/dso“ wird verlassen making links in crypto/engine... make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/engine“ wird betreten engine.h => ../../include/openssl/engine.h enginetest.c => ../../test/enginetest.c make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/engine“ wird verlassen making links in crypto/buffer... make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/buffer“ wird betreten buffer.h => ../../include/openssl/buffer.h make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/buffer“ wird verlassen making links in crypto/bio... make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/bio“ wird betreten bio.h => ../../include/openssl/bio.h make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/bio“ wird verlassen making links in crypto/stack... make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/stack“ wird betreten stack.h => ../../include/openssl/stack.h safestack.h => ../../include/openssl/safestack.h make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/stack“ wird verlassen making links in crypto/lhash... make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/lhash“ wird betreten lhash.h => ../../include/openssl/lhash.h make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/lhash“ wird verlassen making links in crypto/rand... make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/rand“ wird betreten rand.h => ../../include/openssl/rand.h randtest.c => ../../test/randtest.c make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/rand“ wird verlassen making links in crypto/err... make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/err“ wird betreten err.h => ../../include/openssl/err.h make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/err“ wird verlassen making links in crypto/evp... make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/evp“ wird betreten evp.h => ../../include/openssl/evp.h evp_test.c => ../../test/evp_test.c [ ! -f evptests.txt ] || cp evptests.txt ../../test make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/evp“ wird verlassen making links in crypto/asn1... make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/asn1“ wird betreten asn1.h => ../../include/openssl/asn1.h asn1_mac.h => ../../include/openssl/asn1_mac.h asn1t.h => ../../include/openssl/asn1t.h make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/asn1“ wird verlassen making links in crypto/pem... make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/pem“ wird betreten pem.h => ../../include/openssl/pem.h pem2.h => ../../include/openssl/pem2.h make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/pem“ wird verlassen making links in crypto/x509... make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/x509“ wird betreten x509.h => ../../include/openssl/x509.h x509_vfy.h => ../../include/openssl/x509_vfy.h make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/x509“ wird verlassen making links in crypto/x509v3... make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/x509v3“ wird betreten x509v3.h => ../../include/openssl/x509v3.h make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/x509v3“ wird verlassen making links in crypto/conf... make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/conf“ wird betreten conf.h => ../../include/openssl/conf.h conf_api.h => ../../include/openssl/conf_api.h make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/conf“ wird verlassen making links in crypto/txt_db... make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/txt_db“ wird betreten txt_db.h => ../../include/openssl/txt_db.h make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/txt_db“ wird verlassen making links in crypto/pkcs7... make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/pkcs7“ wird betreten pkcs7.h => ../../include/openssl/pkcs7.h make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/pkcs7“ wird verlassen making links in crypto/pkcs12... make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/pkcs12“ wird betreten pkcs12.h => ../../include/openssl/pkcs12.h make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/pkcs12“ wird verlassen making links in crypto/comp... make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/comp“ wird betreten comp.h => ../../include/openssl/comp.h make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/comp“ wird verlassen making links in crypto/ocsp... make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/ocsp“ wird betreten ocsp.h => ../../include/openssl/ocsp.h make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/ocsp“ wird verlassen making links in crypto/ui... make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/ui“ wird betreten ui.h => ../../include/openssl/ui.h ui_compat.h => ../../include/openssl/ui_compat.h make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/ui“ wird verlassen making links in crypto/krb5... make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/krb5“ wird betreten krb5_asn.h => ../../include/openssl/krb5_asn.h make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/krb5“ wird verlassen making links in crypto/cms... make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/cms“ wird betreten cms.h => ../../include/openssl/cms.h make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/cms“ wird verlassen making links in crypto/pqueue... make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/pqueue“ wird betreten pqueue.h => ../../include/openssl/pqueue.h make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/pqueue“ wird verlassen making links in crypto/ts... make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/ts“ wird betreten ts.h => ../../include/openssl/ts.h make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/ts“ wird verlassen making links in crypto/srp... make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/srp“ wird betreten srp.h => ../../include/openssl/srp.h srptest.c => ../../test/srptest.c make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/srp“ wird verlassen making links in crypto/cmac... make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/cmac“ wird betreten cmac.h => ../../include/openssl/cmac.h make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto/cmac“ wird verlassen make[1]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto“ wird verlassen making links in ssl... make[1]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/ssl“ wird betreten ssl.h => ../include/openssl/ssl.h ssl2.h => ../include/openssl/ssl2.h ssl3.h => ../include/openssl/ssl3.h ssl23.h => ../include/openssl/ssl23.h tls1.h => ../include/openssl/tls1.h dtls1.h => ../include/openssl/dtls1.h kssl.h => ../include/openssl/kssl.h srtp.h => ../include/openssl/srtp.h ssltest.c => ../test/ssltest.c make[1]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/ssl“ wird verlassen making links in engines... make[1]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/engines“ wird betreten making links in engines/ccgost... make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/engines/ccgost“ wird betreten make[2]: Für das Ziel „links“ ist nichts zu tun. make[2]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/engines/ccgost“ wird verlassen make[1]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/engines“ wird verlassen making links in apps... make[1]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/apps“ wird betreten make[1]: Für das Ziel „links“ ist nichts zu tun. make[1]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/apps“ wird verlassen making links in test... make[1]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/test“ wird betreten make[1]: Für das Ziel „links“ ist nichts zu tun. make[1]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/test“ wird verlassen making links in tools... make[1]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/tools“ wird betreten make[1]: Für das Ziel „links“ ist nichts zu tun. make[1]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/tools“ wird verlassen generating dummy tests (if needed)... make[1]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/test“ wird betreten make[1]: Für das Ziel „generate“ ist nichts zu tun. make[1]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/test“ wird verlassen Configured for android-armv7.
- ANDROID_DEV=$SR/usr
- sodu make
output is:
all@all-VirtualBox:~/Dokumente/openssl-1.0.1e$ sudo make making all in crypto... make[1]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto“ wird betreten ( echo "#ifndef MK1MF_BUILD"; \ echo ' /* auto-generated by crypto/Makefile for crypto/cversion.c */'; \ echo ' #define CFLAGS "gcc -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -march=armv7-a -mandroid -I/include -B/lib -O3 -fomit-frame-pointer -Wall -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DAES_ASM -DGHASH_ASM"'; \ echo ' #define PLATFORM "android-armv7"'; \ echo " #define DATE \"`LC_ALL=C LC_TIME=C date`\""; \ echo '#endif' ) >buildinf.h gcc -I. -I.. -I../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -march=armv7-a -mandroid -I/include -B/lib -O3 -fomit-frame-pointer -Wall -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DAES_ASM -DGHASH_ASM -c -o cryptlib.o cryptlib.c cryptlib.c:1:0: error: bad value (armv7-a) for -march= switch /* crypto/cryptlib.c */ ^ <eingebaut>: die Regel für Ziel „cryptlib.o“ scheiterte make[1]: *** [cryptlib.o] Fehler 1 make[1]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto“ wird verlassen Makefile:278: die Regel für Ziel „build_crypto“ scheiterte make: *** [build_crypto] Fehler 1
ok first fail, but i try on, the errors i think are normal...
10.type sodu make install
output is:all@all-VirtualBox:~/Dokumente/openssl-1.0.1e$ sudo make install making all in crypto... make[1]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto“ wird betreten gcc -I. -I.. -I../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -march=armv7-a -mandroid -I/include -B/lib -O3 -fomit-frame-pointer -Wall -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DAES_ASM -DGHASH_ASM -c -o cryptlib.o cryptlib.c cryptlib.c:1:0: error: bad value (armv7-a) for -march= switch /* crypto/cryptlib.c */ ^ <eingebaut>: die Regel für Ziel „cryptlib.o“ scheiterte make[1]: *** [cryptlib.o] Fehler 1 make[1]: Verzeichnis „/home/all/Dokumente/openssl-1.0.1e/crypto“ wird verlassen Makefile:278: die Regel für Ziel „build_crypto“ scheiterte make: *** [build_crypto] Fehler 1
ok next fail... but go on
so now maybe, if its all correct, i have a complete library from openssl.
the directorystructur is in openssl:all@all-VirtualBox:~/Dokumente/openssl-1.0.1e$ dir ACKNOWLEDGMENTS engines INSTALL.VMS ms shlib apps e_os2.h INSTALL.W32 Netware ssl bugs e_os.h INSTALL.W64 NEWS test certs FAQ INSTALL.WCE openssl.doxy times CHANGES include LICENSE openssl.spec tools CHANGES.SSLeay INSTALL MacOS os2 util config install.com Makefile perl VMS Configure INSTALL.DJGPP Makefile.bak PROBLEMS crypto INSTALL.MacOS Makefile.org README demos INSTALL.NW Makefile.shared README.ASN1 doc INSTALL.OS2 makevms.com README.ENGINE
- now compiling libiconv 1.14, first unpack them and go to the unpacked directory and change the terminal to this directory
- type in the terminal: STRIP="$BR"strip RANLIB="$BR"ranlib OBJDUMP="$BR"objdump AR="$BR"ar CC="$BR"gcc CFLAGS=--sysroot=$SR CPP="$BR"cpp CPPFLAGS=$CFLAGS
- type sodu ./configure --build=x86_64 --host=arm --prefix=$SR/usr --with-sysroot=$SR
output is:
13 output: all@all-VirtualBox:~/Dokumente/libiconv-1.14$ sudo ./configure --build=x86_64 --host=arm --prefix=$SR/usr --with-sysroot=$SR .. checking whether ln -s works... yes checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... no checking for arm-dumpbin... no checking for arm-link... no checking for dumpbin... no checking for link... link -dump checking the name lister (nm) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-pc-none file names to arm-unknown-none format... func_convert_file_noop checking how to convert x86_64-pc-none file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for arm-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... unknown checking for arm-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for arm-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for arm-strip... no checking for strip... strip checking for arm-ranlib... no checking for ranlib... ranlib checking for gawk... no checking for mawk... mawk checking command to parse nm output from gcc object... ok checking for sysroot... /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm checking for arm-mt... no checking for mt... mt checking if mt is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... no checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... no checking whether to build shared libraries... no checking whether to build static libraries... yes checking whether the -Werror option is usable... yes checking for simple visibility declarations... yes configure: creating ./config.status config.status: creating Makefile config.status: executing libtool commands
part 1
-
-
- sodu make install
output is:
all@all-VirtualBox:~/Dokumente/libiconv-1.14$ sudo make install builddir="`pwd`"; cd libcharset && make all && make install-lib libdir="$builddir/lib" includedir="$builddir/lib" make[1]: Verzeichnis „/home/all/Dokumente/libiconv-1.14/libcharset“ wird betreten if [ ! -d include ] ; then mkdir include ; fi cp ./include/libcharset.h.in include/libcharset.h cd lib && make all make[2]: Verzeichnis „/home/all/Dokumente/libiconv-1.14/libcharset/lib“ wird betreten /bin/bash ../libtool --mode=compile gcc -I. -I. -I.. -I./.. -I../include -g -O2 -fvisibility=hidden -DLIBDIR=\"/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib\" -DBUILDING_LIBCHARSET -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libcharset_set_relocation_prefix -Drelocate=libcharset_relocate -DHAVE_CONFIG_H -c ./localcharset.c libtool: compile: gcc -I. -I. -I.. -I./.. -I../include -g -O2 -fvisibility=hidden -DLIBDIR=\"/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib\" -DBUILDING_LIBCHARSET -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libcharset_set_relocation_prefix -Drelocate=libcharset_relocate -DHAVE_CONFIG_H -c ./localcharset.c -o localcharset.o /bin/bash ../libtool --mode=compile gcc -I. -I. -I.. -I./.. -I../include -g -O2 -fvisibility=hidden -DLIBDIR=\"/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib\" -DBUILDING_LIBCHARSET -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libcharset_set_relocation_prefix -Drelocate=libcharset_relocate -DHAVE_CONFIG_H -c ./relocatable.c libtool: compile: gcc -I. -I. -I.. -I./.. -I../include -g -O2 -fvisibility=hidden -DLIBDIR=\"/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib\" -DBUILDING_LIBCHARSET -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libcharset_set_relocation_prefix -Drelocate=libcharset_relocate -DHAVE_CONFIG_H -c ./relocatable.c -o relocatable.o /bin/bash ../libtool --mode=link gcc -g -O2 -fvisibility=hidden -o libcharset.la -rpath /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib -version-info 1:0:0 -no-undefined localcharset.lo relocatable.lo libtool: link: ar cru .libs/libcharset.a localcharset.o relocatable.o ar: `u' modifier ignored since `D' is the default (see `U') libtool: link: ranlib .libs/libcharset.a libtool: link: ( cd ".libs" && rm -f "libcharset.la" && ln -s "../libcharset.la" "libcharset.la" ) /bin/sh ./config.charset 'arm-unknown-none' > t-charset.alias mv t-charset.alias charset.alias sed -e '/^#/d' -e 's/@''PACKAGE''@//g' ./ref-add.sin > t-ref-add.sed mv t-ref-add.sed ref-add.sed sed -e '/^#/d' -e 's/@''PACKAGE''@//g' ./ref-del.sin > t-ref-del.sed mv t-ref-del.sed ref-del.sed make[2]: Verzeichnis „/home/all/Dokumente/libiconv-1.14/libcharset/lib“ wird verlassen make[1]: Verzeichnis „/home/all/Dokumente/libiconv-1.14/libcharset“ wird verlassen make[1]: Verzeichnis „/home/all/Dokumente/libiconv-1.14/libcharset“ wird betreten cd lib && make all make[2]: Verzeichnis „/home/all/Dokumente/libiconv-1.14/libcharset/lib“ wird betreten make[2]: Für das Ziel „all“ ist nichts zu tun. make[2]: Verzeichnis „/home/all/Dokumente/libiconv-1.14/libcharset/lib“ wird verlassen cd lib && make install-lib libdir='/home/all/Dokumente/libiconv-1.14/lib' includedir='/home/all/Dokumente/libiconv-1.14/lib' make[2]: Verzeichnis „/home/all/Dokumente/libiconv-1.14/libcharset/lib“ wird betreten /bin/sh ../build-aux/mkinstalldirs /home/all/Dokumente/libiconv-1.14/lib /bin/bash ../libtool --mode=install /usr/bin/install -c -m 644 libcharset.la /home/all/Dokumente/libiconv-1.14/lib/libcharset.la libtool: install: /usr/bin/install -c -m 644 .libs/libcharset.lai /home/all/Dokumente/libiconv-1.14/lib/libcharset.la libtool: install: /usr/bin/install -c -m 644 .libs/libcharset.a /home/all/Dokumente/libiconv-1.14/lib/libcharset.a libtool: install: chmod 644 /home/all/Dokumente/libiconv-1.14/lib/libcharset.a libtool: install: ranlib /home/all/Dokumente/libiconv-1.14/lib/libcharset.a libtool: install: warning: remember to run `libtool --finish /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib' test -f /home/all/Dokumente/libiconv-1.14/lib/charset.alias && orig=/home/all/Dokumente/libiconv-1.14/lib/charset.alias \ || orig=charset.alias; \ sed -f ref-add.sed $orig > /home/all/Dokumente/libiconv-1.14/lib/t-charset.alias; \ /usr/bin/install -c -m 644 /home/all/Dokumente/libiconv-1.14/lib/t-charset.alias /home/all/Dokumente/libiconv-1.14/lib/charset.alias; \ rm -f /home/all/Dokumente/libiconv-1.14/lib/t-charset.alias make[2]: Verzeichnis „/home/all/Dokumente/libiconv-1.14/libcharset/lib“ wird verlassen /bin/sh ./build-aux/mkinstalldirs /home/all/Dokumente/libiconv-1.14/lib /usr/bin/install -c -m 644 include/libcharset.h /home/all/Dokumente/libiconv-1.14/lib/libcharset.h /usr/bin/install -c -m 644 include/localcharset.h.inst /home/all/Dokumente/libiconv-1.14/lib/localcharset.h make[1]: Verzeichnis „/home/all/Dokumente/libiconv-1.14/libcharset“ wird verlassen cd libcharset && make install prefix='/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr' exec_prefix='/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr' libdir='/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib' make[1]: Verzeichnis „/home/all/Dokumente/libiconv-1.14/libcharset“ wird betreten cd lib && make install prefix='/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr' exec_prefix='/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr' libdir='/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib' make[2]: Verzeichnis „/home/all/Dokumente/libiconv-1.14/libcharset/lib“ wird betreten if test yes = no; then \ case 'none' in \ darwin[56]*) \ need_charset_alias=true ;; \ darwin* | cygwin* | mingw* | pw32* | cegcc*) \ need_charset_alias=false ;; \ *) \ need_charset_alias=true ;; \ esac ; \ else \ need_charset_alias=false ; \ fi ; \ /bin/sh ../build-aux/mkinstalldirs /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib ; \ /bin/bash ../libtool --mode=install /usr/bin/install -c -m 644 libcharset.la /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib/libcharset.la libtool: install: /usr/bin/install -c -m 644 .libs/libcharset.lai /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib/libcharset.la libtool: install: /usr/bin/install -c -m 644 .libs/libcharset.a /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib/libcharset.a libtool: install: chmod 644 /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib/libcharset.a libtool: install: ranlib /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib/libcharset.a if test -f /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib/charset.alias; then \ sed -f ref-add.sed /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib/charset.alias > /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib/t-charset.alias; \ /usr/bin/install -c -m 644 /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib/t-charset.alias /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib/charset.alias; \ rm -f /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib/t-charset.alias; \ else \ if $need_charset_alias; then \ sed -f ref-add.sed charset.alias > /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib/t-charset.alias; \ /usr/bin/install -c -m 644 /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib/t-charset.alias /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib/charset.alias; \ rm -f /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib/t-charset.alias; \ fi ; \ fi make[2]: Verzeichnis „/home/all/Dokumente/libiconv-1.14/libcharset/lib“ wird verlassen /bin/sh ./build-aux/mkinstalldirs /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/include /usr/bin/install -c -m 644 include/libcharset.h /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/include/libcharset.h /usr/bin/install -c -m 644 include/localcharset.h.inst /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/include/localcharset.h make[1]: Verzeichnis „/home/all/Dokumente/libiconv-1.14/libcharset“ wird verlassen cd lib && make install prefix='/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr' exec_prefix='/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr' libdir='/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib' make[1]: Verzeichnis „/home/all/Dokumente/libiconv-1.14/lib“ wird betreten /bin/bash ../libtool --mode=compile gcc -I. -I. -I../include -I./../include -I.. -I./.. -g -O2 -fvisibility=hidden -DLIBDIR=\"/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib\" -DBUILDING_LIBICONV -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libiconv_set_relocation_prefix -Drelocate=libiconv_relocate -DHAVE_CONFIG_H -c ./iconv.c libtool: compile: gcc -I. -I. -I../include -I./../include -I.. -I./.. -g -O2 -fvisibility=hidden -DLIBDIR=\"/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib\" -DBUILDING_LIBICONV -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libiconv_set_relocation_prefix -Drelocate=libiconv_relocate -DHAVE_CONFIG_H -c ./iconv.c -o iconv.o /bin/bash ../libtool --mode=compile gcc -I. -I. -I../include -I./../include -I.. -I./.. -g -O2 -fvisibility=hidden -DLIBDIR=\"/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib\" -DBUILDING_LIBICONV -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libiconv_set_relocation_prefix -Drelocate=libiconv_relocate -DHAVE_CONFIG_H -c ./../libcharset/lib/localcharset.c libtool: compile: gcc -I. -I. -I../include -I./../include -I.. -I./.. -g -O2 -fvisibility=hidden -DLIBDIR=\"/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib\" -DBUILDING_LIBICONV -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libiconv_set_relocation_prefix -Drelocate=libiconv_relocate -DHAVE_CONFIG_H -c ./../libcharset/lib/localcharset.c -o localcharset.o /bin/bash ../libtool --mode=compile gcc -I. -I. -I../include -I./../include -I.. -I./.. -g -O2 -fvisibility=hidden -DLIBDIR=\"/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib\" -DBUILDING_LIBICONV -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libiconv_set_relocation_prefix -Drelocate=libiconv_relocate -DHAVE_CONFIG_H -c ./relocatable.c libtool: compile: gcc -I. -I. -I../include -I./../include -I.. -I./.. -g -O2 -fvisibility=hidden -DLIBDIR=\"/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib\" -DBUILDING_LIBICONV -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libiconv_set_relocation_prefix -Drelocate=libiconv_relocate -DHAVE_CONFIG_H -c ./relocatable.c -o relocatable.o /bin/bash ../libtool --mode=link gcc -g -O2 -fvisibility=hidden -o libiconv.la -rpath /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib -version-info 7:1:5 -no-undefined iconv.lo localcharset.lo relocatable.lo libtool: link: ar cru .libs/libiconv.a iconv.o localcharset.o relocatable.o ar: `u' modifier ignored since `D' is the default (see `U') libtool: link: ranlib .libs/libiconv.a libtool: link: ( cd ".libs" && rm -f "libiconv.la" && ln -s "../libiconv.la" "libiconv.la" ) if [ ! -d /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib ] ; then /bin/sh ../build-aux/mkinstalldirs /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib ; fi /bin/bash ../libtool --mode=install /usr/bin/install -c -m 644 libiconv.la /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib/libiconv.la libtool: install: /usr/bin/install -c -m 644 .libs/libiconv.lai /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib/libiconv.la libtool: install: /usr/bin/install -c -m 644 .libs/libiconv.a /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib/libiconv.a libtool: install: chmod 644 /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib/libiconv.a libtool: install: ranlib /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib/libiconv.a case "none" in \ aix*) (cd /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib && \ objects=`ar t libiconv.a`" "`ar t /lib/libiconv.a` && \ ar x libiconv.a && ar x /lib/libiconv.a && \ ar q libiconv.new.a $objects && \ rm -f $objects && \ mv -f libiconv.new.a libiconv.a) ;; \ esac make[1]: Verzeichnis „/home/all/Dokumente/libiconv-1.14/lib“ wird verlassen cd preload && make install prefix='/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr' exec_prefix='/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr' libdir='/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib' make[1]: Verzeichnis „/home/all/Dokumente/libiconv-1.14/preload“ wird betreten if [ ! -d /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib ] ; then /bin/sh ./build-aux/mkinstalldirs /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib ; fi if test -n ""; then /usr/bin/install -c -m 644 /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib/.new && mv /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib/.new /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib/ ; fi make[1]: Verzeichnis „/home/all/Dokumente/libiconv-1.14/preload“ wird verlassen cd srclib && make install prefix='/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr' exec_prefix='/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr' libdir='/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib' make[1]: Verzeichnis „/home/all/Dokumente/libiconv-1.14/srclib“ wird betreten make[2]: Verzeichnis „/home/all/Dokumente/libiconv-1.14“ wird betreten make[2]: Für das Ziel „am--refresh“ ist nichts zu tun. make[2]: Verzeichnis „/home/all/Dokumente/libiconv-1.14“ wird verlassen rm -f alloca.h-t alloca.h && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ cat ./alloca.in.h; \ } > alloca.h-t && \ ... mv stdlib.h-t stdlib.h rm -f string.h-t string.h && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \ -e 's|@''PRAGMA_COLUMNS''@||g' \ -e 's|@''NEXT_STRING_H''@|<string.h>|g' \ -e 's/@''GNULIB_FFSL''@/0/g' \ -e 's/@''GNULIB_FFSLL''@/0/g' \ -e 's/@''GNULIB_MBSLEN''@/0/g' \ -e 's/@''GNULIB_MBSNLEN''@/0/g' \ -e 's/@''GNULIB_MBSCHR''@/0/g' \ -e 's/@''GNULIB_MBSRCHR''@/0/g' \ -e 's/@''GNULIB_MBSSTR''@/0/g' \ -e 's/@''GNULIB_MBSCASECMP''@/0/g' \ -e 's/@''GNULIB_MBSNCASECMP''@/0/g' \ -e 's/@''GNULIB_MBSPCASECMP''@/0/g' \ -e 's/@''GNULIB_MBSCASESTR''@/0/g' \ -e 's/@''GNULIB_MBSCSPN''@/0/g' \ -e 's/@''GNULIB_MBSPBRK''@/0/g' \ -e 's/@''GNULIB_MBSSPN''@/0/g' \ -e 's/@''GNULIB_MBSSEP''@/0/g' \ -e 's/@''GNULIB_MBSTOK_R''@/0/g' \ -e 's/@''GNULIB_MEMCHR''@/0/g' \ -e 's/@''GNULIB_MEMMEM''@/0/g' \ -e 's/@''GNULIB_MEMPCPY''@/0/g' \ -e 's/@''GNULIB_MEMRCHR''@/0/g' \ -e 's/@''GNULIB_RAWMEMCHR''@/0/g' \ -e 's/@''GNULIB_STPCPY''@/0/g' \ -e 's/@''GNULIB_STPNCPY''@/0/g' \ -e 's/@''GNULIB_STRCHRNUL''@/0/g' \ -e 's/@''GNULIB_STRDUP''@/0/g' \ -e 's/@''GNULIB_STRNCAT''@/0/g' \ -e 's/@''GNULIB_STRNDUP''@/0/g' \ -e 's/@''GNULIB_STRNLEN''@/0/g' \ -e 's/@''GNULIB_STRPBRK''@/0/g' \ -e 's/@''GNULIB_STRSEP''@/0/g' \ -e 's/@''GNULIB_STRSTR''@/0/g' \ -e 's/@''GNULIB_STRCASESTR''@/0/g' \ -e 's/@''GNULIB_STRTOK_R''@/0/g' \ -e 's/@''GNULIB_STRERROR''@/1/g' \ -e 's/@''GNULIB_STRERROR_R''@/0/g' \ -e 's/@''GNULIB_STRSIGNAL''@/0/g' \ -e 's/@''GNULIB_STRVERSCMP''@/0/g' \ < ./string.in.h | \ sed -e 's|@''HAVE_FFSL''@|1|g' \ -e 's|@''HAVE_FFSLL''@|1|g' \ -e 's|@''HAVE_MBSLEN''@|0|g' \ -e 's|@''HAVE_MEMCHR''@|1|g' \ -e 's|@''HAVE_DECL_MEMMEM''@|1|g' \ -e 's|@''HAVE_MEMPCPY''@|1|g' \ -e 's|@''HAVE_DECL_MEMRCHR''@|1|g' \ -e 's|@''HAVE_RAWMEMCHR''@|1|g' \ -e 's|@''HAVE_STPCPY''@|1|g' \ -e 's|@''HAVE_STPNCPY''@|1|g' \ -e 's|@''HAVE_STRCHRNUL''@|1|g' \ -e 's|@''HAVE_DECL_STRDUP''@|1|g' \ -e 's|@''HAVE_DECL_STRNDUP''@|1|g' \ -e 's|@''HAVE_DECL_STRNLEN''@|1|g' \ -e 's|@''HAVE_STRPBRK''@|1|g' \ -e 's|@''HAVE_STRSEP''@|1|g' \ -e 's|@''HAVE_STRCASESTR''@|1|g' \ -e 's|@''HAVE_DECL_STRTOK_R''@|1|g' \ -e 's|@''HAVE_DECL_STRERROR_R''@|1|g' \ -e 's|@''HAVE_DECL_STRSIGNAL''@|1|g' \ -e 's|@''HAVE_STRVERSCMP''@|1|g' \ -e 's|@''REPLACE_STPNCPY''@|0|g' \ -e 's|@''REPLACE_MEMCHR''@|0|g' \ -e 's|@''REPLACE_MEMMEM''@|0|g' \ -e 's|@''REPLACE_STRCASESTR''@|0|g' \ -e 's|@''REPLACE_STRCHRNUL''@|0|g' \ -e 's|@''REPLACE_STRDUP''@|0|g' \ -e 's|@''REPLACE_STRSTR''@|0|g' \ -e 's|@''REPLACE_STRERROR''@|1|g' \ -e 's|@''REPLACE_STRERROR_R''@|0|g' \ -e 's|@''REPLACE_STRNCAT''@|0|g' \ -e 's|@''REPLACE_STRNDUP''@|0|g' \ -e 's|@''REPLACE_STRNLEN''@|0|g' \ -e 's|@''REPLACE_STRSIGNAL''@|0|g' \ -e 's|@''REPLACE_STRTOK_R''@|0|g' \ -e 's|@''UNDEFINE_STRTOK_R''@|0|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \ -e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \ -e '/definition of _GL_WARN_ON_USE/r warn-on-use.h'; \ < ./string.in.h; \ } > string.h-t && \ mv string.h-t string.h /bin/mkdir -p sys rm -f sys/stat.h-t sys/stat.h && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \ -e 's|@''PRAGMA_COLUMNS''@||g' \ -e 's|@''NEXT_SYS_STAT_H''@|<sys/stat.h>|g' \ -e 's/@''GNULIB_FCHMODAT''@/0/g' \ -e 's/@''GNULIB_FSTATAT''@/0/g' \ -e 's/@''GNULIB_FUTIMENS''@/0/g' \ -e 's/@''GNULIB_LCHMOD''@/0/g' \ -e 's/@''GNULIB_LSTAT''@/1/g' \ -e 's/@''GNULIB_MKDIRAT''@/0/g' \ -e 's/@''GNULIB_MKFIFO''@/0/g' \ -e 's/@''GNULIB_MKFIFOAT''@/0/g' \ -e 's/@''GNULIB_MKNOD''@/0/g' \ -e 's/@''GNULIB_MKNODAT''@/0/g' \ -e 's/@''GNULIB_STAT''@/1/g' \ -e 's/@''GNULIB_UTIMENSAT''@/0/g' \ -e 's|@''HAVE_FCHMODAT''@|1|g' \ -e 's|@''HAVE_FSTATAT''@|1|g' \ -e 's|@''HAVE_FUTIMENS''@|1|g' \ -e 's|@''HAVE_LCHMOD''@|1|g' \ -e 's|@''HAVE_LSTAT''@|1|g' \ -e 's|@''HAVE_MKDIRAT''@|1|g' \ -e 's|@''HAVE_MKFIFO''@|1|g' \ -e 's|@''HAVE_MKFIFOAT''@|1|g' \ -e 's|@''HAVE_MKNOD''@|1|g' \ -e 's|@''HAVE_MKNODAT''@|1|g' \ -e 's|@''HAVE_UTIMENSAT''@|1|g' \ -e 's|@''REPLACE_FSTAT''@|0|g' \ -e 's|@''REPLACE_FSTATAT''@|0|g' \ -e 's|@''REPLACE_FUTIMENS''@|0|g' \ -e 's|@''REPLACE_LSTAT''@|1|g' \ -e 's|@''REPLACE_MKDIR''@|0|g' \ -e 's|@''REPLACE_MKFIFO''@|0|g' \ -e 's|@''REPLACE_MKNOD''@|0|g' \ -e 's|@''REPLACE_STAT''@|1|g' \ -e 's|@''REPLACE_UTIMENSAT''@|0|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \ -e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \ -e '/definition of _GL_WARN_ON_USE/r warn-on-use.h' \ < ./sys_stat.in.h; \ } > sys/stat.h-t && \ mv sys/stat.h-t sys/stat.h rm -f time.h-t time.h && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \ -e 's|@''PRAGMA_COLUMNS''@||g' \ -e 's|@''NEXT_TIME_H''@|<time.h>|g' \ -e 's/@''GNULIB_MKTIME''@/0/g' \ -e 's/@''GNULIB_NANOSLEEP''@/0/g' \ -e 's/@''GNULIB_STRPTIME''@/0/g' \ -e 's/@''GNULIB_TIMEGM''@/0/g' \ -e 's/@''GNULIB_TIME_R''@/0/g' \ -e 's|@''HAVE_DECL_LOCALTIME_R''@|1|g' \ -e 's|@''HAVE_NANOSLEEP''@|1|g' \ -e 's|@''HAVE_STRPTIME''@|1|g' \ -e 's|@''HAVE_TIMEGM''@|1|g' \ -e 's|@''REPLACE_LOCALTIME_R''@|GNULIB_PORTCHECK|g' \ -e 's|@''REPLACE_MKTIME''@|GNULIB_PORTCHECK|g' \ -e 's|@''REPLACE_NANOSLEEP''@|GNULIB_PORTCHECK|g' \ -e 's|@''REPLACE_TIMEGM''@|GNULIB_PORTCHECK|g' \ -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|0|g' \ -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|0|g' \ -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|1|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \ -e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \ -e '/definition of _GL_WARN_ON_USE/r warn-on-use.h' \ < ./time.in.h; \ } > time.h-t && \ mv time.h-t time.h rm -f unistd.h-t unistd.h && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''HAVE_UNISTD_H''@|1|g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \ -e 's|@''PRAGMA_COLUMNS''@||g' \ -e 's|@''NEXT_UNISTD_H''@|<unistd.h>|g' \ -e 's/@''GNULIB_CHOWN''@/0/g' \ -e 's/@''GNULIB_CLOSE''@/0/g' \ -e 's/@''GNULIB_DUP2''@/0/g' \ -e 's/@''GNULIB_DUP3''@/0/g' \ -e 's/@''GNULIB_ENVIRON''@/1/g' \ -e 's/@''GNULIB_EUIDACCESS''@/0/g' \ -e 's/@''GNULIB_FACCESSAT''@/0/g' \ -e 's/@''GNULIB_FCHDIR''@/0/g' \ -e 's/@''GNULIB_FCHOWNAT''@/0/g' \ -e 's/@''GNULIB_FSYNC''@/0/g' \ -e 's/@''GNULIB_FTRUNCATE''@/0/g' \ -e 's/@''GNULIB_GETCWD''@/0/g' \ -e 's/@''GNULIB_GETDOMAINNAME''@/0/g' \ -e 's/@''GNULIB_GETDTABLESIZE''@/0/g' \ -e 's/@''GNULIB_GETGROUPS''@/0/g' \ -e 's/@''GNULIB_GETHOSTNAME''@/0/g' \ -e 's/@''GNULIB_GETLOGIN''@/0/g' \ -e 's/@''GNULIB_GETLOGIN_R''@/0/g' \ -e 's/@''GNULIB_GETPAGESIZE''@/0/g' \ -e 's/@''GNULIB_GETUSERSHELL''@/0/g' \ -e 's/@''GNULIB_GROUP_MEMBER''@/0/g' \ -e 's/@''GNULIB_LCHOWN''@/0/g' \ -e 's/@''GNULIB_LINK''@/0/g' \ -e 's/@''GNULIB_LINKAT''@/0/g' \ -e 's/@''GNULIB_LSEEK''@/0/g' \ -e 's/@''GNULIB_PIPE''@/0/g' \ -e 's/@''GNULIB_PIPE2''@/0/g' \ -e 's/@''GNULIB_PREAD''@/0/g' \ -e 's/@''GNULIB_PWRITE''@/0/g' \ -e 's/@''GNULIB_READ''@/1/g' \ -e 's/@''GNULIB_READLINK''@/1/g' \ -e 's/@''GNULIB_READLINKAT''@/0/g' \ -e 's/@''GNULIB_RMDIR''@/0/g' \ -e 's/@''GNULIB_SLEEP''@/0/g' \ -e 's/@''GNULIB_SYMLINK''@/0/g' \ -e 's/@''GNULIB_SYMLINKAT''@/0/g' \ -e 's/@''GNULIB_TTYNAME_R''@/0/g' \ -e 's/@''GNULIB_UNISTD_H_GETOPT''@/0/g' \ -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/0/g' \ -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/1/g' \ -e 's/@''GNULIB_UNLINK''@/0/g' \ -e 's/@''GNULIB_UNLINKAT''@/0/g' \ -e 's/@''GNULIB_USLEEP''@/0/g' \ -e 's/@''GNULIB_WRITE''@/0/g' \ < ./unistd.in.h | \ sed -e 's|@''HAVE_CHOWN''@|1|g' \ -e 's|@''HAVE_DUP2''@|1|g' \ -e 's|@''HAVE_DUP3''@|1|g' \ -e 's|@''HAVE_EUIDACCESS''@|1|g' \ -e 's|@''HAVE_FACCESSAT''@|1|g' \ -e 's|@''HAVE_FCHDIR''@|1|g' \ -e 's|@''HAVE_FCHOWNAT''@|1|g' \ -e 's|@''HAVE_FSYNC''@|1|g' \ -e 's|@''HAVE_FTRUNCATE''@|1|g' \ -e 's|@''HAVE_GETDTABLESIZE''@|1|g' \ -e 's|@''HAVE_GETGROUPS''@|1|g' \ -e 's|@''HAVE_GETHOSTNAME''@|1|g' \ -e 's|@''HAVE_GETLOGIN''@|1|g' \ -e 's|@''HAVE_GETPAGESIZE''@|1|g' \ -e 's|@''HAVE_GROUP_MEMBER''@|1|g' \ -e 's|@''HAVE_LCHOWN''@|1|g' \ -e 's|@''HAVE_LINK''@|1|g' \ -e 's|@''HAVE_LINKAT''@|1|g' \ -e 's|@''HAVE_PIPE''@|1|g' \ -e 's|@''HAVE_PIPE2''@|1|g' \ -e 's|@''HAVE_PREAD''@|1|g' \ -e 's|@''HAVE_PWRITE''@|1|g' \ -e 's|@''HAVE_READLINK''@|1|g' \ -e 's|@''HAVE_READLINKAT''@|1|g' \ -e 's|@''HAVE_SLEEP''@|1|g' \ -e 's|@''HAVE_SYMLINK''@|1|g' \ -e 's|@''HAVE_SYMLINKAT''@|1|g' \ -e 's|@''HAVE_UNLINKAT''@|1|g' \ -e 's|@''HAVE_USLEEP''@|1|g' \ -e 's|@''HAVE_DECL_ENVIRON''@|1|g' \ -e 's|@''HAVE_DECL_FCHDIR''@|1|g' \ -e 's|@''HAVE_DECL_GETDOMAINNAME''@|1|g' \ -e 's|@''HAVE_DECL_GETLOGIN_R''@|1|g' \ -e 's|@''HAVE_DECL_GETPAGESIZE''@|1|g' \ -e 's|@''HAVE_DECL_GETUSERSHELL''@|1|g' \ -e 's|@''HAVE_DECL_TTYNAME_R''@|1|g' \ -e 's|@''HAVE_OS_H''@|0|g' \ -e 's|@''HAVE_SYS_PARAM_H''@|0|g' \ | \ sed -e 's|@''REPLACE_CHOWN''@|0|g' \ -e 's|@''REPLACE_CLOSE''@|0|g' \ -e 's|@''REPLACE_DUP''@|0|g' \ -e 's|@''REPLACE_DUP2''@|0|g' \ -e 's|@''REPLACE_FCHOWNAT''@|0|g' \ -e 's|@''REPLACE_GETCWD''@|0|g' \ -e 's|@''REPLACE_GETDOMAINNAME''@|0|g' \ -e 's|@''REPLACE_GETLOGIN_R''@|0|g' \ -e 's|@''REPLACE_GETGROUPS''@|0|g' \ -e 's|@''REPLACE_GETPAGESIZE''@|0|g' \ -e 's|@''REPLACE_LCHOWN''@|0|g' \ -e 's|@''REPLACE_LINK''@|0|g' \ -e 's|@''REPLACE_LINKAT''@|0|g' \ -e 's|@''REPLACE_LSEEK''@|0|g' \ -e 's|@''REPLACE_PREAD''@|0|g' \ -e 's|@''REPLACE_PWRITE''@|0|g' \ -e 's|@''REPLACE_READ''@|0|g' \ -e 's|@''REPLACE_READLINK''@|1|g' \ -e 's|@''REPLACE_RMDIR''@|0|g' \ -e 's|@''REPLACE_SLEEP''@|0|g' \ -e 's|@''REPLACE_SYMLINK''@|0|g' \ -e 's|@''REPLACE_TTYNAME_R''@|0|g' \ -e 's|@''REPLACE_UNLINK''@|0|g' \ -e 's|@''REPLACE_UNLINKAT''@|0|g' \ -e 's|@''REPLACE_USLEEP''@|0|g' \ -e 's|@''REPLACE_WRITE''@|0|g' \ -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|0|g' \ -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|0|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \ -e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \ -e '/definition of _GL_WARN_ON_USE/r warn-on-use.h'; \ } > unistd.h-t && \ mv unistd.h-t unistd.h rm -f unitypes.h-t unitypes.h && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ cat ./unitypes.in.h; \ } > unitypes.h-t && \ mv -f unitypes.h-t unitypes.h rm -f uniwidth.h-t uniwidth.h && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ cat ./uniwidth.in.h; \ } > uniwidth.h-t && \ mv -f uniwidth.h-t uniwidth.h make install-am make[2]: Verzeichnis „/home/all/Dokumente/libiconv-1.14/srclib“ wird betreten make[3]: Verzeichnis „/home/all/Dokumente/libiconv-1.14“ wird betreten make[3]: Für das Ziel „am--refresh“ ist nichts zu tun. make[3]: Verzeichnis „/home/all/Dokumente/libiconv-1.14“ wird verlassen gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -I../lib -I../intl -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -g -O2 -c allocator.c gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -I../lib -I../intl -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -g -O2 -c areadlink.c gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -I../lib -I../intl -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -g -O2 -c careadlinkat.c gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -I../lib -I../intl -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -g -O2 -c malloca.c gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -I../lib -I../intl -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -g -O2 -c progname.c In file included from progname.c:26:0: ./stdio.h:1010:1: error: ‘gets’ undeclared here (not in a function) _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); ^ Makefile:914: die Regel für Ziel „progname.o“ scheiterte make[2]: *** [progname.o] Fehler 1 make[2]: Verzeichnis „/home/all/Dokumente/libiconv-1.14/srclib“ wird verlassen Makefile:1022: die Regel für Ziel „install“ scheiterte make[1]: *** [install] Fehler 2 make[1]: Verzeichnis „/home/all/Dokumente/libiconv-1.14/srclib“ wird verlassen Makefile:52: die Regel für Ziel „install“ scheiterte make: *** [install] Fehler 2 all@all-VirtualBox:~/Dokumente/libiconv-1.14$
ok next error, but i´m not looking on output...
Part 2
- sodu make install
-
now libiconv should be compiled.
15. unpack the mariadb 2.0.0 connector and go to the directory, open there the terminal
16. type mkdir build && cd build
17. type PKG_CONFIG_PATH=$SR/usr/lib/pkgconfig
18. sudo cmake -DCMAKE_AR="$BR"ar -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER="$BR"gcc -DCMAKE_C_FLAGS=--sysroot=$SR -DCMAKE_INSTALL_PREFIX=$SR/usr -DCMAKE_LINKER="$BR"ld -DCMAKE_NM="$BR"nm -DCMAKE_OBJCOPY="$BR"objcopy -DCMAKE_OBJDUMP="$BR"objdump -DCMAKE_RANLIB="$BR"ranlib -DCMAKE_STRIP="$BR"strip -DWITH_EXTERNAL_ZLIB=ON -DICONV_INCLUDE_DIR=$SR/usr/include -DICONV_LIBRARIES=$SR/usr/lib/libiconv.a -DZLIB_INCLUDE_DIR=$SR/usr/include -DZLIB_LIBRARY=$SR/usr/lib/libz.so ../
output is:all@all-VirtualBox:~/Dokumente/mariadb_client-2.0.0-src/build$ sudo cmake -DCMAKE_AR="$BR"ar -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER="$BR"gcc -DCMAKE_C_FLAGS=--sysroot=$SR -DCMAKE_INSTALL_PREFIX=$SR/usr -DCMAKE_LINKER="$BR"ld -DCMAKE_NM="$BR"nm -DCMAKE_OBJCOPY="$BR"objcopy -DCMAKE_OBJDUMP="$BR"objdump -DCMAKE_RANLIB="$BR"ranlib -DCMAKE_STRIP="$BR"strip -DWITH_EXTERNAL_ZLIB=ON -DICONV_INCLUDE_DIR=$SR/usr/include -DICONV_LIBRARIES=$SR/usr/lib/libiconv.a -DZLIB_INCLUDE_DIR=$SR/usr/include -DZLIB_LIBRARY=$SR/usr/lib/libz.so ../ -- The C compiler identification is GNU 4.8.0 -- Check for working C compiler: /home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc -- Check for working C compiler: /home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Looking for inet_ntoa -- Looking for inet_ntoa - found -- Looking for bind -- Looking for bind - found -- Looking for setsockopt -- Looking for setsockopt - found -- Looking for dlopen -- Looking for dlopen - found -- Looking for floor -- Looking for floor - not found -- Looking for floor in m -- Looking for floor in m - found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - found -- Found Threads: TRUE -- Looking for include file alloca.h -- Looking for include file alloca.h - found -- Looking for include file arpa/inet.h -- Looking for include file arpa/inet.h - found -- Looking for include file crypt.h -- Looking for include file crypt.h - not found -- Looking for include file dirent.h -- Looking for include file dirent.h - found -- Looking for include file dlfcn.h -- Looking for include file dlfcn.h - found -- Looking for include file execinfo.h -- Looking for include file execinfo.h - not found -- Looking for include file fcntl.h -- Looking for include file fcntl.h - found -- Looking for include file fenv.h -- Looking for include file fenv.h - found -- Looking for include file float.h -- Looking for include file float.h - found -- Looking for include file fpu/control.h -- Looking for include file fpu/control.h - not found -- Looking for include file grp.h -- Looking for include file grp.h - found -- Looking for include file ieeefp.h -- Looking for include file ieeefp.h - not found -- Looking for include file limits.h -- Looking for include file limits.h - found -- Looking for include file malloc.h -- Looking for include file malloc.h - found -- Looking for include file memory.h -- Looking for include file memory.h - found -- Looking for include file netinet/in.h -- Looking for include file netinet/in.h - found -- Looking for include file paths.h -- Looking for include file paths.h - found -- Looking for include file pwd.h -- Looking for include file pwd.h - found -- Looking for include file sched.h -- Looking for include file sched.h - found -- Looking for include file select.h -- Looking for include file select.h - not found -- Looking for include file signal.h -- Looking for include file signal.h - found -- Looking for include file stddef.h -- Looking for include file stddef.h - found -- Looking for include file stdint.h -- Looking for include file stdint.h - found -- Looking for include file stdlib.h -- Looking for include file stdlib.h - found -- Looking for include file string.h -- Looking for include file string.h - found -- Looking for include file strings.h -- Looking for include file strings.h - found -- Looking for include file synch.h -- Looking for include file synch.h - not found -- Looking for include file sys/fpu.h -- Looking for include file sys/fpu.h - not found -- Looking for include file sys/ioctl.h -- Looking for include file sys/ioctl.h - found -- Looking for include file sys/ipc.h -- Looking for include file sys/ipc.h - found -- Looking for include file sys/mman.h -- Looking for include file sys/mman.h - found -- Looking for include file sys/prctl.h -- Looking for include file sys/prctl.h - found -- Looking for include file sys/select.h -- Looking for include file sys/select.h - found -- Looking for include file sys/shm.h -- Looking for include file sys/shm.h - not found -- Looking for include file sys/socket.h -- Looking for include file sys/socket.h - found -- Looking for include file sys/stat.h -- Looking for include file sys/stat.h - found -- Looking for include file sys/stream.h -- Looking for include file sys/stream.h - not found -- Looking for include file sys/timeb.h -- Looking for include file sys/timeb.h - found -- Looking for include file sys/types.h -- Looking for include file sys/types.h - found -- Looking for include file sys/un.h -- Looking for include file sys/un.h - found -- Looking for include file sysent.h -- Looking for include file sysent.h - not found -- Looking for include file termio.h -- Looking for include file termio.h - found -- Looking for include file termios.h -- Looking for include file termios.h - found -- Looking for include file unistd.h -- Looking for include file unistd.h - found -- Looking for include file utime.h -- Looking for include file utime.h - found -- Looking for access -- Looking for access - found -- Looking for aiowait -- Looking for aiowait - not found -- Looking for alarm -- Looking for alarm - found -- Looking for alloca -- Looking for alloca - not found -- Looking for bcmp -- Looking for bcmp - not found -- Looking for bfill -- Looking for bfill - not found -- Looking for bmove -- Looking for bmove - not found -- Looking for bzero -- Looking for bzero - found -- Looking for clock_gettime -- Looking for clock_gettime - found -- Looking for compress -- Looking for compress - not found -- Looking for crypt -- Looking for crypt - not found -- Looking for dlerror -- Looking for dlerror - found -- Looking for dlopen -- Looking for dlopen - found -- Looking for fchmod -- Looking for fchmod - found -- Looking for fcntl -- Looking for fcntl - found -- Looking for fconvert -- Looking for fconvert - not found -- Looking for fdatasync -- Looking for fdatasync - found -- Looking for fesetround -- Looking for fesetround - not found -- Looking for finite -- Looking for finite - found -- Looking for fseeko -- Looking for fseeko - found -- Looking for fsync -- Looking for fsync - found -- Looking for getaddrinfo -- Looking for getaddrinfo - found -- Looking for getcwd -- Looking for getcwd - found -- Looking for gethostbyaddr_r -- Looking for gethostbyaddr_r - not found -- Looking for gethostbyname_r -- Looking for gethostbyname_r - found -- Looking for gethrtime -- Looking for gethrtime - not found -- Looking for getnameinfo -- Looking for getnameinfo - found -- Looking for getpagesize -- Looking for getpagesize - not found -- Looking for getpass -- Looking for getpass - not found -- Looking for getpassphrase -- Looking for getpassphrase - not found -- Looking for getpwnam -- Looking for getpwnam - found -- Looking for getpwuid -- Looking for getpwuid - found -- Looking for getrlimit -- Looking for getrlimit - found -- Looking for getrusage -- Looking for getrusage - found -- Looking for getwd -- Looking for getwd - not found -- Looking for gmtime_r -- Looking for gmtime_r - found -- Looking for initgroups -- Looking for initgroups - found -- Looking for ldiv -- Looking for ldiv - found -- Looking for localtime_r -- Looking for localtime_r - found -- Looking for log2 -- Looking for log2 - not found -- Looking for longjmp -- Looking for longjmp - found -- Looking for lstat -- Looking for lstat - found -- Looking for madvise -- Looking for madvise - found -- Looking for mallinfo -- Looking for mallinfo - found -- Looking for memalign -- Looking for memalign - found -- Looking for memcpy -- Looking for memcpy - found -- Looking for memmove -- Looking for memmove - found -- Looking for mkstemp -- Looking for mkstemp - found -- Looking for mlock -- Looking for mlock - found -- Looking for mlockall -- Looking for mlockall - not found -- Looking for mmap -- Looking for mmap - found -- Looking for mmap64 -- Looking for mmap64 - not found -- Looking for perror -- Looking for perror - found -- Looking for poll -- Looking for poll - found -- Looking for pread -- Looking for pread - found -- Looking for pthread_attr_create -- Looking for pthread_attr_create - not found -- Looking for pthread_attr_getstacksize -- Looking for pthread_attr_getstacksize - found -- Looking for pthread_attr_setprio -- Looking for pthread_attr_setprio - not found -- Looking for pthread_attr_setschedparam -- Looking for pthread_attr_setschedparam - found -- Looking for pthread_attr_setscope -- Looking for pthread_attr_setscope - found -- Looking for pthread_attr_setstacksize -- Looking for pthread_attr_setstacksize - found -- Looking for pthread_condattr_create -- Looking for pthread_condattr_create - not found -- Looking for pthread_init -- Looking for pthread_init - not found -- Looking for pthread_key_delete -- Looking for pthread_key_delete - found -- Looking for pthread_kill -- Looking for pthread_kill - found -- Looking for pthread_rwlock_rdlock -- Looking for pthread_rwlock_rdlock - found -- Looking for pthread_setprio_np -- Looking for pthread_setprio_np - not found -- Looking for pthread_setschedparam -- Looking for pthread_setschedparam - found -- Looking for pthread_sigmask -- Looking for pthread_sigmask - found -- Looking for pthread_threadmask -- Looking for pthread_threadmask - not found -- Looking for pthread_yield_np -- Looking for pthread_yield_np - not found -- Looking for readdir_r -- Looking for readdir_r - found -- Looking for readlink -- Looking for readlink - found -- Looking for realpath -- Looking for realpath - found -- Looking for rename -- Looking for rename - found -- Looking for sched_yield -- Looking for sched_yield - found -- Looking for select -- Looking for select - found -- Looking for setfd -- Looking for setfd - not found -- Looking for setfilepointer -- Looking for setfilepointer - not found -- Looking for sigaction -- Looking for sigaction - found -- Looking for sigthreadmask -- Looking for sigthreadmask - not found -- Looking for sigwait -- Looking for sigwait - found -- Looking for sleep -- Looking for sleep - found -- Looking for snprintf -- Looking for snprintf - found -- Looking for stpcpy -- Looking for stpcpy - not found -- Looking for strerror -- Looking for strerror - found -- Looking for strlcpy -- Looking for strlcpy - found -- Looking for strnlen -- Looking for strnlen - found -- Looking for strpbrk -- Looking for strpbrk - found -- Looking for strsep -- Looking for strsep - found -- Looking for strstr -- Looking for strstr - found -- Looking for strtok_r -- Looking for strtok_r - found -- Looking for strtol -- Looking for strtol - found -- Looking for strtoll -- Looking for strtoll - found -- Looking for strtoul -- Looking for strtoul - found -- Looking for strtoull -- Looking for strtoull - found -- Looking for tell -- Looking for tell - not found -- Looking for thr_setconcurrency -- Looking for thr_setconcurrency - not found -- Looking for thr_yield -- Looking for thr_yield - not found -- Looking for vasprintf -- Looking for vasprintf - found -- Looking for vsnprintf -- Looking for vsnprintf - found -- Check size of sigset_t -- Check size of sigset_t - done -- Check size of char -- Check size of char - done -- Check size of char * -- Check size of char * - done -- Check size of short -- Check size of short - done -- Check size of int -- Check size of int - done -- Check size of long -- Check size of long - done -- Check size of long long -- Check size of long long - done -- Check size of size_t -- Check size of size_t - done -- Check size of off_t -- Check size of off_t - done -- Check size of uchar -- Check size of uchar - failed -- Check size of uint -- Check size of uint - done -- Check size of ulong -- Check size of ulong - failed -- Check size of int8 -- Check size of int8 - failed -- Check size of uint8 -- Check size of uint8 - failed -- Check size of int16 -- Check size of int16 - failed -- Check size of uint16 -- Check size of uint16 - failed -- Check size of int32 -- Check size of int32 - failed -- Check size of uint32 -- Check size of uint32 - failed -- Check size of u_int32_t -- Check size of u_int32_t - done -- Check size of int64 -- Check size of int64 - failed -- Check size of uint64 -- Check size of uint64 - failed -- Check size of socklen_t -- Check size of socklen_t - failed -- Performing Test IS_VOID_SIGNAL -- Performing Test IS_VOID_SIGNAL - Success -- Performing Test IS_VOID_QSORT -- Performing Test IS_VOID_QSORT - Success -- Performing Test SOCKET_SIZE_FOUND_socklen_t -- Performing Test SOCKET_SIZE_FOUND_socklen_t - Success -- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_LIBRARIES OPENSSL_INCLUDE_DIR) -- Performing Test ICONV_SECOND_ARGUMENT_IS_CONST -- Performing Test ICONV_SECOND_ARGUMENT_IS_CONST - Failed -- Looking for getaddrinfo -- Looking for getaddrinfo - found -- Configuring done -- Generating done -- Build files have been written to: /home/all/Dokumente/mariadb_client-2.0.0-src/build
-
now i go to include/my_global.h and include in the #define _global_h block:
#ifndef ushort
#define ushort uint16
#endif -
i ump back to the terminal and type sodu make install
output is:
all@all-VirtualBox:~/Dokumente/mariadb_client-2.0.0-src/build$ sudo make installScanning dependencies of target libmariadb [ 1%] Building C object libmariadb/CMakeFiles/libmariadb.dir/array.c.o [ 1%] Building C object libmariadb/CMakeFiles/libmariadb.dir/ma_dyncol.c.o [ 2%] Building C object libmariadb/CMakeFiles/libmariadb.dir/bchange.c.o [ 2%] Building C object libmariadb/CMakeFiles/libmariadb.dir/bmove.c.o [ 3%] Building C object libmariadb/CMakeFiles/libmariadb.dir/bmove_upp.c.o [ 4%] Building C object libmariadb/CMakeFiles/libmariadb.dir/my_charset.c.o /home/all/Dokumente/mariadb_client-2.0.0-src/libmariadb/my_charset.c:55:19: fatal error: iconv.h: No such file or directory #include <iconv.h> ^ compilation terminated. libmariadb/CMakeFiles/libmariadb.dir/build.make:182: die Regel für Ziel „libmariadb/CMakeFiles/libmariadb.dir/my_charset.c.o“ scheiterte make[2]: *** [libmariadb/CMakeFiles/libmariadb.dir/my_charset.c.o] Fehler 1 CMakeFiles/Makefile2:143: die Regel für Ziel „libmariadb/CMakeFiles/libmariadb.dir/all“ scheiterte make[1]: *** [libmariadb/CMakeFiles/libmariadb.dir/all] Fehler 2 Makefile:149: die Regel für Ziel „all“ scheiterte make: *** [all] Fehler 2
oh another fail...
20.But it should everything fine, the structur of the build directory is:structur: all@all-VirtualBox:~/Dokumente/mariadb_client-2.0.0-src/build$ dir CMakeCache.txt CPackConfig.cmake libmariadb plugins CMakeFiles CPackSourceConfig.cmake Makefile cmake_install.cmake include mariadb_config
now i´m a little bit confused. in the instruction is now under deployment notes the command "$BR"objdump -p libqsqlmysql.so | grep NEEDED , but i dont have now an libqsqlmysql.so , so i think i have to go to the
qt directory, add an build directory and run there /home/Qt/build$ /home/Qt/5.7/Src/configure -platform linux-g++ -xplatform android-g++ -prefix /home/Qt/5.7 -no-icu -no-sql-sqlite -plugin-sql-mysql -I /home/all/Dokumente/mariadb_client-2.0.0-src/build/include -L /home/all/Dokumente/mariadb_client-2.0.0-src/build/libmariadb -openssl -I /home/all/Dokumente/openssl-1.0.1e/include -android-ndk /home/all/Dokumente/android-ndk-r10e -android-sdk /home/all/Dokumente/android-studio -opensource -confirm-license -nomake examples -no-compile-examples -nomake tests -skip qttranslations -skip qtserialport -v -opengl -egl -no-use-gold-linker -shared
for this i need the android sdk, there i loaded theAndroid stduio 3.0.1part 3
-