Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. How to build MySQL driver for Android?
Forum Updated to NodeBB v4.3 + New Features

How to build MySQL driver for Android?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
53 Posts 6 Posters 21.3k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Leonardo
    wrote on last edited by
    #20

    It's been a while since I've done this process. I was repeating it now to write a step by step tutorial to you and it's much more painful than I could remember... There are many errors and patches to apply along the process. I think it's just easier to share the binary I have obtained with you. I see you're using GCC 4.9. I've used 4.8. Maybe it still works.

    https://www.dropbox.com/s/e6ejk3nj1xljzs2/mysql-connector-android.7z?dl=0

    When building Qt, just add the following flags:

    configure ... -plugin-sql-mysql -I C:/path/to/mysql-connector-android/include -L C:/path/to/mysql-connector-android/lib/

    1 Reply Last reply
    1
    • A Offline
      A Offline
      Allerknappe
      wrote on last edited by
      #21

      ok im really gratefull for your source, so i try on.
      After i run the configure statement i got this output:
      0_1515567612077_fail3.jpg
      later i also try to run cmake but i got also an error...

      1 Reply Last reply
      0
      • A Offline
        A Offline
        Allerknappe
        wrote on last edited by Allerknappe
        #22

        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?

        1 Reply Last reply
        0
        • A Offline
          A Offline
          Allerknappe
          wrote on last edited by
          #23

          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...

          1 Reply Last reply
          0
          • L Offline
            L Offline
            Leonardo
            wrote on last edited by
            #24

            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

            1 Reply Last reply
            0
            • A Offline
              A Offline
              Allerknappe
              wrote on last edited by Allerknappe
              #25

              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

              1 Reply Last reply
              0
              • L Offline
                L Offline
                Leonardo
                wrote on last edited by
                #26

                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 ......

                1 Reply Last reply
                0
                • A Offline
                  A Offline
                  Allerknappe
                  wrote on last edited by
                  #27

                  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>
                  
                  1 Reply Last reply
                  0
                  • L Offline
                    L Offline
                    Leonardo
                    wrote on last edited by
                    #28

                    Wow. That's getting harder than expected. Can you check whether the file "C:\Qt\5.7\Src\qtbase/qmake/project.cpp" do exists?

                    1 Reply Last reply
                    0
                    • A Offline
                      A Offline
                      Allerknappe
                      wrote on last edited by
                      #29

                      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
                      
                      1 Reply Last reply
                      0
                      • A Offline
                        A Offline
                        Allerknappe
                        wrote on last edited by
                        #30

                        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

                        1 Reply Last reply
                        0
                        • A Offline
                          A Offline
                          Allerknappe
                          wrote on last edited by
                          #31

                          maybe you can load your .so for the 5.8 version up?

                          1 Reply Last reply
                          0
                          • L Offline
                            L Offline
                            Leonardo
                            wrote on last edited by
                            #32

                            The Qt version doesn't matter. The client library for mysql is the same. So your compilation is running, right?

                            1 Reply Last reply
                            0
                            • A Offline
                              A Offline
                              Allerknappe
                              wrote on last edited by Allerknappe
                              #33

                              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

                              1 Reply Last reply
                              0
                              • L Offline
                                L Offline
                                Leonardo
                                wrote on last edited by
                                #34

                                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.

                                1 Reply Last reply
                                0
                                • A Offline
                                  A Offline
                                  Allerknappe
                                  wrote on last edited by
                                  #35

                                  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

                                  i see only one ndk-bundle?

                                  1 Reply Last reply
                                  0
                                  • L Offline
                                    L Offline
                                    Leonardo
                                    wrote on last edited by
                                    #36

                                    Oh, sorry. My mistake.

                                    I don't understand what's wrong either. I've done just as I told you and it works fine. 🤔

                                    1 Reply Last reply
                                    0
                                    • A Offline
                                      A Offline
                                      Allerknappe
                                      wrote on last edited by
                                      #37

                                      ok, no problem.
                                      i try to load all libs and software new, maybe some files are broken...

                                      1 Reply Last reply
                                      0
                                      • A Offline
                                        A Offline
                                        Allerknappe
                                        wrote on last edited by
                                        #38

                                        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_Android

                                        but 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?

                                        1 Reply Last reply
                                        0
                                        • A Offline
                                          A Offline
                                          Allerknappe
                                          wrote on last edited by
                                          #39

                                          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:

                                          1. open Terminal and type SR=/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm

                                          2. type BR=/home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-

                                          3. unpack Openssl in /home/all/Dokumente

                                          4. open the Terminal in the unpacked openssl directory

                                          5. type RANLIB="$BR"ranlib

                                          6. CC="$BR"gcc

                                          7. 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.
                                          
                                          1. ANDROID_DEV=$SR/usr
                                          2. 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
                                          
                                          1. now compiling libiconv 1.14, first unpack them and go to the unpacked directory and change the terminal to this directory
                                          2. 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
                                          3. 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

                                          1 Reply Last reply
                                          0

                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Users
                                          • Groups
                                          • Search
                                          • Get Qt Extensions
                                          • Unsolved