Openssl problem
-
When I try compile qt from source to android platform, it not comile ssl support. My configure string is here:
./configure -verbose -openssl -I /usr/include/ -prefix $PWD/qtbase -no-rpath -release -xplatform android-g++ -nomake tests -nomake examples -android-ndk /home/nikohal/qt5/qt5/android-ndk-r10/ -android-sdk /home/nikohal/qt5/qt5/adb-bundle-linux-x68-20140702/sdk/ -android-ndk-platform android-19 -android-ndk-host linux-x86 -android-toolchain-version 4.8 -skip qttranslations -skip qtwebkit -skip qtserialport -skip qtwebkit-examples -no-warnings-are-errors -no-dbusI also try this: ./configure -verbose -openssl -xplatform android-g++ -nomake tests -nomake examples -android-ndk /home/nikohal/qt5/qt5/android-ndk-r10/ -android-sdk /home/nikohal/qt5/qt5/adb-bundle-linux-x68-20140702/sdk/ -android-ndk-platform android-19 -android-ndk-host linux-x86 -android-toolchain-version 4.8 -skip qttranslations -skip qtwebkit -skip qtserialport -skip qtwebkit-examples -no-warnings-are-errors -no-dbus
What is correct configure string to do openssl support?
Regards, Niko H.
-
Hi,
Do you have an OpenSSL for android available ?
-
I get this error:
!http://qt.hallikainen.cc/error2.png!
Missing operand... -
IIRC, I've had some problem with fips, however building only OpenSSL is enough
-
Now I get this error:
!http://qt.hallikainen.cc/eri_errori.png!
How I can fix that? -
Tiedosto väärässä muodossa = File in wrong format
-
Did you follow these "instructions":http://wiki.openssl.org/index.php/Android ?
-
Yes I try to do with that instruction but I get this error:
!http://qt.hallikainen.cc/openssl.png!
And
!http://qt.hallikainen.cc/find.png! -
First thing you should do is use the latest version of OpenSSL
What is your config line ?
Did you modify setenv-android.sh ? -
I use openssl 1.0.1e sources.
Here is "sentv-android.sh file":http://qt.hallikainen.cc/Setenv-android.sh.perl -pi -e 's/install: all install_docs install_sw/install: install_docs install_sw/g' Makefile.org
./config shared -no-ssl2 -no-ssl3 -no-comp -no-hw -no-engine --openssldir=/usr/local/ssl/$ANDROID_API
-
That's why I suggested to first use the latest version of the sources.
I remember I've had some problems there so in the end I've appended the instructions to setup/configure/build at the end of setenv-android.sh