Details

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.8.0
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      Qt 5.8
      OSX 10.11.6

      Description

      followed the description here: http://doc.qt.io/qt-5/opensslsupport.html

      downloaded and extracted openssl-1.0.2k
      Open Terminal

      cd <my-path>/openssl-1.0.2k
      export ANDROID_NDK_ROOT=<my-path>/android-ndk-r10e
      export CC=$ANDROID_NDK_ROOT/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc
      export AR=$ANDROID_NDK_ROOT/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-ar
      ANDROID_DEV=$ANDROID_NDK_ROOT/platforms/android-21/arch-arm/usr
      
      ./Configure shared android-armv7
      

      Configuration was done
      then opened Makefile and replaced values for LIBNAME

      make build_libs
      

      now getting error:

      Configured for android-armv7.
      ekkes-MBP:openssl-1.0.2k admin$ make build_libs
      making all in crypto...
      /usr/bin/perl ../util/mkbuildinf.pl "gcc -I. -I.. -I../include  -fPIC -DOPENSSL_PIC -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 -DBSAES_ASM -DGHASH_ASM" "android-armv7" >buildinf.h
      gcc -I. -I.. -I../include  -fPIC -DOPENSSL_PIC -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 -DBSAES_ASM -DGHASH_ASM   -c -o cryptlib.o cryptlib.c
      clang: error: unknown argument: '-mandroid'
      make[1]: *** [cryptlib.o] Error 1
      make: *** [build_crypto] Error 1
      

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              qt.team.graphics.and.multimedia Qt Graphics and Multimedia Team
              Reporter:
              ekkescorner Ekkehard
            • Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:

                Gerrit Reviews

                There are no open Gerrit changes