Hi,

http://android.git.kernel.org/?p=platform/external/openssl.git;a=summary
this is the project that I'm using to try to create a libssl.so
compatible with Qt necessitas target:Android

Since I can't find a already compiled libssl and libcrypto to direct
download... and adb pulling those files from a Android's /system/lib
folder fixes the "incompatible libssl.so and libssl.a" erros when I -
lssl in the .pro file on my project, but I still get erros like:

release/isd_connection.o: In function `dsaKey::~dsaKey()':
isd_connection.cpp:(.text._ZN6dsaKeyD1Ev[dsaKey::~dsaKey()]+0x16):
undefined reference to `DSA_free'
release/isd_connection.o: In function
`privateDSAKey::privateDSAKey(QString const&, QString const&)':
isd_connection.cpp:
(.text._ZN13privateDSAKeyC1ERK7QStringS2_[privateDSAKey::privateDSAKey(QString
const&, QString const&)]+0x54): undefined reference to `DSA_free'
release/dsa_key.o: In function `~dsaKey':
/home/hormonde/uni_net-student-android-tablet/uni_net-project/
staticlib-build-android/../staticlib/include/dsa_key.h:73: undefined
reference to `DSA_free'
/home/hormonde/uni_net-student-android-tablet/uni_net-project/
staticlib-build-android/../staticlib/include/dsa_key.h:73: undefined
reference to `DSA_free'
release/dsa_key.o: In function `createNewDSA()':
/home/hormonde/uni_net-student-android-tablet/uni_net-project/
staticlib-build-android/../staticlib/src/dsa_key.cpp:684: undefined
reference to `DSA_new'
/home/hormonde/uni_net-student-android-tablet/uni_net-project/
staticlib-build-android/../staticlib/src/dsa_key.cpp:690: undefined
reference to `BN_new'
/home/hormonde/uni_net-student-android-tablet/uni_net-project/
staticlib-build-android/../staticlib/src/dsa_key.cpp:690: undefined
reference to `BN_new'
/home/hormonde/uni_net-student-android-tablet/uni_net-project/
staticlib-build-android/../staticlib/src/dsa_key.cpp:690: undefined
reference to `BN_new'
/home/hormonde/uni_net-student-android-tablet/uni_net-project/
staticlib-build-android/../staticlib/src/dsa_key.cpp:690: undefined
reference to `BN_new'
...

as I think it has to do with this similar issue as Ó.Egilsson on his
last post: 
http://groups.google.com/group/android-ndk/browse_thread/thread/74cef4a7d6fec819/cce69b1d4e4dda49
which there errors are supposed to go away if the correct libs are
linked... (as the same code runs perfectly on a linux version of the
application)

So can some one please help me out how to compile these libs? I don't
have a clue on what configurations I need to change in order to make a
successful build... I get stuck in step 3) and 4) of the read me
file...

3) Run:

     ./import_openssl.sh import openssl-*.tar.gz

4) If there are any errors, then modify openssl.config,
openssl.version
   and patches in patches/ as appropriate.  You might want to use:

     ./import_openssl.sh regenerate patches/*.patch

   Repeat step 3.

as well as I don't know what the commands on step 5) and 6) are...
they aren't recognized by my console ( commands m and mm)

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to