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
    #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
                  • A Offline
                    A Offline
                    Allerknappe
                    wrote on last edited by
                    #40
                    1. sodu make install
                      output is:
                    
                    all@all-VirtualBox:~/Dokumente/libiconv-1.14$ sudo make install
                    builddir="`pwd`"; cd libcharset && make all && make install-lib libdir="$builddir/lib" includedir="$builddir/lib"
                    make[1]: Verzeichnis „/home/all/Dokumente/libiconv-1.14/libcharset“ wird betreten
                    if [ ! -d include ] ; then mkdir include ; fi
                    cp ./include/libcharset.h.in include/libcharset.h
                    cd lib && make all
                    make[2]: Verzeichnis „/home/all/Dokumente/libiconv-1.14/libcharset/lib“ wird betreten
                    /bin/bash ../libtool --mode=compile gcc -I. -I. -I.. -I./.. -I../include -g -O2 -fvisibility=hidden  -DLIBDIR=\"/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib\" -DBUILDING_LIBCHARSET -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libcharset_set_relocation_prefix -Drelocate=libcharset_relocate -DHAVE_CONFIG_H -c ./localcharset.c
                    libtool: compile:  gcc -I. -I. -I.. -I./.. -I../include -g -O2 -fvisibility=hidden -DLIBDIR=\"/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib\" -DBUILDING_LIBCHARSET -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libcharset_set_relocation_prefix -Drelocate=libcharset_relocate -DHAVE_CONFIG_H -c ./localcharset.c -o localcharset.o
                    /bin/bash ../libtool --mode=compile gcc -I. -I. -I.. -I./.. -I../include -g -O2 -fvisibility=hidden  -DLIBDIR=\"/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib\" -DBUILDING_LIBCHARSET -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libcharset_set_relocation_prefix -Drelocate=libcharset_relocate -DHAVE_CONFIG_H -c ./relocatable.c
                    libtool: compile:  gcc -I. -I. -I.. -I./.. -I../include -g -O2 -fvisibility=hidden -DLIBDIR=\"/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib\" -DBUILDING_LIBCHARSET -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libcharset_set_relocation_prefix -Drelocate=libcharset_relocate -DHAVE_CONFIG_H -c ./relocatable.c -o relocatable.o
                    /bin/bash ../libtool --mode=link gcc  -g -O2 -fvisibility=hidden -o libcharset.la -rpath /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib -version-info 1:0:0 -no-undefined localcharset.lo relocatable.lo
                    libtool: link: ar cru .libs/libcharset.a  localcharset.o relocatable.o
                    ar: `u' modifier ignored since `D' is the default (see `U')
                    libtool: link: ranlib .libs/libcharset.a
                    libtool: link: ( cd ".libs" && rm -f "libcharset.la" && ln -s "../libcharset.la" "libcharset.la" )
                    /bin/sh ./config.charset 'arm-unknown-none' > t-charset.alias
                    mv t-charset.alias charset.alias
                    sed -e '/^#/d' -e 's/@''PACKAGE''@//g' ./ref-add.sin > t-ref-add.sed
                    mv t-ref-add.sed ref-add.sed
                    sed -e '/^#/d' -e 's/@''PACKAGE''@//g' ./ref-del.sin > t-ref-del.sed
                    mv t-ref-del.sed ref-del.sed
                    make[2]: Verzeichnis „/home/all/Dokumente/libiconv-1.14/libcharset/lib“ wird verlassen
                    make[1]: Verzeichnis „/home/all/Dokumente/libiconv-1.14/libcharset“ wird verlassen
                    make[1]: Verzeichnis „/home/all/Dokumente/libiconv-1.14/libcharset“ wird betreten
                    cd lib && make all
                    make[2]: Verzeichnis „/home/all/Dokumente/libiconv-1.14/libcharset/lib“ wird betreten
                    make[2]: Für das Ziel „all“ ist nichts zu tun.
                    make[2]: Verzeichnis „/home/all/Dokumente/libiconv-1.14/libcharset/lib“ wird verlassen
                    cd lib && make install-lib libdir='/home/all/Dokumente/libiconv-1.14/lib' includedir='/home/all/Dokumente/libiconv-1.14/lib'
                    make[2]: Verzeichnis „/home/all/Dokumente/libiconv-1.14/libcharset/lib“ wird betreten
                    /bin/sh ../build-aux/mkinstalldirs /home/all/Dokumente/libiconv-1.14/lib
                    /bin/bash ../libtool --mode=install /usr/bin/install -c -m 644 libcharset.la /home/all/Dokumente/libiconv-1.14/lib/libcharset.la
                    libtool: install: /usr/bin/install -c -m 644 .libs/libcharset.lai /home/all/Dokumente/libiconv-1.14/lib/libcharset.la
                    libtool: install: /usr/bin/install -c -m 644 .libs/libcharset.a /home/all/Dokumente/libiconv-1.14/lib/libcharset.a
                    libtool: install: chmod 644 /home/all/Dokumente/libiconv-1.14/lib/libcharset.a
                    libtool: install: ranlib /home/all/Dokumente/libiconv-1.14/lib/libcharset.a
                    libtool: install: warning: remember to run `libtool --finish /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib'
                    test -f /home/all/Dokumente/libiconv-1.14/lib/charset.alias && orig=/home/all/Dokumente/libiconv-1.14/lib/charset.alias \
                                                    || orig=charset.alias; \
                    sed -f ref-add.sed $orig > /home/all/Dokumente/libiconv-1.14/lib/t-charset.alias; \
                    /usr/bin/install -c -m 644 /home/all/Dokumente/libiconv-1.14/lib/t-charset.alias /home/all/Dokumente/libiconv-1.14/lib/charset.alias; \
                    rm -f /home/all/Dokumente/libiconv-1.14/lib/t-charset.alias
                    make[2]: Verzeichnis „/home/all/Dokumente/libiconv-1.14/libcharset/lib“ wird verlassen
                    /bin/sh ./build-aux/mkinstalldirs /home/all/Dokumente/libiconv-1.14/lib
                    /usr/bin/install -c -m 644 include/libcharset.h /home/all/Dokumente/libiconv-1.14/lib/libcharset.h
                    /usr/bin/install -c -m 644 include/localcharset.h.inst /home/all/Dokumente/libiconv-1.14/lib/localcharset.h
                    make[1]: Verzeichnis „/home/all/Dokumente/libiconv-1.14/libcharset“ wird verlassen
                    cd libcharset && make install prefix='/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr' exec_prefix='/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr' libdir='/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib'
                    make[1]: Verzeichnis „/home/all/Dokumente/libiconv-1.14/libcharset“ wird betreten
                    cd lib && make install prefix='/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr' exec_prefix='/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr' libdir='/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib'
                    make[2]: Verzeichnis „/home/all/Dokumente/libiconv-1.14/libcharset/lib“ wird betreten
                    if test yes = no; then \
                      case 'none' in \
                        darwin[56]*) \
                          need_charset_alias=true ;; \
                        darwin* | cygwin* | mingw* | pw32* | cegcc*) \
                          need_charset_alias=false ;; \
                        *) \
                          need_charset_alias=true ;; \
                      esac ; \
                    else \
                      need_charset_alias=false ; \
                    fi ; \
                    /bin/sh ../build-aux/mkinstalldirs /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib ; \
                    /bin/bash ../libtool --mode=install /usr/bin/install -c -m 644 libcharset.la /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib/libcharset.la
                    libtool: install: /usr/bin/install -c -m 644 .libs/libcharset.lai /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib/libcharset.la
                    libtool: install: /usr/bin/install -c -m 644 .libs/libcharset.a /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib/libcharset.a
                    libtool: install: chmod 644 /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib/libcharset.a
                    libtool: install: ranlib /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib/libcharset.a
                    if test -f /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib/charset.alias; then \
                      sed -f ref-add.sed /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib/charset.alias > /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib/t-charset.alias; \
                      /usr/bin/install -c -m 644 /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib/t-charset.alias /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib/charset.alias; \
                      rm -f /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib/t-charset.alias; \
                    else \
                      if $need_charset_alias; then \
                        sed -f ref-add.sed charset.alias > /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib/t-charset.alias; \
                        /usr/bin/install -c -m 644 /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib/t-charset.alias /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib/charset.alias; \
                        rm -f /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib/t-charset.alias; \
                      fi ; \
                    fi
                    make[2]: Verzeichnis „/home/all/Dokumente/libiconv-1.14/libcharset/lib“ wird verlassen
                    /bin/sh ./build-aux/mkinstalldirs /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/include
                    /usr/bin/install -c -m 644 include/libcharset.h /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/include/libcharset.h
                    /usr/bin/install -c -m 644 include/localcharset.h.inst /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/include/localcharset.h
                    make[1]: Verzeichnis „/home/all/Dokumente/libiconv-1.14/libcharset“ wird verlassen
                    cd lib && make install prefix='/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr' exec_prefix='/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr' libdir='/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib'
                    make[1]: Verzeichnis „/home/all/Dokumente/libiconv-1.14/lib“ wird betreten
                    /bin/bash ../libtool --mode=compile gcc -I. -I. -I../include -I./../include -I.. -I./..  -g -O2 -fvisibility=hidden -DLIBDIR=\"/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib\" -DBUILDING_LIBICONV -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libiconv_set_relocation_prefix -Drelocate=libiconv_relocate -DHAVE_CONFIG_H -c ./iconv.c
                    libtool: compile:  gcc -I. -I. -I../include -I./../include -I.. -I./.. -g -O2 -fvisibility=hidden -DLIBDIR=\"/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib\" -DBUILDING_LIBICONV -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libiconv_set_relocation_prefix -Drelocate=libiconv_relocate -DHAVE_CONFIG_H -c ./iconv.c -o iconv.o
                    /bin/bash ../libtool --mode=compile gcc -I. -I. -I../include -I./../include -I.. -I./..  -g -O2 -fvisibility=hidden -DLIBDIR=\"/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib\" -DBUILDING_LIBICONV -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libiconv_set_relocation_prefix -Drelocate=libiconv_relocate -DHAVE_CONFIG_H -c ./../libcharset/lib/localcharset.c
                    libtool: compile:  gcc -I. -I. -I../include -I./../include -I.. -I./.. -g -O2 -fvisibility=hidden -DLIBDIR=\"/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib\" -DBUILDING_LIBICONV -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libiconv_set_relocation_prefix -Drelocate=libiconv_relocate -DHAVE_CONFIG_H -c ./../libcharset/lib/localcharset.c -o localcharset.o
                    /bin/bash ../libtool --mode=compile gcc -I. -I. -I../include -I./../include -I.. -I./..  -g -O2 -fvisibility=hidden -DLIBDIR=\"/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib\" -DBUILDING_LIBICONV -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libiconv_set_relocation_prefix -Drelocate=libiconv_relocate -DHAVE_CONFIG_H -c ./relocatable.c
                    libtool: compile:  gcc -I. -I. -I../include -I./../include -I.. -I./.. -g -O2 -fvisibility=hidden -DLIBDIR=\"/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib\" -DBUILDING_LIBICONV -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libiconv_set_relocation_prefix -Drelocate=libiconv_relocate -DHAVE_CONFIG_H -c ./relocatable.c -o relocatable.o
                    /bin/bash ../libtool --mode=link gcc  -g -O2 -fvisibility=hidden -o libiconv.la -rpath /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib -version-info 7:1:5 -no-undefined iconv.lo localcharset.lo relocatable.lo  
                    libtool: link: ar cru .libs/libiconv.a  iconv.o localcharset.o relocatable.o
                    ar: `u' modifier ignored since `D' is the default (see `U')
                    libtool: link: ranlib .libs/libiconv.a
                    libtool: link: ( cd ".libs" && rm -f "libiconv.la" && ln -s "../libiconv.la" "libiconv.la" )
                    if [ ! -d /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib ] ; then /bin/sh ../build-aux/mkinstalldirs /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib ; fi
                    /bin/bash ../libtool --mode=install /usr/bin/install -c -m 644 libiconv.la /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib/libiconv.la
                    libtool: install: /usr/bin/install -c -m 644 .libs/libiconv.lai /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib/libiconv.la
                    libtool: install: /usr/bin/install -c -m 644 .libs/libiconv.a /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib/libiconv.a
                    libtool: install: chmod 644 /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib/libiconv.a
                    libtool: install: ranlib /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib/libiconv.a
                    case "none" in \
                      aix*) (cd /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib && \
                             objects=`ar t libiconv.a`" "`ar t /lib/libiconv.a` && \
                             ar x libiconv.a && ar x /lib/libiconv.a && \
                             ar q libiconv.new.a $objects && \
                             rm -f $objects && \
                             mv -f libiconv.new.a libiconv.a) ;; \
                    esac
                    make[1]: Verzeichnis „/home/all/Dokumente/libiconv-1.14/lib“ wird verlassen
                    cd preload && make install prefix='/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr' exec_prefix='/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr' libdir='/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib'
                    make[1]: Verzeichnis „/home/all/Dokumente/libiconv-1.14/preload“ wird betreten
                    if [ ! -d /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib ] ; then /bin/sh ./build-aux/mkinstalldirs /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib ; fi
                    if test -n ""; then /usr/bin/install -c -m 644  /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib/.new && mv /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib/.new /home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib/ ; fi
                    make[1]: Verzeichnis „/home/all/Dokumente/libiconv-1.14/preload“ wird verlassen
                    cd srclib && make install prefix='/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr' exec_prefix='/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr' libdir='/home/all/Dokumente/android-ndk-r10e/platforms/android-9/arch-arm/usr/lib'
                    make[1]: Verzeichnis „/home/all/Dokumente/libiconv-1.14/srclib“ wird betreten
                    make[2]: Verzeichnis „/home/all/Dokumente/libiconv-1.14“ wird betreten
                    make[2]: Für das Ziel „am--refresh“ ist nichts zu tun.
                    make[2]: Verzeichnis „/home/all/Dokumente/libiconv-1.14“ wird verlassen
                    rm -f alloca.h-t alloca.h && \
                    { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
                      cat ./alloca.in.h; \
                    } > alloca.h-t && \
                    
                    ...
                    
                    mv stdlib.h-t stdlib.h
                    rm -f string.h-t string.h && \
                    { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
                      sed -e 's|@''GUARD_PREFIX''@|GL|g' \
                          -e 's|@''INCLUDE_NEXT''@|include_next|g' \
                          -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
                          -e 's|@''PRAGMA_COLUMNS''@||g' \
                          -e 's|@''NEXT_STRING_H''@|<string.h>|g' \
                          -e 's/@''GNULIB_FFSL''@/0/g' \
                          -e 's/@''GNULIB_FFSLL''@/0/g' \
                          -e 's/@''GNULIB_MBSLEN''@/0/g' \
                          -e 's/@''GNULIB_MBSNLEN''@/0/g' \
                          -e 's/@''GNULIB_MBSCHR''@/0/g' \
                          -e 's/@''GNULIB_MBSRCHR''@/0/g' \
                          -e 's/@''GNULIB_MBSSTR''@/0/g' \
                          -e 's/@''GNULIB_MBSCASECMP''@/0/g' \
                          -e 's/@''GNULIB_MBSNCASECMP''@/0/g' \
                          -e 's/@''GNULIB_MBSPCASECMP''@/0/g' \
                          -e 's/@''GNULIB_MBSCASESTR''@/0/g' \
                          -e 's/@''GNULIB_MBSCSPN''@/0/g' \
                          -e 's/@''GNULIB_MBSPBRK''@/0/g' \
                          -e 's/@''GNULIB_MBSSPN''@/0/g' \
                          -e 's/@''GNULIB_MBSSEP''@/0/g' \
                          -e 's/@''GNULIB_MBSTOK_R''@/0/g' \
                          -e 's/@''GNULIB_MEMCHR''@/0/g' \
                          -e 's/@''GNULIB_MEMMEM''@/0/g' \
                          -e 's/@''GNULIB_MEMPCPY''@/0/g' \
                          -e 's/@''GNULIB_MEMRCHR''@/0/g' \
                          -e 's/@''GNULIB_RAWMEMCHR''@/0/g' \
                          -e 's/@''GNULIB_STPCPY''@/0/g' \
                          -e 's/@''GNULIB_STPNCPY''@/0/g' \
                          -e 's/@''GNULIB_STRCHRNUL''@/0/g' \
                          -e 's/@''GNULIB_STRDUP''@/0/g' \
                          -e 's/@''GNULIB_STRNCAT''@/0/g' \
                          -e 's/@''GNULIB_STRNDUP''@/0/g' \
                          -e 's/@''GNULIB_STRNLEN''@/0/g' \
                          -e 's/@''GNULIB_STRPBRK''@/0/g' \
                          -e 's/@''GNULIB_STRSEP''@/0/g' \
                          -e 's/@''GNULIB_STRSTR''@/0/g' \
                          -e 's/@''GNULIB_STRCASESTR''@/0/g' \
                          -e 's/@''GNULIB_STRTOK_R''@/0/g' \
                          -e 's/@''GNULIB_STRERROR''@/1/g' \
                          -e 's/@''GNULIB_STRERROR_R''@/0/g' \
                          -e 's/@''GNULIB_STRSIGNAL''@/0/g' \
                          -e 's/@''GNULIB_STRVERSCMP''@/0/g' \
                          < ./string.in.h | \
                      sed -e 's|@''HAVE_FFSL''@|1|g' \
                          -e 's|@''HAVE_FFSLL''@|1|g' \
                          -e 's|@''HAVE_MBSLEN''@|0|g' \
                          -e 's|@''HAVE_MEMCHR''@|1|g' \
                          -e 's|@''HAVE_DECL_MEMMEM''@|1|g' \
                          -e 's|@''HAVE_MEMPCPY''@|1|g' \
                          -e 's|@''HAVE_DECL_MEMRCHR''@|1|g' \
                          -e 's|@''HAVE_RAWMEMCHR''@|1|g' \
                          -e 's|@''HAVE_STPCPY''@|1|g' \
                          -e 's|@''HAVE_STPNCPY''@|1|g' \
                          -e 's|@''HAVE_STRCHRNUL''@|1|g' \
                          -e 's|@''HAVE_DECL_STRDUP''@|1|g' \
                          -e 's|@''HAVE_DECL_STRNDUP''@|1|g' \
                          -e 's|@''HAVE_DECL_STRNLEN''@|1|g' \
                          -e 's|@''HAVE_STRPBRK''@|1|g' \
                          -e 's|@''HAVE_STRSEP''@|1|g' \
                          -e 's|@''HAVE_STRCASESTR''@|1|g' \
                          -e 's|@''HAVE_DECL_STRTOK_R''@|1|g' \
                          -e 's|@''HAVE_DECL_STRERROR_R''@|1|g' \
                          -e 's|@''HAVE_DECL_STRSIGNAL''@|1|g' \
                          -e 's|@''HAVE_STRVERSCMP''@|1|g' \
                          -e 's|@''REPLACE_STPNCPY''@|0|g' \
                          -e 's|@''REPLACE_MEMCHR''@|0|g' \
                          -e 's|@''REPLACE_MEMMEM''@|0|g' \
                          -e 's|@''REPLACE_STRCASESTR''@|0|g' \
                          -e 's|@''REPLACE_STRCHRNUL''@|0|g' \
                          -e 's|@''REPLACE_STRDUP''@|0|g' \
                          -e 's|@''REPLACE_STRSTR''@|0|g' \
                          -e 's|@''REPLACE_STRERROR''@|1|g' \
                          -e 's|@''REPLACE_STRERROR_R''@|0|g' \
                          -e 's|@''REPLACE_STRNCAT''@|0|g' \
                          -e 's|@''REPLACE_STRNDUP''@|0|g' \
                          -e 's|@''REPLACE_STRNLEN''@|0|g' \
                          -e 's|@''REPLACE_STRSIGNAL''@|0|g' \
                          -e 's|@''REPLACE_STRTOK_R''@|0|g' \
                          -e 's|@''UNDEFINE_STRTOK_R''@|0|g' \
                          -e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
                          -e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \
                          -e '/definition of _GL_WARN_ON_USE/r warn-on-use.h'; \
                          < ./string.in.h; \
                    } > string.h-t && \
                    mv string.h-t string.h
                    /bin/mkdir -p sys
                    rm -f sys/stat.h-t sys/stat.h && \
                    { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
                      sed -e 's|@''GUARD_PREFIX''@|GL|g' \
                          -e 's|@''INCLUDE_NEXT''@|include_next|g' \
                          -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
                          -e 's|@''PRAGMA_COLUMNS''@||g' \
                          -e 's|@''NEXT_SYS_STAT_H''@|<sys/stat.h>|g' \
                          -e 's/@''GNULIB_FCHMODAT''@/0/g' \
                          -e 's/@''GNULIB_FSTATAT''@/0/g' \
                          -e 's/@''GNULIB_FUTIMENS''@/0/g' \
                          -e 's/@''GNULIB_LCHMOD''@/0/g' \
                          -e 's/@''GNULIB_LSTAT''@/1/g' \
                          -e 's/@''GNULIB_MKDIRAT''@/0/g' \
                          -e 's/@''GNULIB_MKFIFO''@/0/g' \
                          -e 's/@''GNULIB_MKFIFOAT''@/0/g' \
                          -e 's/@''GNULIB_MKNOD''@/0/g' \
                          -e 's/@''GNULIB_MKNODAT''@/0/g' \
                          -e 's/@''GNULIB_STAT''@/1/g' \
                          -e 's/@''GNULIB_UTIMENSAT''@/0/g' \
                          -e 's|@''HAVE_FCHMODAT''@|1|g' \
                          -e 's|@''HAVE_FSTATAT''@|1|g' \
                          -e 's|@''HAVE_FUTIMENS''@|1|g' \
                          -e 's|@''HAVE_LCHMOD''@|1|g' \
                          -e 's|@''HAVE_LSTAT''@|1|g' \
                          -e 's|@''HAVE_MKDIRAT''@|1|g' \
                          -e 's|@''HAVE_MKFIFO''@|1|g' \
                          -e 's|@''HAVE_MKFIFOAT''@|1|g' \
                          -e 's|@''HAVE_MKNOD''@|1|g' \
                          -e 's|@''HAVE_MKNODAT''@|1|g' \
                          -e 's|@''HAVE_UTIMENSAT''@|1|g' \
                          -e 's|@''REPLACE_FSTAT''@|0|g' \
                          -e 's|@''REPLACE_FSTATAT''@|0|g' \
                          -e 's|@''REPLACE_FUTIMENS''@|0|g' \
                          -e 's|@''REPLACE_LSTAT''@|1|g' \
                          -e 's|@''REPLACE_MKDIR''@|0|g' \
                          -e 's|@''REPLACE_MKFIFO''@|0|g' \
                          -e 's|@''REPLACE_MKNOD''@|0|g' \
                          -e 's|@''REPLACE_STAT''@|1|g' \
                          -e 's|@''REPLACE_UTIMENSAT''@|0|g' \
                          -e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
                          -e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \
                          -e '/definition of _GL_WARN_ON_USE/r warn-on-use.h' \
                          < ./sys_stat.in.h; \
                    } > sys/stat.h-t && \
                    mv sys/stat.h-t sys/stat.h
                    rm -f time.h-t time.h && \
                    { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
                      sed -e 's|@''GUARD_PREFIX''@|GL|g' \
                          -e 's|@''INCLUDE_NEXT''@|include_next|g' \
                          -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
                          -e 's|@''PRAGMA_COLUMNS''@||g' \
                          -e 's|@''NEXT_TIME_H''@|<time.h>|g' \
                          -e 's/@''GNULIB_MKTIME''@/0/g' \
                          -e 's/@''GNULIB_NANOSLEEP''@/0/g' \
                          -e 's/@''GNULIB_STRPTIME''@/0/g' \
                          -e 's/@''GNULIB_TIMEGM''@/0/g' \
                          -e 's/@''GNULIB_TIME_R''@/0/g' \
                          -e 's|@''HAVE_DECL_LOCALTIME_R''@|1|g' \
                          -e 's|@''HAVE_NANOSLEEP''@|1|g' \
                          -e 's|@''HAVE_STRPTIME''@|1|g' \
                          -e 's|@''HAVE_TIMEGM''@|1|g' \
                          -e 's|@''REPLACE_LOCALTIME_R''@|GNULIB_PORTCHECK|g' \
                          -e 's|@''REPLACE_MKTIME''@|GNULIB_PORTCHECK|g' \
                          -e 's|@''REPLACE_NANOSLEEP''@|GNULIB_PORTCHECK|g' \
                          -e 's|@''REPLACE_TIMEGM''@|GNULIB_PORTCHECK|g' \
                          -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|0|g' \
                          -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|0|g' \
                          -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|1|g' \
                          -e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
                          -e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \
                          -e '/definition of _GL_WARN_ON_USE/r warn-on-use.h' \
                          < ./time.in.h; \
                    } > time.h-t && \
                    mv time.h-t time.h
                    rm -f unistd.h-t unistd.h && \
                    { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
                      sed -e 's|@''GUARD_PREFIX''@|GL|g' \
                          -e 's|@''HAVE_UNISTD_H''@|1|g' \
                          -e 's|@''INCLUDE_NEXT''@|include_next|g' \
                          -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
                          -e 's|@''PRAGMA_COLUMNS''@||g' \
                          -e 's|@''NEXT_UNISTD_H''@|<unistd.h>|g' \
                          -e 's/@''GNULIB_CHOWN''@/0/g' \
                          -e 's/@''GNULIB_CLOSE''@/0/g' \
                          -e 's/@''GNULIB_DUP2''@/0/g' \
                          -e 's/@''GNULIB_DUP3''@/0/g' \
                          -e 's/@''GNULIB_ENVIRON''@/1/g' \
                          -e 's/@''GNULIB_EUIDACCESS''@/0/g' \
                          -e 's/@''GNULIB_FACCESSAT''@/0/g' \
                          -e 's/@''GNULIB_FCHDIR''@/0/g' \
                          -e 's/@''GNULIB_FCHOWNAT''@/0/g' \
                          -e 's/@''GNULIB_FSYNC''@/0/g' \
                          -e 's/@''GNULIB_FTRUNCATE''@/0/g' \
                          -e 's/@''GNULIB_GETCWD''@/0/g' \
                          -e 's/@''GNULIB_GETDOMAINNAME''@/0/g' \
                          -e 's/@''GNULIB_GETDTABLESIZE''@/0/g' \
                          -e 's/@''GNULIB_GETGROUPS''@/0/g' \
                          -e 's/@''GNULIB_GETHOSTNAME''@/0/g' \
                          -e 's/@''GNULIB_GETLOGIN''@/0/g' \
                          -e 's/@''GNULIB_GETLOGIN_R''@/0/g' \
                          -e 's/@''GNULIB_GETPAGESIZE''@/0/g' \
                          -e 's/@''GNULIB_GETUSERSHELL''@/0/g' \
                          -e 's/@''GNULIB_GROUP_MEMBER''@/0/g' \
                          -e 's/@''GNULIB_LCHOWN''@/0/g' \
                          -e 's/@''GNULIB_LINK''@/0/g' \
                          -e 's/@''GNULIB_LINKAT''@/0/g' \
                          -e 's/@''GNULIB_LSEEK''@/0/g' \
                          -e 's/@''GNULIB_PIPE''@/0/g' \
                          -e 's/@''GNULIB_PIPE2''@/0/g' \
                          -e 's/@''GNULIB_PREAD''@/0/g' \
                          -e 's/@''GNULIB_PWRITE''@/0/g' \
                          -e 's/@''GNULIB_READ''@/1/g' \
                          -e 's/@''GNULIB_READLINK''@/1/g' \
                          -e 's/@''GNULIB_READLINKAT''@/0/g' \
                          -e 's/@''GNULIB_RMDIR''@/0/g' \
                          -e 's/@''GNULIB_SLEEP''@/0/g' \
                          -e 's/@''GNULIB_SYMLINK''@/0/g' \
                          -e 's/@''GNULIB_SYMLINKAT''@/0/g' \
                          -e 's/@''GNULIB_TTYNAME_R''@/0/g' \
                          -e 's/@''GNULIB_UNISTD_H_GETOPT''@/0/g' \
                          -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/0/g' \
                          -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/1/g' \
                          -e 's/@''GNULIB_UNLINK''@/0/g' \
                          -e 's/@''GNULIB_UNLINKAT''@/0/g' \
                          -e 's/@''GNULIB_USLEEP''@/0/g' \
                          -e 's/@''GNULIB_WRITE''@/0/g' \
                          < ./unistd.in.h | \
                      sed -e 's|@''HAVE_CHOWN''@|1|g' \
                          -e 's|@''HAVE_DUP2''@|1|g' \
                          -e 's|@''HAVE_DUP3''@|1|g' \
                          -e 's|@''HAVE_EUIDACCESS''@|1|g' \
                          -e 's|@''HAVE_FACCESSAT''@|1|g' \
                          -e 's|@''HAVE_FCHDIR''@|1|g' \
                          -e 's|@''HAVE_FCHOWNAT''@|1|g' \
                          -e 's|@''HAVE_FSYNC''@|1|g' \
                          -e 's|@''HAVE_FTRUNCATE''@|1|g' \
                          -e 's|@''HAVE_GETDTABLESIZE''@|1|g' \
                          -e 's|@''HAVE_GETGROUPS''@|1|g' \
                          -e 's|@''HAVE_GETHOSTNAME''@|1|g' \
                          -e 's|@''HAVE_GETLOGIN''@|1|g' \
                          -e 's|@''HAVE_GETPAGESIZE''@|1|g' \
                          -e 's|@''HAVE_GROUP_MEMBER''@|1|g' \
                          -e 's|@''HAVE_LCHOWN''@|1|g' \
                          -e 's|@''HAVE_LINK''@|1|g' \
                          -e 's|@''HAVE_LINKAT''@|1|g' \
                          -e 's|@''HAVE_PIPE''@|1|g' \
                          -e 's|@''HAVE_PIPE2''@|1|g' \
                          -e 's|@''HAVE_PREAD''@|1|g' \
                          -e 's|@''HAVE_PWRITE''@|1|g' \
                          -e 's|@''HAVE_READLINK''@|1|g' \
                          -e 's|@''HAVE_READLINKAT''@|1|g' \
                          -e 's|@''HAVE_SLEEP''@|1|g' \
                          -e 's|@''HAVE_SYMLINK''@|1|g' \
                          -e 's|@''HAVE_SYMLINKAT''@|1|g' \
                          -e 's|@''HAVE_UNLINKAT''@|1|g' \
                          -e 's|@''HAVE_USLEEP''@|1|g' \
                          -e 's|@''HAVE_DECL_ENVIRON''@|1|g' \
                          -e 's|@''HAVE_DECL_FCHDIR''@|1|g' \
                          -e 's|@''HAVE_DECL_GETDOMAINNAME''@|1|g' \
                          -e 's|@''HAVE_DECL_GETLOGIN_R''@|1|g' \
                          -e 's|@''HAVE_DECL_GETPAGESIZE''@|1|g' \
                          -e 's|@''HAVE_DECL_GETUSERSHELL''@|1|g' \
                          -e 's|@''HAVE_DECL_TTYNAME_R''@|1|g' \
                          -e 's|@''HAVE_OS_H''@|0|g' \
                          -e 's|@''HAVE_SYS_PARAM_H''@|0|g' \
                      | \
                      sed -e 's|@''REPLACE_CHOWN''@|0|g' \
                          -e 's|@''REPLACE_CLOSE''@|0|g' \
                          -e 's|@''REPLACE_DUP''@|0|g' \
                          -e 's|@''REPLACE_DUP2''@|0|g' \
                          -e 's|@''REPLACE_FCHOWNAT''@|0|g' \
                          -e 's|@''REPLACE_GETCWD''@|0|g' \
                          -e 's|@''REPLACE_GETDOMAINNAME''@|0|g' \
                          -e 's|@''REPLACE_GETLOGIN_R''@|0|g' \
                          -e 's|@''REPLACE_GETGROUPS''@|0|g' \
                          -e 's|@''REPLACE_GETPAGESIZE''@|0|g' \
                          -e 's|@''REPLACE_LCHOWN''@|0|g' \
                          -e 's|@''REPLACE_LINK''@|0|g' \
                          -e 's|@''REPLACE_LINKAT''@|0|g' \
                          -e 's|@''REPLACE_LSEEK''@|0|g' \
                          -e 's|@''REPLACE_PREAD''@|0|g' \
                          -e 's|@''REPLACE_PWRITE''@|0|g' \
                          -e 's|@''REPLACE_READ''@|0|g' \
                          -e 's|@''REPLACE_READLINK''@|1|g' \
                          -e 's|@''REPLACE_RMDIR''@|0|g' \
                          -e 's|@''REPLACE_SLEEP''@|0|g' \
                          -e 's|@''REPLACE_SYMLINK''@|0|g' \
                          -e 's|@''REPLACE_TTYNAME_R''@|0|g' \
                          -e 's|@''REPLACE_UNLINK''@|0|g' \
                          -e 's|@''REPLACE_UNLINKAT''@|0|g' \
                          -e 's|@''REPLACE_USLEEP''@|0|g' \
                          -e 's|@''REPLACE_WRITE''@|0|g' \
                          -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|0|g' \
                          -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|0|g' \
                          -e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
                          -e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \
                          -e '/definition of _GL_WARN_ON_USE/r warn-on-use.h'; \
                    } > unistd.h-t && \
                    mv unistd.h-t unistd.h
                    rm -f unitypes.h-t unitypes.h && \
                    { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
                      cat ./unitypes.in.h; \
                    } > unitypes.h-t && \
                    mv -f unitypes.h-t unitypes.h
                    rm -f uniwidth.h-t uniwidth.h && \
                    { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
                      cat ./uniwidth.in.h; \
                    } > uniwidth.h-t && \
                    mv -f uniwidth.h-t uniwidth.h
                    make  install-am
                    make[2]: Verzeichnis „/home/all/Dokumente/libiconv-1.14/srclib“ wird betreten
                    make[3]: Verzeichnis „/home/all/Dokumente/libiconv-1.14“ wird betreten
                    make[3]: Für das Ziel „am--refresh“ ist nichts zu tun.
                    make[3]: Verzeichnis „/home/all/Dokumente/libiconv-1.14“ wird verlassen
                    gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -I../lib  -I../intl -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1   -g -O2 -c allocator.c
                    gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -I../lib  -I../intl -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1   -g -O2 -c areadlink.c
                    gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -I../lib  -I../intl -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1   -g -O2 -c careadlinkat.c
                    gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -I../lib  -I../intl -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1   -g -O2 -c malloca.c
                    gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -I../lib  -I../intl -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1   -g -O2 -c progname.c
                    In file included from progname.c:26:0:
                    ./stdio.h:1010:1: error: ‘gets’ undeclared here (not in a function)
                     _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
                     ^
                    Makefile:914: die Regel für Ziel „progname.o“ scheiterte
                    make[2]: *** [progname.o] Fehler 1
                    make[2]: Verzeichnis „/home/all/Dokumente/libiconv-1.14/srclib“ wird verlassen
                    Makefile:1022: die Regel für Ziel „install“ scheiterte
                    make[1]: *** [install] Fehler 2
                    make[1]: Verzeichnis „/home/all/Dokumente/libiconv-1.14/srclib“ wird verlassen
                    Makefile:52: die Regel für Ziel „install“ scheiterte
                    make: *** [install] Fehler 2
                    all@all-VirtualBox:~/Dokumente/libiconv-1.14$
                    

                    ok next error, but i´m not looking on output...

                    Part 2

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

                      now libiconv should be compiled.
                      15. unpack the mariadb 2.0.0 connector and go to the directory, open there the terminal
                      16. type mkdir build && cd build
                      17. type PKG_CONFIG_PATH=$SR/usr/lib/pkgconfig
                      18. sudo cmake -DCMAKE_AR="$BR"ar -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER="$BR"gcc -DCMAKE_C_FLAGS=--sysroot=$SR -DCMAKE_INSTALL_PREFIX=$SR/usr -DCMAKE_LINKER="$BR"ld -DCMAKE_NM="$BR"nm -DCMAKE_OBJCOPY="$BR"objcopy -DCMAKE_OBJDUMP="$BR"objdump -DCMAKE_RANLIB="$BR"ranlib -DCMAKE_STRIP="$BR"strip -DWITH_EXTERNAL_ZLIB=ON -DICONV_INCLUDE_DIR=$SR/usr/include -DICONV_LIBRARIES=$SR/usr/lib/libiconv.a -DZLIB_INCLUDE_DIR=$SR/usr/include -DZLIB_LIBRARY=$SR/usr/lib/libz.so ../
                      output is:

                      all@all-VirtualBox:~/Dokumente/mariadb_client-2.0.0-src/build$ sudo cmake -DCMAKE_AR="$BR"ar -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER="$BR"gcc -DCMAKE_C_FLAGS=--sysroot=$SR -DCMAKE_INSTALL_PREFIX=$SR/usr -DCMAKE_LINKER="$BR"ld -DCMAKE_NM="$BR"nm -DCMAKE_OBJCOPY="$BR"objcopy -DCMAKE_OBJDUMP="$BR"objdump -DCMAKE_RANLIB="$BR"ranlib -DCMAKE_STRIP="$BR"strip -DWITH_EXTERNAL_ZLIB=ON -DICONV_INCLUDE_DIR=$SR/usr/include -DICONV_LIBRARIES=$SR/usr/lib/libiconv.a -DZLIB_INCLUDE_DIR=$SR/usr/include -DZLIB_LIBRARY=$SR/usr/lib/libz.so ../
                      -- The C compiler identification is GNU 4.8.0
                      -- Check for working C compiler: /home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc
                      -- Check for working C compiler: /home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc -- works
                      -- Detecting C compiler ABI info
                      -- Detecting C compiler ABI info - done
                      -- Detecting C compile features
                      -- Detecting C compile features - done
                      -- Looking for inet_ntoa
                      -- Looking for inet_ntoa - found
                      -- Looking for bind
                      -- Looking for bind - found
                      -- Looking for setsockopt
                      -- Looking for setsockopt - found
                      -- Looking for dlopen
                      -- Looking for dlopen - found
                      -- Looking for floor
                      -- Looking for floor - not found
                      -- Looking for floor in m
                      -- Looking for floor in m - found
                      -- Looking for pthread.h
                      -- Looking for pthread.h - found
                      -- Looking for pthread_create
                      -- Looking for pthread_create - found
                      -- Found Threads: TRUE  
                      -- Looking for include file alloca.h
                      -- Looking for include file alloca.h - found
                      -- Looking for include file arpa/inet.h
                      -- Looking for include file arpa/inet.h - found
                      -- Looking for include file crypt.h
                      -- Looking for include file crypt.h - not found
                      -- Looking for include file dirent.h
                      -- Looking for include file dirent.h - found
                      -- Looking for include file dlfcn.h
                      -- Looking for include file dlfcn.h - found
                      -- Looking for include file execinfo.h
                      -- Looking for include file execinfo.h - not found
                      -- Looking for include file fcntl.h
                      -- Looking for include file fcntl.h - found
                      -- Looking for include file fenv.h
                      -- Looking for include file fenv.h - found
                      -- Looking for include file float.h
                      -- Looking for include file float.h - found
                      -- Looking for include file fpu/control.h
                      -- Looking for include file fpu/control.h - not found
                      -- Looking for include file grp.h
                      -- Looking for include file grp.h - found
                      -- Looking for include file ieeefp.h
                      -- Looking for include file ieeefp.h - not found
                      -- Looking for include file limits.h
                      -- Looking for include file limits.h - found
                      -- Looking for include file malloc.h
                      -- Looking for include file malloc.h - found
                      -- Looking for include file memory.h
                      -- Looking for include file memory.h - found
                      -- Looking for include file netinet/in.h
                      -- Looking for include file netinet/in.h - found
                      -- Looking for include file paths.h
                      -- Looking for include file paths.h - found
                      -- Looking for include file pwd.h
                      -- Looking for include file pwd.h - found
                      -- Looking for include file sched.h
                      -- Looking for include file sched.h - found
                      -- Looking for include file select.h
                      -- Looking for include file select.h - not found
                      -- Looking for include file signal.h
                      -- Looking for include file signal.h - found
                      -- Looking for include file stddef.h
                      -- Looking for include file stddef.h - found
                      -- Looking for include file stdint.h
                      -- Looking for include file stdint.h - found
                      -- Looking for include file stdlib.h
                      -- Looking for include file stdlib.h - found
                      -- Looking for include file string.h
                      -- Looking for include file string.h - found
                      -- Looking for include file strings.h
                      -- Looking for include file strings.h - found
                      -- Looking for include file synch.h
                      -- Looking for include file synch.h - not found
                      -- Looking for include file sys/fpu.h
                      -- Looking for include file sys/fpu.h - not found
                      -- Looking for include file sys/ioctl.h
                      -- Looking for include file sys/ioctl.h - found
                      -- Looking for include file sys/ipc.h
                      -- Looking for include file sys/ipc.h - found
                      -- Looking for include file sys/mman.h
                      -- Looking for include file sys/mman.h - found
                      -- Looking for include file sys/prctl.h
                      -- Looking for include file sys/prctl.h - found
                      -- Looking for include file sys/select.h
                      -- Looking for include file sys/select.h - found
                      -- Looking for include file sys/shm.h
                      -- Looking for include file sys/shm.h - not found
                      -- Looking for include file sys/socket.h
                      -- Looking for include file sys/socket.h - found
                      -- Looking for include file sys/stat.h
                      -- Looking for include file sys/stat.h - found
                      -- Looking for include file sys/stream.h
                      -- Looking for include file sys/stream.h - not found
                      -- Looking for include file sys/timeb.h
                      -- Looking for include file sys/timeb.h - found
                      -- Looking for include file sys/types.h
                      -- Looking for include file sys/types.h - found
                      -- Looking for include file sys/un.h
                      -- Looking for include file sys/un.h - found
                      -- Looking for include file sysent.h
                      -- Looking for include file sysent.h - not found
                      -- Looking for include file termio.h
                      -- Looking for include file termio.h - found
                      -- Looking for include file termios.h
                      -- Looking for include file termios.h - found
                      -- Looking for include file unistd.h
                      -- Looking for include file unistd.h - found
                      -- Looking for include file utime.h
                      -- Looking for include file utime.h - found
                      -- Looking for access
                      -- Looking for access - found
                      -- Looking for aiowait
                      -- Looking for aiowait - not found
                      -- Looking for alarm
                      -- Looking for alarm - found
                      -- Looking for alloca
                      -- Looking for alloca - not found
                      -- Looking for bcmp
                      -- Looking for bcmp - not found
                      -- Looking for bfill
                      -- Looking for bfill - not found
                      -- Looking for bmove
                      -- Looking for bmove - not found
                      -- Looking for bzero
                      -- Looking for bzero - found
                      -- Looking for clock_gettime
                      -- Looking for clock_gettime - found
                      -- Looking for compress
                      -- Looking for compress - not found
                      -- Looking for crypt
                      -- Looking for crypt - not found
                      -- Looking for dlerror
                      -- Looking for dlerror - found
                      -- Looking for dlopen
                      -- Looking for dlopen - found
                      -- Looking for fchmod
                      -- Looking for fchmod - found
                      -- Looking for fcntl
                      -- Looking for fcntl - found
                      -- Looking for fconvert
                      -- Looking for fconvert - not found
                      -- Looking for fdatasync
                      -- Looking for fdatasync - found
                      -- Looking for fesetround
                      -- Looking for fesetround - not found
                      -- Looking for finite
                      -- Looking for finite - found
                      -- Looking for fseeko
                      -- Looking for fseeko - found
                      -- Looking for fsync
                      -- Looking for fsync - found
                      -- Looking for getaddrinfo
                      -- Looking for getaddrinfo - found
                      -- Looking for getcwd
                      -- Looking for getcwd - found
                      -- Looking for gethostbyaddr_r
                      -- Looking for gethostbyaddr_r - not found
                      -- Looking for gethostbyname_r
                      -- Looking for gethostbyname_r - found
                      -- Looking for gethrtime
                      -- Looking for gethrtime - not found
                      -- Looking for getnameinfo
                      -- Looking for getnameinfo - found
                      -- Looking for getpagesize
                      -- Looking for getpagesize - not found
                      -- Looking for getpass
                      -- Looking for getpass - not found
                      -- Looking for getpassphrase
                      -- Looking for getpassphrase - not found
                      -- Looking for getpwnam
                      -- Looking for getpwnam - found
                      -- Looking for getpwuid
                      -- Looking for getpwuid - found
                      -- Looking for getrlimit
                      -- Looking for getrlimit - found
                      -- Looking for getrusage
                      -- Looking for getrusage - found
                      -- Looking for getwd
                      -- Looking for getwd - not found
                      -- Looking for gmtime_r
                      -- Looking for gmtime_r - found
                      -- Looking for initgroups
                      -- Looking for initgroups - found
                      -- Looking for ldiv
                      -- Looking for ldiv - found
                      -- Looking for localtime_r
                      -- Looking for localtime_r - found
                      -- Looking for log2
                      -- Looking for log2 - not found
                      -- Looking for longjmp
                      -- Looking for longjmp - found
                      -- Looking for lstat
                      -- Looking for lstat - found
                      -- Looking for madvise
                      -- Looking for madvise - found
                      -- Looking for mallinfo
                      -- Looking for mallinfo - found
                      -- Looking for memalign
                      -- Looking for memalign - found
                      -- Looking for memcpy
                      -- Looking for memcpy - found
                      -- Looking for memmove
                      -- Looking for memmove - found
                      -- Looking for mkstemp
                      -- Looking for mkstemp - found
                      -- Looking for mlock
                      -- Looking for mlock - found
                      -- Looking for mlockall
                      -- Looking for mlockall - not found
                      -- Looking for mmap
                      -- Looking for mmap - found
                      -- Looking for mmap64
                      -- Looking for mmap64 - not found
                      -- Looking for perror
                      -- Looking for perror - found
                      -- Looking for poll
                      -- Looking for poll - found
                      -- Looking for pread
                      -- Looking for pread - found
                      -- Looking for pthread_attr_create
                      -- Looking for pthread_attr_create - not found
                      -- Looking for pthread_attr_getstacksize
                      -- Looking for pthread_attr_getstacksize - found
                      -- Looking for pthread_attr_setprio
                      -- Looking for pthread_attr_setprio - not found
                      -- Looking for pthread_attr_setschedparam
                      -- Looking for pthread_attr_setschedparam - found
                      -- Looking for pthread_attr_setscope
                      -- Looking for pthread_attr_setscope - found
                      -- Looking for pthread_attr_setstacksize
                      -- Looking for pthread_attr_setstacksize - found
                      -- Looking for pthread_condattr_create
                      -- Looking for pthread_condattr_create - not found
                      -- Looking for pthread_init
                      -- Looking for pthread_init - not found
                      -- Looking for pthread_key_delete
                      -- Looking for pthread_key_delete - found
                      -- Looking for pthread_kill
                      -- Looking for pthread_kill - found
                      -- Looking for pthread_rwlock_rdlock
                      -- Looking for pthread_rwlock_rdlock - found
                      -- Looking for pthread_setprio_np
                      -- Looking for pthread_setprio_np - not found
                      -- Looking for pthread_setschedparam
                      -- Looking for pthread_setschedparam - found
                      -- Looking for pthread_sigmask
                      -- Looking for pthread_sigmask - found
                      -- Looking for pthread_threadmask
                      -- Looking for pthread_threadmask - not found
                      -- Looking for pthread_yield_np
                      -- Looking for pthread_yield_np - not found
                      -- Looking for readdir_r
                      -- Looking for readdir_r - found
                      -- Looking for readlink
                      -- Looking for readlink - found
                      -- Looking for realpath
                      -- Looking for realpath - found
                      -- Looking for rename
                      -- Looking for rename - found
                      -- Looking for sched_yield
                      -- Looking for sched_yield - found
                      -- Looking for select
                      -- Looking for select - found
                      -- Looking for setfd
                      -- Looking for setfd - not found
                      -- Looking for setfilepointer
                      -- Looking for setfilepointer - not found
                      -- Looking for sigaction
                      -- Looking for sigaction - found
                      -- Looking for sigthreadmask
                      -- Looking for sigthreadmask - not found
                      -- Looking for sigwait
                      -- Looking for sigwait - found
                      -- Looking for sleep
                      -- Looking for sleep - found
                      -- Looking for snprintf
                      -- Looking for snprintf - found
                      -- Looking for stpcpy
                      -- Looking for stpcpy - not found
                      -- Looking for strerror
                      -- Looking for strerror - found
                      -- Looking for strlcpy
                      -- Looking for strlcpy - found
                      -- Looking for strnlen
                      -- Looking for strnlen - found
                      -- Looking for strpbrk
                      -- Looking for strpbrk - found
                      -- Looking for strsep
                      -- Looking for strsep - found
                      -- Looking for strstr
                      -- Looking for strstr - found
                      -- Looking for strtok_r
                      -- Looking for strtok_r - found
                      -- Looking for strtol
                      -- Looking for strtol - found
                      -- Looking for strtoll
                      -- Looking for strtoll - found
                      -- Looking for strtoul
                      -- Looking for strtoul - found
                      -- Looking for strtoull
                      -- Looking for strtoull - found
                      -- Looking for tell
                      -- Looking for tell - not found
                      -- Looking for thr_setconcurrency
                      -- Looking for thr_setconcurrency - not found
                      -- Looking for thr_yield
                      -- Looking for thr_yield - not found
                      -- Looking for vasprintf
                      -- Looking for vasprintf - found
                      -- Looking for vsnprintf
                      -- Looking for vsnprintf - found
                      -- Check size of sigset_t
                      -- Check size of sigset_t - done
                      -- Check size of char
                      -- Check size of char - done
                      -- Check size of char *
                      -- Check size of char * - done
                      -- Check size of short
                      -- Check size of short - done
                      -- Check size of int
                      -- Check size of int - done
                      -- Check size of long
                      -- Check size of long - done
                      -- Check size of long long
                      -- Check size of long long - done
                      -- Check size of size_t
                      -- Check size of size_t - done
                      -- Check size of off_t
                      -- Check size of off_t - done
                      -- Check size of uchar
                      -- Check size of uchar - failed
                      -- Check size of uint
                      -- Check size of uint - done
                      -- Check size of ulong
                      -- Check size of ulong - failed
                      -- Check size of int8
                      -- Check size of int8 - failed
                      -- Check size of uint8
                      -- Check size of uint8 - failed
                      -- Check size of int16
                      -- Check size of int16 - failed
                      -- Check size of uint16
                      -- Check size of uint16 - failed
                      -- Check size of int32
                      -- Check size of int32 - failed
                      -- Check size of uint32
                      -- Check size of uint32 - failed
                      -- Check size of u_int32_t
                      -- Check size of u_int32_t - done
                      -- Check size of int64
                      -- Check size of int64 - failed
                      -- Check size of uint64
                      -- Check size of uint64 - failed
                      -- Check size of socklen_t
                      -- Check size of socklen_t - failed
                      -- Performing Test IS_VOID_SIGNAL
                      -- Performing Test IS_VOID_SIGNAL - Success
                      -- Performing Test IS_VOID_QSORT
                      -- Performing Test IS_VOID_QSORT - Success
                      -- Performing Test SOCKET_SIZE_FOUND_socklen_t
                      -- Performing Test SOCKET_SIZE_FOUND_socklen_t - Success
                      -- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing:  OPENSSL_LIBRARIES OPENSSL_INCLUDE_DIR) 
                      -- Performing Test ICONV_SECOND_ARGUMENT_IS_CONST
                      -- Performing Test ICONV_SECOND_ARGUMENT_IS_CONST - Failed
                      -- Looking for getaddrinfo
                      -- Looking for getaddrinfo - found
                      -- Configuring done
                      -- Generating done
                      -- Build files have been written to: /home/all/Dokumente/mariadb_client-2.0.0-src/build
                      
                      1. now i go to include/my_global.h and include in the #define _global_h block:
                        #ifndef ushort
                        #define ushort uint16
                        #endif

                      2. i ump back to the terminal and type sodu make install
                        output is:

                      all@all-VirtualBox:~/Dokumente/mariadb_client-2.0.0-src/build$ sudo make installScanning dependencies of target libmariadb
                      [  1%] Building C object libmariadb/CMakeFiles/libmariadb.dir/array.c.o
                      [  1%] Building C object libmariadb/CMakeFiles/libmariadb.dir/ma_dyncol.c.o
                      [  2%] Building C object libmariadb/CMakeFiles/libmariadb.dir/bchange.c.o
                      [  2%] Building C object libmariadb/CMakeFiles/libmariadb.dir/bmove.c.o
                      [  3%] Building C object libmariadb/CMakeFiles/libmariadb.dir/bmove_upp.c.o
                      [  4%] Building C object libmariadb/CMakeFiles/libmariadb.dir/my_charset.c.o
                      /home/all/Dokumente/mariadb_client-2.0.0-src/libmariadb/my_charset.c:55:19: fatal error: iconv.h: No such file or directory
                       #include <iconv.h>
                                         ^
                      compilation terminated.
                      libmariadb/CMakeFiles/libmariadb.dir/build.make:182: die Regel für Ziel „libmariadb/CMakeFiles/libmariadb.dir/my_charset.c.o“ scheiterte
                      make[2]: *** [libmariadb/CMakeFiles/libmariadb.dir/my_charset.c.o] Fehler 1
                      CMakeFiles/Makefile2:143: die Regel für Ziel „libmariadb/CMakeFiles/libmariadb.dir/all“ scheiterte
                      make[1]: *** [libmariadb/CMakeFiles/libmariadb.dir/all] Fehler 2
                      Makefile:149: die Regel für Ziel „all“ scheiterte
                      make: *** [all] Fehler 2
                      

                      oh another fail...
                      20.But it should everything fine, the structur of the build directory is:

                      structur:
                      all@all-VirtualBox:~/Dokumente/mariadb_client-2.0.0-src/build$ dir
                      CMakeCache.txt	     CPackConfig.cmake	      libmariadb      plugins
                      CMakeFiles	     CPackSourceConfig.cmake  Makefile
                      cmake_install.cmake  include		      mariadb_config
                      

                      now i´m a little bit confused. in the instruction is now under deployment notes the command "$BR"objdump -p libqsqlmysql.so | grep NEEDED , but i dont have now an libqsqlmysql.so , so i think i have to go to the
                      qt directory, add an build directory and run there /home/Qt/build$ /home/Qt/5.7/Src/configure -platform linux-g++ -xplatform android-g++ -prefix /home/Qt/5.7 -no-icu -no-sql-sqlite -plugin-sql-mysql -I /home/all/Dokumente/mariadb_client-2.0.0-src/build/include -L /home/all/Dokumente/mariadb_client-2.0.0-src/build/libmariadb -openssl -I /home/all/Dokumente/openssl-1.0.1e/include -android-ndk /home/all/Dokumente/android-ndk-r10e -android-sdk /home/all/Dokumente/android-studio -opensource -confirm-license -nomake examples -no-compile-examples -nomake tests -skip qttranslations -skip qtserialport -v -opengl -egl -no-use-gold-linker -shared
                      for this i need the android sdk, there i loaded theAndroid stduio 3.0.1

                      part 3

                      1 Reply Last reply
                      0
                      • A Offline
                        A Offline
                        Allerknappe
                        wrote on last edited by
                        #42
                        1. i go on and run from the build directory in the qt directory the configure command.
                          the output is:(output is so long, so this is only the end:)
                        
                        rc/qtbase/mkspecs/android-g++ -o c++default.ii -E /home/Qt/5.7/Src/qtbase/config.tests/common/c++default/c++default.cpp
                        default C++ standard edition enabled.
                        checking for 64-bit std::atomic... 
                        /home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/ -O2 -Os -mthumb -std=gnu++11 -Wall -W -fPIC  -I/home/Qt/5.7/Src/qtbase/config.tests/common/atomic64 -I. -I/home/all/Dokumente/mariadb_client-2.0.0-src/build/include -I/home/all/Dokumente/openssl-1.0.1e/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -isystem /home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/usr/include -I/home/Qt/5.7/Src/qtbase/mkspecs/android-g++ -o atomic64.o /home/Qt/5.7/Src/qtbase/config.tests/common/atomic64/atomic64.cpp
                        /home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ --sysroot=/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/ -Wl,--no-undefined -Wl,-z,noexecstack -shared -o atomic64 atomic64.o   -L/home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a -L/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm//usr/lib -L/home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9 -L/home/all/Dokumente/mariadb_client-2.0.0-src/build/libmariadb -lgnustl_shared -llog -lz -lm -ldl -lc -lgcc
                        64-bit std::atomic enabled.
                        checking for std::atomic for function pointers... 
                        /home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/ -O2 -Os -mthumb -std=gnu++11 -Wall -W -fPIC  -I/home/Qt/5.7/Src/qtbase/config.tests/common/atomicfptr -I. -I/home/all/Dokumente/mariadb_client-2.0.0-src/build/include -I/home/all/Dokumente/openssl-1.0.1e/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -isystem /home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/usr/include -I/home/Qt/5.7/Src/qtbase/mkspecs/android-g++ -o atomicfptr.o /home/Qt/5.7/Src/qtbase/config.tests/common/atomicfptr/atomicfptr.cpp
                        /home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ --sysroot=/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/ -Wl,--no-undefined -Wl,-z,noexecstack -shared -o atomicfptr atomicfptr.o   -L/home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a -L/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm//usr/lib -L/home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9 -L/home/all/Dokumente/mariadb_client-2.0.0-src/build/libmariadb -lgnustl_shared -llog -lz -lm -ldl -lc -lgcc
                        std::atomic for function pointers enabled.
                        checking for sse2... 
                        /home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/ -msse2 -g -g -marm -O0 -Wall -W -fPIC  -I/home/Qt/5.7/Src/qtbase/config.tests/common/sse2 -I. -I/home/all/Dokumente/mariadb_client-2.0.0-src/build/include -I/home/all/Dokumente/openssl-1.0.1e/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -isystem /home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/usr/include -I/home/Qt/5.7/Src/qtbase/mkspecs/android-g++ -o sse2.o /home/Qt/5.7/Src/qtbase/config.tests/common/sse2/sse2.cpp
                        arm-linux-androideabi-g++: error: unrecognized command line option '-msse2'
                        Makefile:192: die Regel für Ziel „sse2.o“ scheiterte
                        make: *** [sse2.o] Fehler 1
                        sse2 disabled.
                        checking for ipc_sysv... 
                        /home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/ -O2 -Os -mthumb -Wall -W -fPIC  -I/home/Qt/5.7/Src/qtbase/config.tests/unix/ipc_sysv -I. -I/home/all/Dokumente/mariadb_client-2.0.0-src/build/include -I/home/all/Dokumente/openssl-1.0.1e/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -isystem /home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/usr/include -I/home/Qt/5.7/Src/qtbase/mkspecs/android-g++ -o ipc.o /home/Qt/5.7/Src/qtbase/config.tests/unix/ipc_sysv/ipc.cpp
                        /home/Qt/5.7/Src/qtbase/config.tests/unix/ipc_sysv/ipc.cpp:42:21: fatal error: sys/sem.h: No such file or directory
                         #include <sys/sem.h>
                                             ^
                        compilation terminated.
                        Makefile:192: die Regel für Ziel „ipc.o“ scheiterte
                        make: *** [ipc.o] Fehler 1
                        ipc_sysv disabled.
                        checking for ipc_posix... 
                        /home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/ -O2 -Os -mthumb -Wall -W -fPIC  -I/home/Qt/5.7/Src/qtbase/config.tests/unix/ipc_posix -I. -I/home/all/Dokumente/mariadb_client-2.0.0-src/build/include -I/home/all/Dokumente/openssl-1.0.1e/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -isystem /home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/usr/include -I/home/Qt/5.7/Src/qtbase/mkspecs/android-g++ -o ipc.o /home/Qt/5.7/Src/qtbase/config.tests/unix/ipc_posix/ipc.cpp
                        /home/Qt/5.7/Src/qtbase/config.tests/unix/ipc_posix/ipc.cpp: In function 'int main(int, char**)':
                        /home/Qt/5.7/Src/qtbase/config.tests/unix/ipc_posix/ipc.cpp:51:53: error: 'shm_open' was not declared in this scope
                             shm_open("test", O_RDWR | O_CREAT | O_EXCL, 0666);
                                                                             ^
                        /home/Qt/5.7/Src/qtbase/config.tests/unix/ipc_posix/ipc.cpp:52:22: error: 'shm_unlink' was not declared in this scope
                             shm_unlink("test");
                                              ^
                        Makefile:192: die Regel für Ziel „ipc.o“ scheiterte
                        make: *** [ipc.o] Fehler 1
                        ipc_posix disabled.
                        checking for zlib... 
                        /home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/ -O2 -Os -mthumb -Wall -W -fPIC  -I/home/Qt/5.7/Src/qtbase/config.tests/unix/zlib -I. -I/home/all/Dokumente/mariadb_client-2.0.0-src/build/include -I/home/all/Dokumente/openssl-1.0.1e/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -isystem /home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/usr/include -I/home/Qt/5.7/Src/qtbase/mkspecs/android-g++ -o zlib.o /home/Qt/5.7/Src/qtbase/config.tests/unix/zlib/zlib.cpp
                        /home/Qt/5.7/Src/qtbase/config.tests/unix/zlib/zlib.cpp: In function 'int main(int, char**)':
                        /home/Qt/5.7/Src/qtbase/config.tests/unix/zlib/zlib.cpp:44:15: warning: variable 'stream' set but not used [-Wunused-but-set-variable]
                             z_streamp stream;
                                       ^
                        /home/Qt/5.7/Src/qtbase/config.tests/unix/zlib/zlib.cpp:46:17: warning: variable 'ver' set but not used [-Wunused-but-set-variable]
                             const char *ver = zlibVersion();
                                         ^
                        /home/Qt/5.7/Src/qtbase/config.tests/unix/zlib/zlib.cpp:49:9: warning: variable 'res' set but not used [-Wunused-but-set-variable]
                             int res = compress2(0, 0, 0, 0, 1);
                                 ^
                        /home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ --sysroot=/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/ -Wl,--no-undefined -Wl,-z,noexecstack -shared -o zlib zlib.o   -L/home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a -L/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm//usr/lib -L/home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9 -L/home/all/Dokumente/mariadb_client-2.0.0-src/build/libmariadb -lz -lgnustl_shared -llog -lz -lm -ldl -lc -lgcc
                        zlib enabled.
                        checking for mtdev... 
                        Project WARNING: pkg-config disabled, can't check package existence
                        Project ERROR: mtdev development package not found
                        mtdev disabled.
                        checking for libjpeg... 
                        /home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/ -O2 -Os -mthumb -Wall -W -fPIC  -I/home/Qt/5.7/Src/qtbase/config.tests/unix/libjpeg -I. -I/home/all/Dokumente/mariadb_client-2.0.0-src/build/include -I/home/all/Dokumente/openssl-1.0.1e/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -isystem /home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/usr/include -I/home/Qt/5.7/Src/qtbase/mkspecs/android-g++ -o libjpeg.o /home/Qt/5.7/Src/qtbase/config.tests/unix/libjpeg/libjpeg.cpp
                        /home/Qt/5.7/Src/qtbase/config.tests/unix/libjpeg/libjpeg.cpp:43:21: fatal error: jpeglib.h: No such file or directory
                         #include <jpeglib.h>
                                             ^
                        compilation terminated.
                        Makefile:192: die Regel für Ziel „libjpeg.o“ scheiterte
                        make: *** [libjpeg.o] Fehler 1
                        libjpeg disabled.
                        checking for libpng... 
                        /home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/ -O2 -Os -mthumb -Wall -W -fPIC  -I/home/Qt/5.7/Src/qtbase/config.tests/unix/libpng -I. -I/home/all/Dokumente/mariadb_client-2.0.0-src/build/include -I/home/all/Dokumente/openssl-1.0.1e/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -isystem /home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/usr/include -I/home/Qt/5.7/Src/qtbase/mkspecs/android-g++ -o libpng.o /home/Qt/5.7/Src/qtbase/config.tests/unix/libpng/libpng.cpp
                        /home/Qt/5.7/Src/qtbase/config.tests/unix/libpng/libpng.cpp:40:17: fatal error: png.h: No such file or directory
                         #include <png.h>
                                         ^
                        compilation terminated.
                        Makefile:192: die Regel für Ziel „libpng.o“ scheiterte
                        make: *** [libpng.o] Fehler 1
                        libpng disabled.
                        checking for dlopen... 
                        /home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/ -O2 -Os -mthumb -Wall -W -fPIC  -I/home/Qt/5.7/Src/qtbase/config.tests/unix/dlopen -I. -I/home/all/Dokumente/mariadb_client-2.0.0-src/build/include -I/home/all/Dokumente/openssl-1.0.1e/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -isystem /home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/usr/include -I/home/Qt/5.7/Src/qtbase/mkspecs/android-g++ -o dlopen.o /home/Qt/5.7/Src/qtbase/config.tests/unix/dlopen/dlopen.cpp
                        /home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ --sysroot=/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/ -Wl,--no-undefined -Wl,-z,noexecstack -shared -o dlopen dlopen.o   -L/home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a -L/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm//usr/lib -L/home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9 -L/home/all/Dokumente/mariadb_client-2.0.0-src/build/libmariadb -lgnustl_shared -llog -lz -lm -ldl -lc -lgcc
                        dlopen enabled.
                        checking for DB2... 
                        /home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/ -O2 -Os -mthumb -Wall -W -fPIC  -I/home/Qt/5.7/Src/qtbase/config.tests/unix/db2 -I. -I/home/all/Dokumente/mariadb_client-2.0.0-src/build/include -I/home/all/Dokumente/openssl-1.0.1e/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -isystem /home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/usr/include -I/home/Qt/5.7/Src/qtbase/mkspecs/android-g++ -o db2.o /home/Qt/5.7/Src/qtbase/config.tests/unix/db2/db2.cpp
                        /home/Qt/5.7/Src/qtbase/config.tests/unix/db2/db2.cpp:40:20: fatal error: sqlcli.h: No such file or directory
                         #include <sqlcli.h>
                                            ^
                        compilation terminated.
                        Makefile:192: die Regel für Ziel „db2.o“ scheiterte
                        make: *** [db2.o] Fehler 1
                        DB2 disabled.
                        checking for InterBase... 
                        /home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/ -O2 -Os -mthumb -Wall -W -fPIC  -I/home/Qt/5.7/Src/qtbase/config.tests/unix/ibase -I. -I/home/all/Dokumente/mariadb_client-2.0.0-src/build/include -I/home/all/Dokumente/openssl-1.0.1e/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -isystem /home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/usr/include -I/home/Qt/5.7/Src/qtbase/mkspecs/android-g++ -o ibase.o /home/Qt/5.7/Src/qtbase/config.tests/unix/ibase/ibase.cpp
                        /home/Qt/5.7/Src/qtbase/config.tests/unix/ibase/ibase.cpp:40:19: fatal error: ibase.h: No such file or directory
                         #include <ibase.h>
                                           ^
                        compilation terminated.
                        Makefile:192: die Regel für Ziel „ibase.o“ scheiterte
                        make: *** [ibase.o] Fehler 1
                        InterBase disabled.
                        checking for MySQL (thread-safe)... 
                        /home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/ -O2 -Os -mthumb -Wall -W -fPIC  -I/home/Qt/5.7/Src/qtbase/config.tests/unix/mysql_r -I. -I/home/all/Dokumente/mariadb_client-2.0.0-src/build/include -I/home/all/Dokumente/openssl-1.0.1e/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -isystem /home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/usr/include -I/home/Qt/5.7/Src/qtbase/mkspecs/android-g++ -o mysql.o /home/Qt/5.7/Src/qtbase/config.tests/unix/mysql/mysql.cpp
                        /home/Qt/5.7/Src/qtbase/config.tests/unix/mysql/mysql.cpp:40:19: fatal error: mysql.h: No such file or directory
                         #include "mysql.h"
                                           ^
                        compilation terminated.
                        Makefile:192: die Regel für Ziel „mysql.o“ scheiterte
                        make: *** [mysql.o] Fehler 1
                        MySQL (thread-safe) disabled.
                        checking for MySQL (thread-unsafe)... 
                        /home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/ -O2 -Os -mthumb -Wall -W -fPIC  -I/home/Qt/5.7/Src/qtbase/config.tests/unix/mysql -I. -I/home/all/Dokumente/mariadb_client-2.0.0-src/build/include -I/home/all/Dokumente/openssl-1.0.1e/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -isystem /home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/usr/include -I/home/Qt/5.7/Src/qtbase/mkspecs/android-g++ -o mysql.o /home/Qt/5.7/Src/qtbase/config.tests/unix/mysql/mysql.cpp
                        /home/Qt/5.7/Src/qtbase/config.tests/unix/mysql/mysql.cpp:40:19: fatal error: mysql.h: No such file or directory
                         #include "mysql.h"
                                           ^
                        compilation terminated.
                        Makefile:192: die Regel für Ziel „mysql.o“ scheiterte
                        make: *** [mysql.o] Fehler 1
                        MySQL (thread-unsafe) disabled.
                        MySQL support cannot be enabled due to functionality tests!
                         Turn on verbose messaging (-v) to /home/Qt/5.7/Src/qtbase/configure to see the final report.
                         If you believe this message is in error you may use the continue
                         switch (-continue) to /home/Qt/5.7/Src/qtbase/configure to continue.
                        

                        part 4

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

                          i try on because the wiki are a working wiki, and type -continue to the command
                          here the output:

                          @all-VirtualBox:/home/Qt/build$ sudo /home/Qt/5.7/Src/configure -platform linux-g++ -xplatform android-g++ -prefix /home/Qt/5.7 -no-icu -no-sql-sqlite -plugin-sql-mysql -I /home/all/Dokumente/mariadb_client-2.0.0-src/build/include -L /home/all/Dokumente/mariadb_client-2.0.0-src/build/libmariadb -openssl -I /home/all/Dokumente/openssl-1.0.1e/include -android-ndk /home/all/Dokumente/android-ndk-r10e -android-sdk /home/all/Dokumente/android-studio -opensource -confirm-license -nomake examples -no-compile-examples -nomake tests -skip qttranslations -skip qtserialport -v -opengl -egl -no-use-gold-linker -shared -continue
                          [sudo] Passwort für all: 
                          + cd qtbase
                          + /home/Qt/5.7/Src/qtbase/configure -top-level -platform linux-g++ -xplatform android-g++ -prefix /home/Qt/5.7 -no-icu -no-sql-sqlite -plugin-sql-mysql -I /home/all/Dokumente/mariadb_client-2.0.0-src/build/include -L /home/all/Dokumente/mariadb_client-2.0.0-src/build/libmariadb -openssl -I /home/all/Dokumente/openssl-1.0.1e/include -android-ndk /home/all/Dokumente/android-ndk-r10e -android-sdk /home/all/Dokumente/android-studio -opensource -confirm-license -nomake examples -no-compile-examples -nomake tests -skip qttranslations -skip qtserialport -v -opengl -egl -no-use-gold-linker -shared -continue
                          
                          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) versions 3.
                          
                          You have already accepted the terms of the Open Source license.
                          
                          Performing shadow build...
                          Preparing build tree...
                          DEFAULT_INCDIRS="/home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9/include
                          /home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9/include-fixed
                          "
                          DEFAULT_LIBDIRS="/home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9
                          /home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc
                          /home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/arm-linux-androideabi/lib
                          "
                          Creating qmake...
                          make: Für das Ziel „first“ ist nichts zu tun.
                          Running configuration tests...
                          Found pkg-config from $PATH: /usr/bin/pkg-config
                          Warning: Disabling pkg-config since PKG_CONFIG_LIBDIR is not set and
                          the host's .pc files would be used (even if you set PKG_CONFIG_PATH).
                          Set this variable to the directory that contains target .pc files
                          for pkg-config to function correctly when cross-compiling or
                          use -pkg-config to override this test.
                          Warning: Disabling pkg-config since PKG_CONFIG_SYSROOT_DIR is not set.
                          Set this variable to your sysroot for pkg-config to function correctly when
                          cross-compiling or use -pkg-config to override this test.
                          Determining architecture... ()
                          /home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/ -g -g -marm -O0 -std=gnu++11 -Wall -W -fPIC  -I../../../../5.7/Src/qtbase/config.tests/arch -I. -I/home/all/Dokumente/mariadb_client-2.0.0-src/build/include -I/home/all/Dokumente/openssl-1.0.1e/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -isystem /home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/usr/include -I../../../../5.7/Src/qtbase/mkspecs/android-g++ -o arch.o ../../../../5.7/Src/qtbase/config.tests/arch/arch.cpp
                          /home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ --sysroot=/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/ -Wl,-soname,libarch.so -Wl,--no-undefined -Wl,-z,noexecstack -shared -o libarch.so arch.o   -L/home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a -L/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm//usr/lib -L/home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9 -L/home/all/Dokumente/mariadb_client-2.0.0-src/build/libmariadb -lgnustl_shared -llog -lz -lm -ldl -lc -lgcc
                              Found architecture in binary
                          CFG_ARCH="arm"
                          CFG_CPUFEATURES=""
                          Determining architecture... ()
                          g++ -c -pipe -g -std=gnu++11 -Wall -W -fPIC  -I../../../../5.7/Src/qtbase/config.tests/arch -I. -I/home/all/Dokumente/mariadb_client-2.0.0-src/build/include -I/home/all/Dokumente/openssl-1.0.1e/include -I../../../../5.7/Src/qtbase/mkspecs/linux-g++ -o arch.o ../../../../5.7/Src/qtbase/config.tests/arch/arch.cpp
                          g++  -o arch arch.o   -L/home/all/Dokumente/mariadb_client-2.0.0-src/build/libmariadb 
                              Found architecture in binary
                          CFG_HOST_ARCH="x86_64"
                          CFG_HOST_CPUFEATURES=" mmx sse sse2"
                          System architecture: 'arm'
                          Host architecture: 'x86_64'
                          Precompiled-headers support enabled.
                          /home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ --sysroot=/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/ -c -fvisibility=hidden fvisibility.c
                          Symbol visibility control enabled.
                          /home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld: error: cannot open crtbegin_dynamic.o: Datei oder Verzeichnis nicht gefunden
                          /home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld: error: cannot open crtend_android.o: Datei oder Verzeichnis nicht gefunden
                          collect2: error: ld returned 1 exit status
                          /home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ --sysroot=/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/ -o libtest.so -shared -Wl,-Bsymbolic-functions -fPIC bsymbolic_functions.c
                          bsymbolic_functions.c:2:2: error: #error "Symbolic function binding on this architecture may be broken, disabling it (see QTBUG-36129)."
                           #error "Symbolic function binding on this architecture may be broken, disabling it (see QTBUG-36129)."
                            ^
                          Symbolic function binding disabled.
                          checking for C++14... 
                          /home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/ -O2 -Os -mthumb -std=gnu++14 -Wall -W -fPIC  -I/home/Qt/5.7/Src/qtbase/config.tests/common/c++14 -I. -I/home/all/Dokumente/mariadb_client-2.0.0-src/build/include -I/home/all/Dokumente/openssl-1.0.1e/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -isystem /home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/usr/include -I/home/Qt/5.7/Src/qtbase/mkspecs/android-g++ -o c++14.o /home/Qt/5.7/Src/qtbase/config.tests/common/c++14/c++14.cpp
                          /home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ --sysroot=/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/ -Wl,--no-undefined -Wl,-z,noexecstack -shared -o c++14 c++14.o   -L/home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a -L/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm//usr/lib -L/home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9 -L/home/all/Dokumente/mariadb_client-2.0.0-src/build/libmariadb -lgnustl_shared -llog -lz -lm -ldl -lc -lgcc
                          C++14 enabled.
                          checking for C++1z... 
                          /home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/ -O2 -Os -mthumb -std=gnu++1z -Wall -W -fPIC  -I/home/Qt/5.7/Src/qtbase/config.tests/common/c++1z -I. -I/home/all/Dokumente/mariadb_client-2.0.0-src/build/include -I/home/all/Dokumente/openssl-1.0.1e/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -isystem /home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/usr/include -I/home/Qt/5.7/Src/qtbase/mkspecs/android-g++ -o c++1z.o /home/Qt/5.7/Src/qtbase/config.tests/common/c++1z/c++1z.cpp
                          arm-linux-androideabi-g++: error: unrecognized command line option '-std=gnu++1z'
                          Makefile:195: die Regel für Ziel „c++1z.o“ scheiterte
                          make: *** [c++1z.o] Fehler 1
                          C++1z disabled.
                          checking for default C++ standard edition... 
                          /home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/ -O2 -Os -mthumb -Wall -W -fPIC  -I/home/Qt/5.7/Src/qtbase/config.tests/common/c++default -I. -I/home/all/Dokumente/mariadb_client-2.0.0-src/build/include -I/home/all/Dokumente/openssl-1.0.1e/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -isystem /home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/usr/include -I/home/Qt/5.7/Src/qtbase/mkspecs/android-g++ -o c++default.ii -E /home/Qt/5.7/Src/qtbase/config.tests/common/c++default/c++default.cpp
                          default C++ standard edition enabled.
                          checking for 64-bit std::atomic... 
                          /home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/ -O2 -Os -mthumb -std=gnu++11 -Wall -W -fPIC  -I/home/Qt/5.7/Src/qtbase/config.tests/common/atomic64 -I. -I/home/all/Dokumente/mariadb_client-2.0.0-src/build/include -I/home/all/Dokumente/openssl-1.0.1e/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -isystem /home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/usr/include -I/home/Qt/5.7/Src/qtbase/mkspecs/android-g++ -o atomic64.o /home/Qt/5.7/Src/qtbase/config.tests/common/atomic64/atomic64.cpp
                          /home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ --sysroot=/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/ -Wl,--no-undefined -Wl,-z,noexecstack -shared -o atomic64 atomic64.o   -L/home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a -L/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm//usr/lib -L/home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9 -L/home/all/Dokumente/mariadb_client-2.0.0-src/build/libmariadb -lgnustl_shared -llog -lz -lm -ldl -lc -lgcc
                          64-bit std::atomic enabled.
                          checking for std::atomic for function pointers... 
                          /home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/ -O2 -Os -mthumb -std=gnu++11 -Wall -W -fPIC  -I/home/Qt/5.7/Src/qtbase/config.tests/common/atomicfptr -I. -I/home/all/Dokumente/mariadb_client-2.0.0-src/build/include -I/home/all/Dokumente/openssl-1.0.1e/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -isystem /home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/usr/include -I/home/Qt/5.7/Src/qtbase/mkspecs/android-g++ -o atomicfptr.o /home/Qt/5.7/Src/qtbase/config.tests/common/atomicfptr/atomicfptr.cpp
                          /home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ --sysroot=/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/ -Wl,--no-undefined -Wl,-z,noexecstack -shared -o atomicfptr atomicfptr.o   -L/home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a -L/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm//usr/lib -L/home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9 -L/home/all/Dokumente/mariadb_client-2.0.0-src/build/libmariadb -lgnustl_shared -llog -lz -lm -ldl -lc -lgcc
                          std::atomic for function pointers enabled.
                          checking for sse2... 
                          /home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/ -msse2 -g -g -marm -O0 -std=gnu++11 -Wall -W -fPIC  -I/home/Qt/5.7/Src/qtbase/config.tests/common/sse2 -I. -I/home/all/Dokumente/mariadb_client-2.0.0-src/build/include -I/home/all/Dokumente/openssl-1.0.1e/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -isystem /home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/usr/include -I/home/Qt/5.7/Src/qtbase/mkspecs/android-g++ -o sse2.o /home/Qt/5.7/Src/qtbase/config.tests/common/sse2/sse2.cpp
                          arm-linux-androideabi-g++: error: unrecognized command line option '-msse2'
                          Makefile:195: die Regel für Ziel „sse2.o“ scheiterte
                          make: *** [sse2.o] Fehler 1
                          sse2 disabled.
                          checking for ipc_sysv... 
                          /home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/ -O2 -Os -mthumb -std=gnu++11 -Wall -W -fPIC  -I/home/Qt/5.7/Src/qtbase/config.tests/unix/ipc_sysv -I. -I/home/all/Dokumente/mariadb_client-2.0.0-src/build/include -I/home/all/Dokumente/openssl-1.0.1e/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -isystem /home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/usr/include -I/home/Qt/5.7/Src/qtbase/mkspecs/android-g++ -o ipc.o /home/Qt/5.7/Src/qtbase/config.tests/unix/ipc_sysv/ipc.cpp
                          /home/Qt/5.7/Src/qtbase/config.tests/unix/ipc_sysv/ipc.cpp:42:21: fatal error: sys/sem.h: No such file or directory
                           #include <sys/sem.h>
                                               ^
                          ..
                                                 ^
                          compilation terminated.
                          Makefile:195: die Regel für Ziel „openvg.o“ scheiterte
                          make: *** [openvg.o] Fehler 1
                          OpenVG (lc includes) disabled.
                          checking for alsa... 
                          /home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/ -O2 -Os -mthumb -std=gnu++11 -Wall -W -fPIC  -I/home/Qt/5.7/Src/qtbase/config.tests/unix/alsa -I. -I/home/all/Dokumente/mariadb_client-2.0.0-src/build/include -I/home/all/Dokumente/openssl-1.0.1e/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -isystem /home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/usr/include -I/home/Qt/5.7/Src/qtbase/mkspecs/android-g++ -o alsatest.o /home/Qt/5.7/Src/qtbase/config.tests/unix/alsa/alsatest.cpp
                          /home/Qt/5.7/Src/qtbase/config.tests/unix/alsa/alsatest.cpp:40:28: fatal error: alsa/asoundlib.h: No such file or directory
                           #include <alsa/asoundlib.h>
                                                      ^
                          compilation terminated.
                          Makefile:195: die Regel für Ziel „alsatest.o“ scheiterte
                          make: *** [alsatest.o] Fehler 1
                          alsa disabled.
                          checking for GStreamer 1.0... 
                          Project WARNING: pkg-config disabled, can't check package existence
                          Project ERROR: gstreamer-1.0 development package not found
                          GStreamer 1.0 disabled.
                          checking for GStreamer 0.10... 
                          Project WARNING: pkg-config disabled, can't check package existence
                          Project ERROR: gstreamer-0.10 development package not found
                          GStreamer 0.10 disabled.
                          WARNING: Unable to find file .device.vars
                          WARNING: Unable to find file .device.vars
                          Done running configuration tests.
                          
                             Configure summary
                          
                          Building on:   linux-g++ (x86_64, CPU features: mmx sse sse2)
                          Building for:  android-g++ (arm, CPU features: none detected)
                          
                          qmake vars .......... styles += mac fusion windows styles += android DEFINES += QT_NO_MTDEV DEFINES += QT_NO_LIBUDEV DEFINES += QT_NO_TSLIB DEFINES += QT_NO_LIBINPUT QMAKE_X11_PREFIX = /usr EXTRA_INCLUDEPATH +=  "/home/all/Dokumente/mariadb_client-2.0.0-src/build/include" "/home/all/Dokumente/openssl-1.0.1e/include" EXTRA_LIBS +=  -L"/home/all/Dokumente/mariadb_client-2.0.0-src/build/libmariadb" sql-drivers =  sql-plugins =  qmake switches ......... 
                          
                          Build options:
                            Configuration .......... accessibility android-style-assets audio-backend c++11 c++14 clock-gettime clock-monotonic concurrent cross_compile doubleconversion egl evdev eventfd freetype full-config getaddrinfo harfbuzz inotify ipv6ifname large-config medium-config minimal-config mremap no-libdl no-pkg-config opengl opengles2 openssl pcre png poll_poll precompile_header qpa qpa reduce_exports release rpath shared small-config system-zlib 
                            Build parts ............ libs
                            Mode ................... release
                            Using sanitizer(s)...... none
                            Using C++ standard ..... c++14
                            Using gold linker....... no
                            Using new DTAGS ........ no
                            Using PCH .............. yes
                            Using LTCG ............. no
                            Target compiler supports:
                              Neon ................. no
                          
                          Qt modules and options:
                            Qt D-Bus ............... no
                            Qt Concurrent .......... yes
                            Qt GUI ................. yes
                            Qt Widgets ............. yes
                            Large File ............. no
                            QML debugging .......... yes
                            Use system proxies ..... no
                          
                          Support enabled for:
                            Accessibility .......... yes
                            ALSA ................... no
                            CUPS ................... no
                            DoubleConversion........ yes (bundled copy)
                            Evdev .................. yes
                            FontConfig ............. no
                            FreeType ............... yes (bundled copy)
                            Glib ................... no
                            GStreamer .............. no
                            GTK platformtheme ...... no
                            HarfBuzz ............... yes (bundled copy)
                            Iconv .................. no
                            ICU .................... no
                            Image formats: 
                              GIF .................. yes (plugin, using bundled copy)
                              JPEG ................. yes (plugin, using bundled copy)
                              PNG .................. yes (in QtGui, using bundled copy)
                            libinput................ no
                            Logging backends: 
                              journald ............... no
                              syslog   ............... no
                            mtdev .................. no
                            Networking: 
                              getaddrinfo .......... yes
                              getifaddrs ........... no
                              IPv6 ifname .......... yes
                              libproxy.............. no
                              OpenSSL .............. yes (loading libraries at run-time)
                            OpenGL / OpenVG: 
                              EGL .................. yes
                              OpenGL ............... yes (OpenGL ES 2.0+)
                              OpenVG ............... no
                            PCRE ................... yes (bundled copy)
                            pkg-config ............. no 
                            PulseAudio ............. no
                            QPA backends: 
                              DirectFB ............. no
                              EGLFS ................ no
                                EGLFS i.MX6 ........ no
                                EGLFS i.MX6 Wayland. no
                                EGLFS EGLDevice .... no
                                EGLFS GBM .......... no
                                EGLFS Mali ......... no
                                EGLFS Raspberry Pi . no
                                EGLFS X11 .......... no
                              LinuxFB .............. no
                              Mir client............ no
                              XCB .................. no
                            Session management ..... yes
                            SQL drivers: 
                              DB2 .................. no
                              InterBase ............ no
                              MySQL ................ no
                              OCI .................. no
                              ODBC ................. no
                              PostgreSQL ........... no
                              SQLite 2 ............. no
                              SQLite ............... no
                              TDS .................. no
                            tslib .................. no
                            udev ................... no
                            xkbcommon-x11........... no
                            xkbcommon-evdev......... no
                            zlib ................... yes (system library)
                          
                          
                          NOTE: Qt is using double for qreal on this system. This is binary incompatible against Qt 5.1.
                          Configure with '-qreal float' to create a build that is binary compatible with 5.1.
                          
                          Qt is now configured for building. Just run 'make'.
                          Once everything is built, you must run 'make install'.
                          Qt will be installed into /home/Qt/5.7
                          
                          Prior to reconfiguration, make sure you remove any leftovers from
                          the previous build.
                          
                          

                          ok everythings ok i hope...

                          part 5

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

                            21a. i have to run sudo make
                            output: (only the last lines)

                            
                            /home/Qt/build/qtbase/bin/moc -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_TSLIB -DQT_NO_LIBINPUT -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_NETWORK_LIB -DQT_CORE_LIB -I/home/Qt/5.7/Src/qtbase/mkspecs/android-g++ -I/home/Qt/5.7/Src/qtbase/src/plugins/bearer/android/src -I/home/Qt/5.7/Src/qtbase/src/plugins/bearer/android/src/wrappers -I/home/Qt/5.7/Src/qtbase/include/QtNetwork/5.7.1 -I/home/Qt/5.7/Src/qtbase/include/QtNetwork/5.7.1/QtNetwork -I/home/Qt/5.7/Src/qtbase/include/QtCore/5.7.1 -I/home/Qt/5.7/Src/qtbase/include/QtCore/5.7.1/QtCore -I/home/Qt/5.7/Src/qtbase/include -I/home/Qt/5.7/Src/qtbase/include/QtNetwork -I/home/Qt/build/qtbase/include -I/home/Qt/build/qtbase/include/QtNetwork -I/home/Qt/5.7/Src/qtbase/include/QtCore -I/home/Qt/build/qtbase/include/QtCore -I. -I/home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include -I/home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -I/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm//usr/include /home/Qt/5.7/Src/qtbase/src/plugins/bearer/android/src/main.cpp -o .moc/main.moc
                            /home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/ -O2 -Os -mthumb -std=c++14 -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -Wvla -D_REENTRANT -fPIC -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_TSLIB -DQT_NO_LIBINPUT -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_NETWORK_LIB -DQT_CORE_LIB -I/home/Qt/5.7/Src/qtbase/src/plugins/bearer/android/src -I. -I/home/Qt/5.7/Src/qtbase/src/plugins/bearer/android/src/wrappers -I/home/Qt/5.7/Src/qtbase/include/QtNetwork/5.7.1 -I/home/Qt/5.7/Src/qtbase/include/QtNetwork/5.7.1/QtNetwork -I/home/Qt/5.7/Src/qtbase/include/QtCore/5.7.1 -I/home/Qt/5.7/Src/qtbase/include/QtCore/5.7.1/QtCore -I/home/Qt/5.7/Src/qtbase/include -I/home/Qt/5.7/Src/qtbase/include/QtNetwork -I../../../../../include -I../../../../../include/QtNetwork -I/home/Qt/5.7/Src/qtbase/include/QtCore -I../../../../../include/QtCore -I.moc -I/home/all/Dokumente/mariadb_client-2.0.0-src/build/include -I/home/all/Dokumente/openssl-1.0.1e/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -isystem /home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/usr/include -I/home/Qt/5.7/Src/qtbase/mkspecs/android-g++ -o .obj/main.o /home/Qt/5.7/Src/qtbase/src/plugins/bearer/android/src/main.cpp
                            /home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/ -O2 -Os -mthumb -std=c++14 -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -Wvla -D_REENTRANT -fPIC -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_TSLIB -DQT_NO_LIBINPUT -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_NETWORK_LIB -DQT_CORE_LIB -I/home/Qt/5.7/Src/qtbase/src/plugins/bearer/android/src -I. -I/home/Qt/5.7/Src/qtbase/src/plugins/bearer/android/src/wrappers -I/home/Qt/5.7/Src/qtbase/include/QtNetwork/5.7.1 -I/home/Qt/5.7/Src/qtbase/include/QtNetwork/5.7.1/QtNetwork -I/home/Qt/5.7/Src/qtbase/include/QtCore/5.7.1 -I/home/Qt/5.7/Src/qtbase/include/QtCore/5.7.1/QtCore -I/home/Qt/5.7/Src/qtbase/include -I/home/Qt/5.7/Src/qtbase/include/QtNetwork -I../../../../../include -I../../../../../include/QtNetwork -I/home/Qt/5.7/Src/qtbase/include/QtCore -I../../../../../include/QtCore -I.moc -I/home/all/Dokumente/mariadb_client-2.0.0-src/build/include -I/home/all/Dokumente/openssl-1.0.1e/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -isystem /home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/usr/include -I/home/Qt/5.7/Src/qtbase/mkspecs/android-g++ -o .obj/qandroidbearerengine.o /home/Qt/5.7/Src/qtbase/src/plugins/bearer/android/src/qandroidbearerengine.cpp
                            /home/Qt/build/qtbase/bin/moc -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_TSLIB -DQT_NO_LIBINPUT -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_NETWORK_LIB -DQT_CORE_LIB -I/home/Qt/5.7/Src/qtbase/mkspecs/android-g++ -I/home/Qt/5.7/Src/qtbase/src/plugins/bearer/android/src -I/home/Qt/5.7/Src/qtbase/src/plugins/bearer/android/src/wrappers -I/home/Qt/5.7/Src/qtbase/include/QtNetwork/5.7.1 -I/home/Qt/5.7/Src/qtbase/include/QtNetwork/5.7.1/QtNetwork -I/home/Qt/5.7/Src/qtbase/include/QtCore/5.7.1 -I/home/Qt/5.7/Src/qtbase/include/QtCore/5.7.1/QtCore -I/home/Qt/5.7/Src/qtbase/include -I/home/Qt/5.7/Src/qtbase/include/QtNetwork -I/home/Qt/build/qtbase/include -I/home/Qt/build/qtbase/include/QtNetwork -I/home/Qt/5.7/Src/qtbase/include/QtCore -I/home/Qt/build/qtbase/include/QtCore -I. -I/home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include -I/home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -I/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm//usr/include /home/Qt/5.7/Src/qtbase/src/plugins/bearer/qnetworksession_impl.cpp -o .moc/qnetworksession_impl.moc
                            /home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/ -O2 -Os -mthumb -std=c++14 -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -Wvla -D_REENTRANT -fPIC -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_TSLIB -DQT_NO_LIBINPUT -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_NETWORK_LIB -DQT_CORE_LIB -I/home/Qt/5.7/Src/qtbase/src/plugins/bearer/android/src -I. -I/home/Qt/5.7/Src/qtbase/src/plugins/bearer/android/src/wrappers -I/home/Qt/5.7/Src/qtbase/include/QtNetwork/5.7.1 -I/home/Qt/5.7/Src/qtbase/include/QtNetwork/5.7.1/QtNetwork -I/home/Qt/5.7/Src/qtbase/include/QtCore/5.7.1 -I/home/Qt/5.7/Src/qtbase/include/QtCore/5.7.1/QtCore -I/home/Qt/5.7/Src/qtbase/include -I/home/Qt/5.7/Src/qtbase/include/QtNetwork -I../../../../../include -I../../../../../include/QtNetwork -I/home/Qt/5.7/Src/qtbase/include/QtCore -I../../../../../include/QtCore -I.moc -I/home/all/Dokumente/mariadb_client-2.0.0-src/build/include -I/home/all/Dokumente/openssl-1.0.1e/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -isystem /home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/usr/include -I/home/Qt/5.7/Src/qtbase/mkspecs/android-g++ -o .obj/qnetworksession_impl.o /home/Qt/5.7/Src/qtbase/src/plugins/bearer/qnetworksession_impl.cpp
                            /home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/ -O2 -Os -mthumb -std=c++14 -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -Wvla -D_REENTRANT -fPIC -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_TSLIB -DQT_NO_LIBINPUT -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_NETWORK_LIB -DQT_CORE_LIB -I/home/Qt/5.7/Src/qtbase/src/plugins/bearer/android/src -I. -I/home/Qt/5.7/Src/qtbase/src/plugins/bearer/android/src/wrappers -I/home/Qt/5.7/Src/qtbase/include/QtNetwork/5.7.1 -I/home/Qt/5.7/Src/qtbase/include/QtNetwork/5.7.1/QtNetwork -I/home/Qt/5.7/Src/qtbase/include/QtCore/5.7.1 -I/home/Qt/5.7/Src/qtbase/include/QtCore/5.7.1/QtCore -I/home/Qt/5.7/Src/qtbase/include -I/home/Qt/5.7/Src/qtbase/include/QtNetwork -I../../../../../include -I../../../../../include/QtNetwork -I/home/Qt/5.7/Src/qtbase/include/QtCore -I../../../../../include/QtCore -I.moc -I/home/all/Dokumente/mariadb_client-2.0.0-src/build/include -I/home/all/Dokumente/openssl-1.0.1e/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -isystem /home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/usr/include -I/home/Qt/5.7/Src/qtbase/mkspecs/android-g++ -o .obj/androidconnectivitymanager.o /home/Qt/5.7/Src/qtbase/src/plugins/bearer/android/src/wrappers/androidconnectivitymanager.cpp
                            /home/Qt/build/qtbase/bin/moc -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_TSLIB -DQT_NO_LIBINPUT -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_NETWORK_LIB -DQT_CORE_LIB -I/home/Qt/5.7/Src/qtbase/mkspecs/android-g++ -I/home/Qt/5.7/Src/qtbase/src/plugins/bearer/android/src -I/home/Qt/5.7/Src/qtbase/src/plugins/bearer/android/src/wrappers -I/home/Qt/5.7/Src/qtbase/include/QtNetwork/5.7.1 -I/home/Qt/5.7/Src/qtbase/include/QtNetwork/5.7.1/QtNetwork -I/home/Qt/5.7/Src/qtbase/include/QtCore/5.7.1 -I/home/Qt/5.7/Src/qtbase/include/QtCore/5.7.1/QtCore -I/home/Qt/5.7/Src/qtbase/include -I/home/Qt/5.7/Src/qtbase/include/QtNetwork -I/home/Qt/build/qtbase/include -I/home/Qt/build/qtbase/include/QtNetwork -I/home/Qt/5.7/Src/qtbase/include/QtCore -I/home/Qt/build/qtbase/include/QtCore -I. -I/home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include -I/home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -I/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm//usr/include /home/Qt/5.7/Src/qtbase/src/plugins/bearer/android/src/qandroidbearerengine.h -o .moc/moc_qandroidbearerengine.cpp
                            /home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/ -O2 -Os -mthumb -std=c++14 -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -Wvla -D_REENTRANT -fPIC -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_TSLIB -DQT_NO_LIBINPUT -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_NETWORK_LIB -DQT_CORE_LIB -I/home/Qt/5.7/Src/qtbase/src/plugins/bearer/android/src -I. -I/home/Qt/5.7/Src/qtbase/src/plugins/bearer/android/src/wrappers -I/home/Qt/5.7/Src/qtbase/include/QtNetwork/5.7.1 -I/home/Qt/5.7/Src/qtbase/include/QtNetwork/5.7.1/QtNetwork -I/home/Qt/5.7/Src/qtbase/include/QtCore/5.7.1 -I/home/Qt/5.7/Src/qtbase/include/QtCore/5.7.1/QtCore -I/home/Qt/5.7/Src/qtbase/include -I/home/Qt/5.7/Src/qtbase/include/QtNetwork -I../../../../../include -I../../../../../include/QtNetwork -I/home/Qt/5.7/Src/qtbase/include/QtCore -I../../../../../include/QtCore -I.moc -I/home/all/Dokumente/mariadb_client-2.0.0-src/build/include -I/home/all/Dokumente/openssl-1.0.1e/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -isystem /home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/usr/include -I/home/Qt/5.7/Src/qtbase/mkspecs/android-g++ -o .obj/moc_qandroidbearerengine.o .moc/moc_qandroidbearerengine.cpp
                            /home/Qt/build/qtbase/bin/moc -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_TSLIB -DQT_NO_LIBINPUT -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_NETWORK_LIB -DQT_CORE_LIB -I/home/Qt/5.7/Src/qtbase/mkspecs/android-g++ -I/home/Qt/5.7/Src/qtbase/src/plugins/bearer/android/src -I/home/Qt/5.7/Src/qtbase/src/plugins/bearer/android/src/wrappers -I/home/Qt/5.7/Src/qtbase/include/QtNetwork/5.7.1 -I/home/Qt/5.7/Src/qtbase/include/QtNetwork/5.7.1/QtNetwork -I/home/Qt/5.7/Src/qtbase/include/QtCore/5.7.1 -I/home/Qt/5.7/Src/qtbase/include/QtCore/5.7.1/QtCore -I/home/Qt/5.7/Src/qtbase/include -I/home/Qt/5.7/Src/qtbase/include/QtNetwork -I/home/Qt/build/qtbase/include -I/home/Qt/build/qtbase/include/QtNetwork -I/home/Qt/5.7/Src/qtbase/include/QtCore -I/home/Qt/build/qtbase/include/QtCore -I. -I/home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include -I/home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -I/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm//usr/include /home/Qt/5.7/Src/qtbase/src/plugins/bearer/qnetworksession_impl.h -o .moc/moc_qnetworksession_impl.cpp
                            /home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/ -O2 -Os -mthumb -std=c++14 -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -Wvla -D_REENTRANT -fPIC -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_TSLIB -DQT_NO_LIBINPUT -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_NETWORK_LIB -DQT_CORE_LIB -I/home/Qt/5.7/Src/qtbase/src/plugins/bearer/android/src -I. -I/home/Qt/5.7/Src/qtbase/src/plugins/bearer/android/src/wrappers -I/home/Qt/5.7/Src/qtbase/include/QtNetwork/5.7.1 -I/home/Qt/5.7/Src/qtbase/include/QtNetwork/5.7.1/QtNetwork -I/home/Qt/5.7/Src/qtbase/include/QtCore/5.7.1 -I/home/Qt/5.7/Src/qtbase/include/QtCore/5.7.1/QtCore -I/home/Qt/5.7/Src/qtbase/include -I/home/Qt/5.7/Src/qtbase/include/QtNetwork -I../../../../../include -I../../../../../include/QtNetwork -I/home/Qt/5.7/Src/qtbase/include/QtCore -I../../../../../include/QtCore -I.moc -I/home/all/Dokumente/mariadb_client-2.0.0-src/build/include -I/home/all/Dokumente/openssl-1.0.1e/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -isystem /home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/usr/include -I/home/Qt/5.7/Src/qtbase/mkspecs/android-g++ -o .obj/moc_qnetworksession_impl.o .moc/moc_qnetworksession_impl.cpp
                            /home/Qt/build/qtbase/bin/moc -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_TSLIB -DQT_NO_LIBINPUT -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_NETWORK_LIB -DQT_CORE_LIB -I/home/Qt/5.7/Src/qtbase/mkspecs/android-g++ -I/home/Qt/5.7/Src/qtbase/src/plugins/bearer/android/src -I/home/Qt/5.7/Src/qtbase/src/plugins/bearer/android/src/wrappers -I/home/Qt/5.7/Src/qtbase/include/QtNetwork/5.7.1 -I/home/Qt/5.7/Src/qtbase/include/QtNetwork/5.7.1/QtNetwork -I/home/Qt/5.7/Src/qtbase/include/QtCore/5.7.1 -I/home/Qt/5.7/Src/qtbase/include/QtCore/5.7.1/QtCore -I/home/Qt/5.7/Src/qtbase/include -I/home/Qt/5.7/Src/qtbase/include/QtNetwork -I/home/Qt/build/qtbase/include -I/home/Qt/build/qtbase/include/QtNetwork -I/home/Qt/5.7/Src/qtbase/include/QtCore -I/home/Qt/build/qtbase/include/QtCore -I. -I/home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include -I/home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -I/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm//usr/include /home/Qt/5.7/Src/qtbase/src/plugins/bearer/qbearerengine_impl.h -o .moc/moc_qbearerengine_impl.cpp
                            /home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/ -O2 -Os -mthumb -std=c++14 -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -Wvla -D_REENTRANT -fPIC -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_TSLIB -DQT_NO_LIBINPUT -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_NETWORK_LIB -DQT_CORE_LIB -I/home/Qt/5.7/Src/qtbase/src/plugins/bearer/android/src -I. -I/home/Qt/5.7/Src/qtbase/src/plugins/bearer/android/src/wrappers -I/home/Qt/5.7/Src/qtbase/include/QtNetwork/5.7.1 -I/home/Qt/5.7/Src/qtbase/include/QtNetwork/5.7.1/QtNetwork -I/home/Qt/5.7/Src/qtbase/include/QtCore/5.7.1 -I/home/Qt/5.7/Src/qtbase/include/QtCore/5.7.1/QtCore -I/home/Qt/5.7/Src/qtbase/include -I/home/Qt/5.7/Src/qtbase/include/QtNetwork -I../../../../../include -I../../../../../include/QtNetwork -I/home/Qt/5.7/Src/qtbase/include/QtCore -I../../../../../include/QtCore -I.moc -I/home/all/Dokumente/mariadb_client-2.0.0-src/build/include -I/home/all/Dokumente/openssl-1.0.1e/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -isystem /home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/usr/include -I/home/Qt/5.7/Src/qtbase/mkspecs/android-g++ -o .obj/moc_qbearerengine_impl.o .moc/moc_qbearerengine_impl.cpp
                            /home/Qt/build/qtbase/bin/moc -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_TSLIB -DQT_NO_LIBINPUT -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_NETWORK_LIB -DQT_CORE_LIB -I/home/Qt/5.7/Src/qtbase/mkspecs/android-g++ -I/home/Qt/5.7/Src/qtbase/src/plugins/bearer/android/src -I/home/Qt/5.7/Src/qtbase/src/plugins/bearer/android/src/wrappers -I/home/Qt/5.7/Src/qtbase/include/QtNetwork/5.7.1 -I/home/Qt/5.7/Src/qtbase/include/QtNetwork/5.7.1/QtNetwork -I/home/Qt/5.7/Src/qtbase/include/QtCore/5.7.1 -I/home/Qt/5.7/Src/qtbase/include/QtCore/5.7.1/QtCore -I/home/Qt/5.7/Src/qtbase/include -I/home/Qt/5.7/Src/qtbase/include/QtNetwork -I/home/Qt/build/qtbase/include -I/home/Qt/build/qtbase/include/QtNetwork -I/home/Qt/5.7/Src/qtbase/include/QtCore -I/home/Qt/build/qtbase/include/QtCore -I. -I/home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include -I/home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -I/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm//usr/include /home/Qt/5.7/Src/qtbase/src/plugins/bearer/android/src/wrappers/androidconnectivitymanager.h -o .moc/moc_androidconnectivitymanager.cpp
                            /home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/ -O2 -Os -mthumb -std=c++14 -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -Wvla -D_REENTRANT -fPIC -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_TSLIB -DQT_NO_LIBINPUT -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_NETWORK_LIB -DQT_CORE_LIB -I/home/Qt/5.7/Src/qtbase/src/plugins/bearer/android/src -I. -I/home/Qt/5.7/Src/qtbase/src/plugins/bearer/android/src/wrappers -I/home/Qt/5.7/Src/qtbase/include/QtNetwork/5.7.1 -I/home/Qt/5.7/Src/qtbase/include/QtNetwork/5.7.1/QtNetwork -I/home/Qt/5.7/Src/qtbase/include/QtCore/5.7.1 -I/home/Qt/5.7/Src/qtbase/include/QtCore/5.7.1/QtCore -I/home/Qt/5.7/Src/qtbase/include -I/home/Qt/5.7/Src/qtbase/include/QtNetwork -I../../../../../include -I../../../../../include/QtNetwork -I/home/Qt/5.7/Src/qtbase/include/QtCore -I../../../../../include/QtCore -I.moc -I/home/all/Dokumente/mariadb_client-2.0.0-src/build/include -I/home/all/Dokumente/openssl-1.0.1e/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -isystem /home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/usr/include -I/home/Qt/5.7/Src/qtbase/mkspecs/android-g++ -o .obj/moc_androidconnectivitymanager.o .moc/moc_androidconnectivitymanager.cpp
                            rm -f libqandroidbearer.so
                            /home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ --sysroot=/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/ -Wl,--no-undefined -Wl,-z,origin -Wl,-rpath=\$ORIGIN/../../lib -Wl,--no-undefined -Wl,-z,noexecstack -shared -o libqandroidbearer.so .obj/main.o .obj/qandroidbearerengine.o .obj/qnetworksession_impl.o .obj/androidconnectivitymanager.o .obj/moc_qandroidbearerengine.o .obj/moc_qnetworksession_impl.o .obj/moc_qbearerengine_impl.o .obj/moc_androidconnectivitymanager.o  -L/home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a -L/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm//usr/lib -L/home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9 -L/home/Qt/build/qtbase/lib -lQt5Network -L/home/all/Dokumente/mariadb_client-2.0.0-src/build/libmariadb -lQt5Core -lgnustl_shared -llog -lz -lm -ldl -lc -lgcc 
                            mv -f libqandroidbearer.so ../../../../../plugins/bearer/ 
                            make[6]: Verzeichnis „/home/Qt/build/qtbase/src/plugins/bearer/android/src“ wird verlassen
                            cd jar/ && ( test -e Makefile || /home/Qt/build/qtbase/bin/qmake /home/Qt/5.7/Src/qtbase/src/plugins/bearer/android/jar/jar.pro -qtconf /home/Qt/build/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile 
                            make[6]: Verzeichnis „/home/Qt/build/qtbase/src/plugins/bearer/android/jar“ wird betreten
                            ( test -e Makefile.distributedjar || /home/Qt/build/qtbase/bin/qmake /home/Qt/5.7/Src/qtbase/src/plugins/bearer/android/jar/distributedjar.pro -qtconf /home/Qt/build/qtbase/bin/qt.conf -o Makefile.distributedjar ) && make -f Makefile.distributedjar 
                            Project ERROR: No suitable Android SDK platform found. Minimum version is android-16.
                            Makefile:41: die Regel für Ziel „sub-distributedjar-pro-make_first“ scheiterte
                            make[6]: *** [sub-distributedjar-pro-make_first] Fehler 3
                            make[6]: Verzeichnis „/home/Qt/build/qtbase/src/plugins/bearer/android/jar“ wird verlassen
                            Makefile:68: die Regel für Ziel „sub-jar-make_first“ scheiterte
                            make[5]: *** [sub-jar-make_first] Fehler 2
                            make[5]: Verzeichnis „/home/Qt/build/qtbase/src/plugins/bearer/android“ wird verlassen
                            Makefile:42: die Regel für Ziel „sub-android-make_first“ scheiterte
                            make[4]: *** [sub-android-make_first] Fehler 2
                            make[4]: Verzeichnis „/home/Qt/build/qtbase/src/plugins/bearer“ wird verlassen
                            Makefile:73: die Regel für Ziel „sub-bearer-make_first“ scheiterte
                            make[3]: *** [sub-bearer-make_first] Fehler 2
                            make[3]: Verzeichnis „/home/Qt/build/qtbase/src/plugins“ wird verlassen
                            Makefile:666: die Regel für Ziel „sub-plugins-make_first“ scheiterte
                            make[2]: *** [sub-plugins-make_first] Fehler 2
                            make[2]: Verzeichnis „/home/Qt/build/qtbase/src“ wird verlassen
                            Makefile:46: die Regel für Ziel „sub-src-make_first“ scheiterte
                            make[1]: *** [sub-src-make_first] Fehler 2
                            make[1]: Verzeichnis „/home/Qt/build/qtbase“ wird verlassen
                            Makefile:75: die Regel für Ziel „module-qtbase-make_first“ scheiterte
                            make: *** [module-qtbase-make_first] Fehler 2
                            

                            part 6

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

                              21b. run sudo make install:

                              all@all-VirtualBox:/home/Qt/build$ sudo make install
                              [sudo] Passwort für all: 
                              
                              cd src/ && ( test -e Makefile || /home/Qt/build/qtbase/bin/qmake /home/Qt/5.7/Src/qtbase/src/plugins/bearer/android/src/src.pro -qtconf /home/Qt/build/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile install
                              make[6]: Verzeichnis „/home/Qt/build/qtbase/src/plugins/bearer/android/src“ wird betreten
                              install -m 755 -p ../../../../../plugins/bearer/libqandroidbearer.so /home/Qt/5.7/plugins/bearer/libqandroidbearer.so
                              install -m 644 -p /home/Qt/build/qtbase/lib/cmake/Qt5Network/Qt5Network_QAndroidBearerEnginePlugin.cmake /home/Qt/5.7/lib/cmake/Qt5Network/
                              make[6]: Verzeichnis „/home/Qt/build/qtbase/src/plugins/bearer/android/src“ wird verlassen
                              cd jar/ && ( test -e Makefile || /home/Qt/build/qtbase/bin/qmake /home/Qt/5.7/Src/qtbase/src/plugins/bearer/android/jar/jar.pro -qtconf /home/Qt/build/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile install
                              make[6]: Verzeichnis „/home/Qt/build/qtbase/src/plugins/bearer/android/jar“ wird betreten
                              ( test -e Makefile.distributedjar || /home/Qt/build/qtbase/bin/qmake /home/Qt/5.7/Src/qtbase/src/plugins/bearer/android/jar/distributedjar.pro -qtconf /home/Qt/build/qtbase/bin/qt.conf -o Makefile.distributedjar ) && make -f Makefile.distributedjar install
                              Project ERROR: No suitable Android SDK platform found. Minimum version is android-16.
                              Makefile:49: die Regel für Ziel „sub-distributedjar-pro-install_subtargets“ scheiterte
                              make[6]: *** [sub-distributedjar-pro-install_subtargets] Fehler 3
                              make[6]: Verzeichnis „/home/Qt/build/qtbase/src/plugins/bearer/android/jar“ wird verlassen
                              Makefile:80: die Regel für Ziel „sub-jar-install_subtargets“ scheiterte
                              make[5]: *** [sub-jar-install_subtargets] Fehler 2
                              make[5]: Verzeichnis „/home/Qt/build/qtbase/src/plugins/bearer/android“ wird verlassen
                              Makefile:54: die Regel für Ziel „sub-android-install_subtargets“ scheiterte
                              make[4]: *** [sub-android-install_subtargets] Fehler 2
                              make[4]: Verzeichnis „/home/Qt/build/qtbase/src/plugins/bearer“ wird verlassen
                              Makefile:85: die Regel für Ziel „sub-bearer-install_subtargets“ scheiterte
                              make[3]: *** [sub-bearer-install_subtargets] Fehler 2
                              make[3]: Verzeichnis „/home/Qt/build/qtbase/src/plugins“ wird verlassen
                              Makefile:678: die Regel für Ziel „sub-plugins-install_subtargets“ scheiterte
                              make[2]: *** [sub-plugins-install_subtargets] Fehler 2
                              make[2]: Verzeichnis „/home/Qt/build/qtbase/src“ wird verlassen
                              Makefile:58: die Regel für Ziel „sub-src-install_subtargets“ scheiterte
                              make[1]: *** [sub-src-install_subtargets] Fehler 2
                              make[1]: Verzeichnis „/home/Qt/build/qtbase“ wird verlassen
                              Makefile:87: die Regel für Ziel „module-qtbase-install_subtargets“ scheiterte
                              make: *** [module-qtbase-install_subtargets] Fehler 2
                              
                              1. after that, i run the How to Build the QMYSQL Plugin on Unix and macOS from http://doc.qt.io/qt-5/sql-driver.html , which told me:
                                type in terminal cd /home/Qt/5.7/Src/qtbase/src/plugins/sqldrivers/mysql

                              2. run sudo /home/Qt/build/qtbase/bin/qmake "INCLUDEPATH+=/home/all/Dokumente/mariadb_client-2.0.0-src/build/include" "LIBS+=-L/home/all/Dokumente/mariadb_client-2.0.0-src/build/libmariadb -lmysqlclient_r" mysql.pro
                                no output

                              3. run sodu make
                                output is:

                              all@all-VirtualBox:/home/Qt/5.7/Src/qtbase/src/plugins/sqldrivers/mysql$ sudo make
                              /home/Qt/build/qtbase/bin/moc -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_TSLIB -DQT_NO_LIBINPUT -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SQL_LIB -DQT_CORE_LIB -I/home/Qt/5.7/Src/qtbase/mkspecs/android-g++ -I/home/Qt/5.7/Src/qtbase/src/plugins/sqldrivers/mysql -I/home/all/Dokumente/mariadb_client-2.0.0-src/build/include -I/home/Qt/5.7/Src/qtbase/include/QtSql/5.7.1 -I/home/Qt/5.7/Src/qtbase/include/QtSql/5.7.1/QtSql -I/home/Qt/5.7/Src/qtbase/include/QtCore/5.7.1 -I/home/Qt/5.7/Src/qtbase/include/QtCore/5.7.1/QtCore -I/home/Qt/5.7/Src/qtbase/include -I/home/Qt/5.7/Src/qtbase/include/QtSql -I/home/Qt/build/qtbase/include -I/home/Qt/build/qtbase/include/QtSql -I/home/Qt/5.7/Src/qtbase/include/QtCore -I/home/Qt/build/qtbase/include/QtCore -I/home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include -I/home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -I/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm//usr/include main.cpp -o .moc/main.moc
                              /home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/ -O2 -Os -mthumb -std=c++14 -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -Wvla -D_REENTRANT -fPIC -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_TSLIB -DQT_NO_LIBINPUT -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SQL_LIB -DQT_CORE_LIB -I. -I/home/all/Dokumente/mariadb_client-2.0.0-src/build/include -I../../../../include/QtSql/5.7.1 -I../../../../include/QtSql/5.7.1/QtSql -I../../../../include/QtCore/5.7.1 -I../../../../include/QtCore/5.7.1/QtCore -I../../../../include -I../../../../include/QtSql -I/home/Qt/build/qtbase/include -I/home/Qt/build/qtbase/include/QtSql -I../../../../include/QtCore -I/home/Qt/build/qtbase/include/QtCore -I.moc -I/home/all/Dokumente/mariadb_client-2.0.0-src/build/include -I/home/all/Dokumente/openssl-1.0.1e/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -isystem /home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/usr/include -I../../../../mkspecs/android-g++ -o .obj/main.o main.cpp
                              In file included from main.cpp:42:0:
                              ../../../sql/drivers/mysql/qsql_mysql_p.h:60:19: fatal error: mysql.h: No such file or directory
                               #include <mysql.h>
                                                 ^
                              compilation terminated.
                              Makefile:757: die Regel für Ziel „.obj/main.o“ scheiterte
                              make: *** [.obj/main.o] Fehler 1
                              
                              1. type cd /home/Qt/5.7/Src/qtbase/src/plugins/sqldrivers/mysql
                              2. type sodu make install
                                output is:
                              all@all-VirtualBox:/home/Qt/5.7/Src/qtbase/src/plugins/sqldrivers/mysql$ make install
                              /home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/ -O2 -Os -mthumb -std=c++14 -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -Wvla -D_REENTRANT -fPIC -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_TSLIB -DQT_NO_LIBINPUT -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SQL_LIB -DQT_CORE_LIB -I. -I/home/all/Dokumente/mariadb_client-2.0.0-src/build/include -I../../../../include/QtSql/5.7.1 -I../../../../include/QtSql/5.7.1/QtSql -I../../../../include/QtCore/5.7.1 -I../../../../include/QtCore/5.7.1/QtCore -I../../../../include -I../../../../include/QtSql -I/home/Qt/build/qtbase/include -I/home/Qt/build/qtbase/include/QtSql -I../../../../include/QtCore -I/home/Qt/build/qtbase/include/QtCore -I.moc -I/home/all/Dokumente/mariadb_client-2.0.0-src/build/include -I/home/all/Dokumente/openssl-1.0.1e/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -isystem /home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/usr/include -I../../../../mkspecs/android-g++ -o .obj/main.o main.cpp
                              In file included from main.cpp:42:0:
                              ../../../sql/drivers/mysql/qsql_mysql_p.h:60:19: fatal error: mysql.h: No such file or directory
                               #include <mysql.h>
                                                 ^
                              compilation terminated.
                              Makefile:757: die Regel für Ziel „.obj/main.o“ scheiterte
                              make: *** [.obj/main.o] Fehler 1
                              

                              so now i will only run step 27 and 28, but there is no libqsqlmysql.so , so i cant get on

                              1. from the wiki https://wiki.qt.io/Build_Qt_5_MySQL_Plugin_for_Android i go on with the deployment notes and type: "$BR"objdump -p libqsqlmysql.so | grep NEEDED
                                output is:

                              2. now i only have to comment out the block in the libmariadb/CMakeLists.txt :
                                SET_TARGET_PROPERTIES(libmariadb PROPERTIES VERSION ${CPACK_PACKAGE_VERSION_MAJOR} SOVERSION ${CPACK_PACKAGE_VERSION_MAJOR})
                                and all should be fine and now i can load the mysql or mariadb plugin on android.

                              part 7, now i go and drink a coffee...

                              jsulmJ 1 Reply Last reply
                              0
                              • A Allerknappe

                                21b. run sudo make install:

                                all@all-VirtualBox:/home/Qt/build$ sudo make install
                                [sudo] Passwort für all: 
                                
                                cd src/ && ( test -e Makefile || /home/Qt/build/qtbase/bin/qmake /home/Qt/5.7/Src/qtbase/src/plugins/bearer/android/src/src.pro -qtconf /home/Qt/build/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile install
                                make[6]: Verzeichnis „/home/Qt/build/qtbase/src/plugins/bearer/android/src“ wird betreten
                                install -m 755 -p ../../../../../plugins/bearer/libqandroidbearer.so /home/Qt/5.7/plugins/bearer/libqandroidbearer.so
                                install -m 644 -p /home/Qt/build/qtbase/lib/cmake/Qt5Network/Qt5Network_QAndroidBearerEnginePlugin.cmake /home/Qt/5.7/lib/cmake/Qt5Network/
                                make[6]: Verzeichnis „/home/Qt/build/qtbase/src/plugins/bearer/android/src“ wird verlassen
                                cd jar/ && ( test -e Makefile || /home/Qt/build/qtbase/bin/qmake /home/Qt/5.7/Src/qtbase/src/plugins/bearer/android/jar/jar.pro -qtconf /home/Qt/build/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile install
                                make[6]: Verzeichnis „/home/Qt/build/qtbase/src/plugins/bearer/android/jar“ wird betreten
                                ( test -e Makefile.distributedjar || /home/Qt/build/qtbase/bin/qmake /home/Qt/5.7/Src/qtbase/src/plugins/bearer/android/jar/distributedjar.pro -qtconf /home/Qt/build/qtbase/bin/qt.conf -o Makefile.distributedjar ) && make -f Makefile.distributedjar install
                                Project ERROR: No suitable Android SDK platform found. Minimum version is android-16.
                                Makefile:49: die Regel für Ziel „sub-distributedjar-pro-install_subtargets“ scheiterte
                                make[6]: *** [sub-distributedjar-pro-install_subtargets] Fehler 3
                                make[6]: Verzeichnis „/home/Qt/build/qtbase/src/plugins/bearer/android/jar“ wird verlassen
                                Makefile:80: die Regel für Ziel „sub-jar-install_subtargets“ scheiterte
                                make[5]: *** [sub-jar-install_subtargets] Fehler 2
                                make[5]: Verzeichnis „/home/Qt/build/qtbase/src/plugins/bearer/android“ wird verlassen
                                Makefile:54: die Regel für Ziel „sub-android-install_subtargets“ scheiterte
                                make[4]: *** [sub-android-install_subtargets] Fehler 2
                                make[4]: Verzeichnis „/home/Qt/build/qtbase/src/plugins/bearer“ wird verlassen
                                Makefile:85: die Regel für Ziel „sub-bearer-install_subtargets“ scheiterte
                                make[3]: *** [sub-bearer-install_subtargets] Fehler 2
                                make[3]: Verzeichnis „/home/Qt/build/qtbase/src/plugins“ wird verlassen
                                Makefile:678: die Regel für Ziel „sub-plugins-install_subtargets“ scheiterte
                                make[2]: *** [sub-plugins-install_subtargets] Fehler 2
                                make[2]: Verzeichnis „/home/Qt/build/qtbase/src“ wird verlassen
                                Makefile:58: die Regel für Ziel „sub-src-install_subtargets“ scheiterte
                                make[1]: *** [sub-src-install_subtargets] Fehler 2
                                make[1]: Verzeichnis „/home/Qt/build/qtbase“ wird verlassen
                                Makefile:87: die Regel für Ziel „module-qtbase-install_subtargets“ scheiterte
                                make: *** [module-qtbase-install_subtargets] Fehler 2
                                
                                1. after that, i run the How to Build the QMYSQL Plugin on Unix and macOS from http://doc.qt.io/qt-5/sql-driver.html , which told me:
                                  type in terminal cd /home/Qt/5.7/Src/qtbase/src/plugins/sqldrivers/mysql

                                2. run sudo /home/Qt/build/qtbase/bin/qmake "INCLUDEPATH+=/home/all/Dokumente/mariadb_client-2.0.0-src/build/include" "LIBS+=-L/home/all/Dokumente/mariadb_client-2.0.0-src/build/libmariadb -lmysqlclient_r" mysql.pro
                                  no output

                                3. run sodu make
                                  output is:

                                all@all-VirtualBox:/home/Qt/5.7/Src/qtbase/src/plugins/sqldrivers/mysql$ sudo make
                                /home/Qt/build/qtbase/bin/moc -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_TSLIB -DQT_NO_LIBINPUT -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SQL_LIB -DQT_CORE_LIB -I/home/Qt/5.7/Src/qtbase/mkspecs/android-g++ -I/home/Qt/5.7/Src/qtbase/src/plugins/sqldrivers/mysql -I/home/all/Dokumente/mariadb_client-2.0.0-src/build/include -I/home/Qt/5.7/Src/qtbase/include/QtSql/5.7.1 -I/home/Qt/5.7/Src/qtbase/include/QtSql/5.7.1/QtSql -I/home/Qt/5.7/Src/qtbase/include/QtCore/5.7.1 -I/home/Qt/5.7/Src/qtbase/include/QtCore/5.7.1/QtCore -I/home/Qt/5.7/Src/qtbase/include -I/home/Qt/5.7/Src/qtbase/include/QtSql -I/home/Qt/build/qtbase/include -I/home/Qt/build/qtbase/include/QtSql -I/home/Qt/5.7/Src/qtbase/include/QtCore -I/home/Qt/build/qtbase/include/QtCore -I/home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include -I/home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -I/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm//usr/include main.cpp -o .moc/main.moc
                                /home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/ -O2 -Os -mthumb -std=c++14 -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -Wvla -D_REENTRANT -fPIC -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_TSLIB -DQT_NO_LIBINPUT -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SQL_LIB -DQT_CORE_LIB -I. -I/home/all/Dokumente/mariadb_client-2.0.0-src/build/include -I../../../../include/QtSql/5.7.1 -I../../../../include/QtSql/5.7.1/QtSql -I../../../../include/QtCore/5.7.1 -I../../../../include/QtCore/5.7.1/QtCore -I../../../../include -I../../../../include/QtSql -I/home/Qt/build/qtbase/include -I/home/Qt/build/qtbase/include/QtSql -I../../../../include/QtCore -I/home/Qt/build/qtbase/include/QtCore -I.moc -I/home/all/Dokumente/mariadb_client-2.0.0-src/build/include -I/home/all/Dokumente/openssl-1.0.1e/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -isystem /home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/usr/include -I../../../../mkspecs/android-g++ -o .obj/main.o main.cpp
                                In file included from main.cpp:42:0:
                                ../../../sql/drivers/mysql/qsql_mysql_p.h:60:19: fatal error: mysql.h: No such file or directory
                                 #include <mysql.h>
                                                   ^
                                compilation terminated.
                                Makefile:757: die Regel für Ziel „.obj/main.o“ scheiterte
                                make: *** [.obj/main.o] Fehler 1
                                
                                1. type cd /home/Qt/5.7/Src/qtbase/src/plugins/sqldrivers/mysql
                                2. type sodu make install
                                  output is:
                                all@all-VirtualBox:/home/Qt/5.7/Src/qtbase/src/plugins/sqldrivers/mysql$ make install
                                /home/all/Dokumente/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=/home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/ -O2 -Os -mthumb -std=c++14 -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -Wvla -D_REENTRANT -fPIC -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_TSLIB -DQT_NO_LIBINPUT -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SQL_LIB -DQT_CORE_LIB -I. -I/home/all/Dokumente/mariadb_client-2.0.0-src/build/include -I../../../../include/QtSql/5.7.1 -I../../../../include/QtSql/5.7.1/QtSql -I../../../../include/QtCore/5.7.1 -I../../../../include/QtCore/5.7.1/QtCore -I../../../../include -I../../../../include/QtSql -I/home/Qt/build/qtbase/include -I/home/Qt/build/qtbase/include/QtSql -I../../../../include/QtCore -I/home/Qt/build/qtbase/include/QtCore -I.moc -I/home/all/Dokumente/mariadb_client-2.0.0-src/build/include -I/home/all/Dokumente/openssl-1.0.1e/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include -isystem /home/all/Dokumente/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -isystem /home/all/Dokumente/android-ndk-r10e/platforms/android-16/arch-arm/usr/include -I../../../../mkspecs/android-g++ -o .obj/main.o main.cpp
                                In file included from main.cpp:42:0:
                                ../../../sql/drivers/mysql/qsql_mysql_p.h:60:19: fatal error: mysql.h: No such file or directory
                                 #include <mysql.h>
                                                   ^
                                compilation terminated.
                                Makefile:757: die Regel für Ziel „.obj/main.o“ scheiterte
                                make: *** [.obj/main.o] Fehler 1
                                

                                so now i will only run step 27 and 28, but there is no libqsqlmysql.so , so i cant get on

                                1. from the wiki https://wiki.qt.io/Build_Qt_5_MySQL_Plugin_for_Android i go on with the deployment notes and type: "$BR"objdump -p libqsqlmysql.so | grep NEEDED
                                  output is:

                                2. now i only have to comment out the block in the libmariadb/CMakeLists.txt :
                                  SET_TARGET_PROPERTIES(libmariadb PROPERTIES VERSION ${CPACK_PACKAGE_VERSION_MAJOR} SOVERSION ${CPACK_PACKAGE_VERSION_MAJOR})
                                  and all should be fine and now i can load the mysql or mariadb plugin on android.

                                part 7, now i go and drink a coffee...

                                jsulmJ Offline
                                jsulmJ Offline
                                jsulm
                                Lifetime Qt Champion
                                wrote on last edited by
                                #46

                                @Allerknappe Not sure whether this was already asked: why do you want to connect to a MySQL server from Android? It is quite unusual to connect to a SQL server directly from a mobile device, because you have to expose your SQL database to the internet/intranet. Usually a REST API is used to communicate between mobile clients and the server.

                                https://forum.qt.io/topic/113070/qt-code-of-conduct

                                A 1 Reply Last reply
                                1
                                • jsulmJ jsulm

                                  @Allerknappe Not sure whether this was already asked: why do you want to connect to a MySQL server from Android? It is quite unusual to connect to a SQL server directly from a mobile device, because you have to expose your SQL database to the internet/intranet. Usually a REST API is used to communicate between mobile clients and the server.

                                  A Offline
                                  A Offline
                                  Allerknappe
                                  wrote on last edited by
                                  #47

                                  @jsulm
                                  ah thats sound interesting. i´m sorry but i thougt to use the mysql api is the usual way to comminicate with the mysql database... from the REST API i never heard about it, but i´m only learn programming and qt from the qt doc and there i try only the things, which i found usefull.
                                  If it´s really usefull or not is maybe a other question.

                                  its also so hard to get an REST API for Qt ? I found no example to create a plugin or driver...
                                  Maybe you now some good advice to learning the handling with the API?

                                  jsulmJ 1 Reply Last reply
                                  0
                                  • A Allerknappe

                                    @jsulm
                                    ah thats sound interesting. i´m sorry but i thougt to use the mysql api is the usual way to comminicate with the mysql database... from the REST API i never heard about it, but i´m only learn programming and qt from the qt doc and there i try only the things, which i found usefull.
                                    If it´s really usefull or not is maybe a other question.

                                    its also so hard to get an REST API for Qt ? I found no example to create a plugin or driver...
                                    Maybe you now some good advice to learning the handling with the API?

                                    jsulmJ Offline
                                    jsulmJ Offline
                                    jsulm
                                    Lifetime Qt Champion
                                    wrote on last edited by jsulm
                                    #48

                                    @Allerknappe REST API is completely unrelated to Qt. You can use QtNetwork (https://doc.qt.io/qt-5.10/qtnetwork-index.html) module to access such APIs. See https://en.wikipedia.org/wiki/Representational_state_transfer
                                    If you simply want to learn how to access a SQL server then you can do it on your PC.
                                    Also you can use SQLite on Android (and other platforms) as it does not require a SQL server.
                                    If you would connect to MySQL server from your android device - where would this server run (on the same device or somewhere else)?

                                    https://forum.qt.io/topic/113070/qt-code-of-conduct

                                    A 1 Reply Last reply
                                    1
                                    • jsulmJ jsulm

                                      @Allerknappe REST API is completely unrelated to Qt. You can use QtNetwork (https://doc.qt.io/qt-5.10/qtnetwork-index.html) module to access such APIs. See https://en.wikipedia.org/wiki/Representational_state_transfer
                                      If you simply want to learn how to access a SQL server then you can do it on your PC.
                                      Also you can use SQLite on Android (and other platforms) as it does not require a SQL server.
                                      If you would connect to MySQL server from your android device - where would this server run (on the same device or somewhere else)?

                                      A Offline
                                      A Offline
                                      Allerknappe
                                      wrote on last edited by Allerknappe
                                      #49

                                      @jsulm
                                      at first, thank you for the post.
                                      i have a MySQL Server runnning on Amazon AWS.
                                      on the desktop i can communicate with the server and send him MySQL statements which will insert or delete querys. So a SQLite method will not work with amazon.

                                      but it seems that amazon aws support REST API, i found this create Query on AWS and a REST Api instruction on Amazon S3.

                                      so i think i will now write another code which will generate a QtNetwork possible query and put the MySQL Synthax query into it.
                                      if this work i think i have to send the qtnetwork query to the Amazon Server or what will i do? is this not the same, as i send it directly with the mysql plugin to the server?

                                      edit: i use Amazon RDS for generating databases not the Amazon S3 Service for: Object storage built to store and retrieve any amount of data from anywhere...

                                      jsulmJ 1 Reply Last reply
                                      0
                                      • A Allerknappe

                                        @jsulm
                                        at first, thank you for the post.
                                        i have a MySQL Server runnning on Amazon AWS.
                                        on the desktop i can communicate with the server and send him MySQL statements which will insert or delete querys. So a SQLite method will not work with amazon.

                                        but it seems that amazon aws support REST API, i found this create Query on AWS and a REST Api instruction on Amazon S3.

                                        so i think i will now write another code which will generate a QtNetwork possible query and put the MySQL Synthax query into it.
                                        if this work i think i have to send the qtnetwork query to the Amazon Server or what will i do? is this not the same, as i send it directly with the mysql plugin to the server?

                                        edit: i use Amazon RDS for generating databases not the Amazon S3 Service for: Object storage built to store and retrieve any amount of data from anywhere...

                                        jsulmJ Offline
                                        jsulmJ Offline
                                        jsulm
                                        Lifetime Qt Champion
                                        wrote on last edited by
                                        #50

                                        @Allerknappe This is not really what I mentioned. Usually you do not send any SQL queries via REST APIs. Such an API as an abstraction layer which hides the SQL server. You actually don't even need to know whether there is a SQL server or something else behind the REST API.

                                        https://forum.qt.io/topic/113070/qt-code-of-conduct

                                        A 1 Reply Last reply
                                        1
                                        • jsulmJ jsulm

                                          @Allerknappe This is not really what I mentioned. Usually you do not send any SQL queries via REST APIs. Such an API as an abstraction layer which hides the SQL server. You actually don't even need to know whether there is a SQL server or something else behind the REST API.

                                          A Offline
                                          A Offline
                                          Allerknappe
                                          wrote on last edited by Allerknappe
                                          #51

                                          @jsulm
                                          so i understand that, maybe for data safety, it´s not really good to send the query with the information directly to the database.
                                          i should use between the client and the database an REST API which run seperatly on a server like Amazon AWS S3, which after the API get something the API will create a query and Database connection.
                                          So nobody knows where the Server is located and what i will done with it.

                                          ok so far so good. How i can install the REST API on the Server and send him datas?

                                          maybe i show you my example.
                                          in my actually code, i run first

                                          bool Funktionen::setDB(QString UserName,QString Password)		//overload db set function
                                          {
                                              QSqlDatabase db;
                                              if(db.databaseName() == NULL)
                                          	{
                                                  db = QSqlDatabase::addDatabase("QMYSQL");
                                          		db.setHostName(DBHostName);
                                          		db.setDatabaseName(DatabaseName);
                                          		db.setUserName(UserName);
                                          		db.setPassword(Password);
                                          		db.setPort(Port);
                                          	
                                          		bool ok;
                                          		if((ok = db.open()))		//if the db has no failure
                                          		{
                                          			return 1;
                                          		}
                                          		else					//if its exists an error, it will returned
                                          		{
                                          			QSqlError error;
                                          			QString Fehlercode;
                                          			Fehlercode = error.text();
                                          			return 0;
                                          		}
                                          	}
                                          	return 1;
                                          }
                                          

                                          and then i write an sending method:

                                          bool Funktionen::inserttoDB(QString entity,QVector<QString> &attribut,QVector<QString> &value)	//Sendemethode an die DB
                                          {
                                          	QSqlQuery query;
                                              QString anfrage;
                                          		
                                          			if(attribut.size()==1)
                                          			{
                                                          anfrage.append("INSERT INTO " + entity +" (" + attribut.at(0) +") VALUES (");
                                          				if(attribut.at(0) == "ID" || attribut.at(0) == "Online" || attribut.at(0) == "AnfragendeID" || attribut.at(0) == "EmpfaengerID" || attribut.at(0) == "VonID" || attribut.at(0) == "ChatID" || attribut.at(0) == "ProfilID" || attribut.at(0) == "VonStd" || attribut.at(0) == "VonMin" || attribut.at(0) == "BisStd" || attribut.at(0) == "BisMin" || attribut.at(0) == "GanzerTag" || attribut.at(0) == "TerminAnfrageID" || attribut.at(0) == "TerminID" || attribut.at(0) == "Acceppt")
                                          				{
                                          					anfrage.append(value.at(0));
                                          				}
                                          				else
                                          				{
                                          					anfrage.append("'");
                                          					anfrage.append(value.at(0));
                                          					anfrage.append("'");
                                          				}
                                                          anfrage.append(")");
                                          			}
                                          			
                                          		for(int ic = 2;ic <= 8;ic++)	// this loop access the query size
                                          		{
                                          			
                                          			if((attribut.size()==ic))
                                          			{
                                                          anfrage = "INSERT INTO " + entity + " (";
                                          				for(int i=1; i <= attribut.size();i++)		//this loo will create the insert string
                                          				{
                                                              anfrage.append(attribut.at(i-1));
                                          					if(i==attribut.size())
                                          					{
                                          						anfrage.append(") VALUES (");
                                          
                                          						
                                          						break;
                                          					}
                                          					anfrage.append(", ");
                                          				}
                                                          for(int i=0; i < value.size();i++)		//the loop will create the hole query
                                          				{
                                                              if(attribut.at(i) == "ID" || attribut.at(i) == "Online" || attribut.at(i) == "AnfragendeID" || attribut.at(i) == "EmpfaengerID" || attribut.at(i) == "VonID" || attribut.at(i) == "ChatID" || attribut.at(i) == "ProfilID" || attribut.at(i) == "VonStd" || attribut.at(i) == "VonMin" || attribut.at(i) == "BisStd" || attribut.at(i) == "BisMin" || attribut.at(i) == "GanzerTag" || attribut.at(i) == "TerminAnfrageID" || attribut.at(i) == "TerminID" || attribut.at(i) == "Acceppt")
                                          					{
                                          						anfrage.append(value.at(i));
                                          					}
                                          					else
                                          					{
                                          						anfrage.append("'");
                                          						anfrage.append(value.at(i));
                                          						anfrage.append("'");
                                          					}
                                                              if(i+1==value.size())
                                          					{
                                          						anfrage.append(")");
                                          						break;
                                          					}
                                          					anfrage.append(", ");
                                          				}
                                          			break;
                                          			}
                                          			
                                          		
                                          		}
                                              query.prepare(anfrage);
                                          
                                              if(!query.exec())
                                              {
                                                  QSqlError err = query.lastError();
                                                  QString tex = err.text();
                                                  return 0;
                                              }
                                              return 1;
                                          }
                                          

                                          so i think you will told me thats this code is not readable for the REST API and i have to change the hole code.
                                          But in this moment its only functionable on windows and if i want to use it on android i have to change it and then its ok.

                                          edit: maybe it´s then easier to use a cloud storage and send them an sqlite query where i can store it?(if its possible, in my case the sqlite api is still working...)

                                          jsulmJ 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