[android-developers] Re: Openssl for Android (libssl.so and libcrypto.so)
no one replies on the other group :\ I only have untill thursday to try this... any last help before I give up trying to compile this...? On 26 Ago, 13:45, rickrvo rick...@hotmail.com wrote: ok thnaks. I'll post my question on that group. On 26 Ago, 12:41, Daniel Drozdzewski daniel.drozdzew...@gmail.com wrote: On 26 August 2011 12:30, rickrvo rick...@hotmail.com wrote: well... yeah but I don't even know if this is going to work... I just need these libs to see if it fixes some compiling errors... So what am I doing wrong? why is the Top message? Right, So I can't help you, even if I wanted. From *About This Group* : Discuss developing Android applications using the SDK: troubleshooting apps, advice on implementation, strategies for improving your app's speed and user experience. This group is for development-related topics only, not for job opportunity announcements, advertisement, debates about devices, etc. What you need is Android-Platform group:http://groups.google.com/group/android-platform HTH -- Daniel Drozdzewski -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Openssl for Android (libssl.so and libcrypto.so)
I'm out of options... :\ can anyone send me these libs already compiled by email please? I would really appreciate it! :\ I'm running out of time trying to get this to work on my project... Thanks On 25 Ago, 11:19, rickrvo rick...@hotmail.com wrote: I ran this: $ . build/envsetup.sh inside ~/bin/WORKING_COPY folder and it returned this: including device/htc/passion/vendorsetup.sh including device/samsung/crespo4g/vendorsetup.sh including device/samsung/crespo/vendorsetup.sh including sdk/bash_completion/adb.bash Then I went into the source folder and did: $ m -j16 clean-libcrypto clean-libssl clean-openssl clean-ssltest Couldn't locate the top of the tree. Try setting TOP. I even tried to run this: source ~/bin/WORKING_DIRECTORY/build/ envsetup.sh inside the source folder but it didn't return anything and still m or mm commands return the try setting top message On 11 Ago, 13:56, Amit Pundir pundira...@gmail.com wrote: On Fri, Aug 5, 2011 at 3:27 PM, rickrvo rick...@hotmail.com wrote: I can't get m nor mm commands to work. both say to try setting top... help please :\ How did you run envsetup.sh? It is a script which will set your build environment for AOSP. You should use it like this -- $ source $(AOSP_ROOT)/build/envsetup.sh where AOSP_ROOT is the AOSP root directory. This will export m and mm commands. Regards, Amit Pundir On 4 Ago, 15:53, rickrvo rick...@hotmail.com wrote: I've read the instructions... and ran the envsetup.sh but didn't realize that it must be ran on the openssl folder and not on working_directory folder... after running from openssl folder: m -j16 clean-libcrypto clean-libssl clean-openssl clean-ssltest Couldn't locate the top of the tree. Try setting TOP. What is TOP? How do I set it? :\ It's hard just to build a openssl version for android... I don't get why every project has only the source available for people to compile themselves... and not a lib.so for a direct download... then what happens is that noobs like me fill forums with questions... lol and some may seem stupid... but for me with almost no experience in linux is a pain in the a** lol On 4 Ago, 15:21, Nikolay Elenkov nikolay.elen...@gmail.com wrote: On Thu, Aug 4, 2011 at 11:13 PM, rickrvo rick...@hotmail.com wrote: I've managed to build the ASOP and ran envsetup.sh but still can't find m and mm commands... :\ Did you read the instructions? Or the shell script? Invoke . build/envsetup.sh from your shell to add the following functions to your environment: - croot: Changes directory to the top of the tree. - m: Makes from the top of the tree. - mm: Builds all of the modules in the current directory. - mmm: Builds all of the modules in the supplied directories. - cgrep: Greps on all local C/C++ files. - jgrep: Greps on all local Java files. - resgrep: Greps on all local res/*.xml files. - godir: Go to the directory containing a file. - cmremote: Add git remote for CM Gerrit Review - cmgerrit: Send patch request request to CyanogenMod repos - mka: Builds using SCHED_BATCH on all processors - reposync: Parallel repo sync using ionice and SCHED_BATCH -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Openssl for Android (libssl.so and libcrypto.so)
well... yeah but I don't even know if this is going to work... I just need these libs to see if it fixes some compiling errors... So what am I doing wrong? why is the Top message? On 26 Ago, 11:06, Daniel Drozdzewski daniel.drozdzew...@gmail.com wrote: On 26 August 2011 11:00, rickrvo rick...@hotmail.com wrote: I'm out of options... :\ can anyone send me these libs already compiled by email please? I would really appreciate it! :\ I'm running out of time trying to get this to work on my project... Thanks Few things: 1) wrong group 2) don't you think that you are asking to be exploited, when asking people to send you precompiled libraries, especially ones that are essential for security? -- Daniel -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Openssl for Android (libssl.so and libcrypto.so)
ok thnaks. I'll post my question on that group. On 26 Ago, 12:41, Daniel Drozdzewski daniel.drozdzew...@gmail.com wrote: On 26 August 2011 12:30, rickrvo rick...@hotmail.com wrote: well... yeah but I don't even know if this is going to work... I just need these libs to see if it fixes some compiling errors... So what am I doing wrong? why is the Top message? Right, So I can't help you, even if I wanted. From *About This Group* : Discuss developing Android applications using the SDK: troubleshooting apps, advice on implementation, strategies for improving your app's speed and user experience. This group is for development-related topics only, not for job opportunity announcements, advertisement, debates about devices, etc. What you need is Android-Platform group:http://groups.google.com/group/android-platform HTH -- Daniel Drozdzewski -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Openssl for Android (libssl.so and libcrypto.so)
I ran this: $ . build/envsetup.sh inside ~/bin/WORKING_COPY folder and it returned this: including device/htc/passion/vendorsetup.sh including device/samsung/crespo4g/vendorsetup.sh including device/samsung/crespo/vendorsetup.sh including sdk/bash_completion/adb.bash Then I went into the source folder and did: $ m -j16 clean-libcrypto clean-libssl clean-openssl clean-ssltest Couldn't locate the top of the tree. Try setting TOP. I even tried to run this:source ~/bin/WORKING_DIRECTORY/build/ envsetup.shinside the source folder but it didn't return anything and still m or mm commands return the try setting top message On 11 Ago, 13:56, Amit Pundir pundira...@gmail.com wrote: On Fri, Aug 5, 2011 at 3:27 PM, rickrvo rick...@hotmail.com wrote: I can't get m nor mm commands to work. both say to try setting top... help please :\ How did you run envsetup.sh? It is a script which will set your build environment for AOSP. You should use it like this -- $ source $(AOSP_ROOT)/build/envsetup.sh where AOSP_ROOT is the AOSP root directory. This will export m and mm commands. Regards, Amit Pundir On 4 Ago, 15:53, rickrvo rick...@hotmail.com wrote: I've read the instructions... and ran the envsetup.sh but didn't realize that it must be ran on the openssl folder and not on working_directory folder... after running from openssl folder: m -j16 clean-libcrypto clean-libssl clean-openssl clean-ssltest Couldn't locate the top of the tree. Try setting TOP. What is TOP? How do I set it? :\ It's hard just to build a openssl version for android... I don't get why every project has only the source available for people to compile themselves... and not a lib.so for a direct download... then what happens is that noobs like me fill forums with questions... lol and some may seem stupid... but for me with almost no experience in linux is a pain in the a** lol On 4 Ago, 15:21, Nikolay Elenkov nikolay.elen...@gmail.com wrote: On Thu, Aug 4, 2011 at 11:13 PM, rickrvo rick...@hotmail.com wrote: I've managed to build the ASOP and ran envsetup.sh but still can't find m and mm commands... :\ Did you read the instructions? Or the shell script? Invoke . build/envsetup.sh from your shell to add the following functions to your environment: - croot: Changes directory to the top of the tree. - m: Makes from the top of the tree. - mm: Builds all of the modules in the current directory. - mmm: Builds all of the modules in the supplied directories. - cgrep: Greps on all local C/C++ files. - jgrep: Greps on all local Java files. - resgrep: Greps on all local res/*.xml files. - godir: Go to the directory containing a file. - cmremote: Add git remote for CM Gerrit Review - cmgerrit: Send patch request request to CyanogenMod repos - mka: Builds using SCHED_BATCH on all processors - reposync: Parallel repo sync using ionice and SCHED_BATCH -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Openssl for Android (libssl.so and libcrypto.so)
I can't get m nor mm commands to work. both say to try setting top... help please :\ On 4 Ago, 15:53, rickrvo rick...@hotmail.com wrote: I've read the instructions... and ran the envsetup.sh but didn't realize that it must be ran on the openssl folder and not on working_directory folder... after running from openssl folder: m -j16 clean-libcrypto clean-libssl clean-openssl clean-ssltest Couldn't locate the top of the tree. Try setting TOP. What is TOP? How do I set it? :\ It's hard just to build a openssl version for android... I don't get why every project has only the source available for people to compile themselves... and not a lib.so for a direct download... then what happens is that noobs like me fill forums with questions... lol and some may seem stupid... but for me with almost no experience in linux is a pain in the a** lol On 4 Ago, 15:21, Nikolay Elenkov nikolay.elen...@gmail.com wrote: On Thu, Aug 4, 2011 at 11:13 PM, rickrvo rick...@hotmail.com wrote: I've managed to build the ASOP and ran envsetup.sh but still can't find m and mm commands... :\ Did you read the instructions? Or the shell script? Invoke . build/envsetup.sh from your shell to add the following functions to your environment: - croot: Changes directory to the top of the tree. - m: Makes from the top of the tree. - mm: Builds all of the modules in the current directory. - mmm: Builds all of the modules in the supplied directories. - cgrep: Greps on all local C/C++ files. - jgrep: Greps on all local Java files. - resgrep: Greps on all local res/*.xml files. - godir: Go to the directory containing a file. - cmremote: Add git remote for CM Gerrit Review - cmgerrit: Send patch request request to CyanogenMod repos - mka: Builds using SCHED_BATCH on all processors - reposync: Parallel repo sync using ionice and SCHED_BATCH -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Openssl for Android (libssl.so and libcrypto.so)
I've managed to build the ASOP and ran envsetup.sh but still can't find m and mm commands... :\ On 3 Ago, 06:41, Mike darksk...@gmail.com wrote: You get them from envsetup. Sh -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Openssl for Android (libssl.so and libcrypto.so)
I've read the instructions... and ran the envsetup.sh but didn't realize that it must be ran on the openssl folder and not on working_directory folder... after running from openssl folder: m -j16 clean-libcrypto clean-libssl clean-openssl clean-ssltest Couldn't locate the top of the tree. Try setting TOP. What is TOP? How do I set it? :\ It's hard just to build a openssl version for android... I don't get why every project has only the source available for people to compile themselves... and not a lib.so for a direct download... then what happens is that noobs like me fill forums with questions... lol and some may seem stupid... but for me with almost no experience in linux is a pain in the a** lol On 4 Ago, 15:21, Nikolay Elenkov nikolay.elen...@gmail.com wrote: On Thu, Aug 4, 2011 at 11:13 PM, rickrvo rick...@hotmail.com wrote: I've managed to build the ASOP and ran envsetup.sh but still can't find m and mm commands... :\ Did you read the instructions? Or the shell script? Invoke . build/envsetup.sh from your shell to add the following functions to your environment: - croot: Changes directory to the top of the tree. - m: Makes from the top of the tree. - mm: Builds all of the modules in the current directory. - mmm: Builds all of the modules in the supplied directories. - cgrep: Greps on all local C/C++ files. - jgrep: Greps on all local Java files. - resgrep: Greps on all local res/*.xml files. - godir: Go to the directory containing a file. - cmremote: Add git remote for CM Gerrit Review - cmgerrit: Send patch request request to CyanogenMod repos - mka: Builds using SCHED_BATCH on all processors - reposync: Parallel repo sync using ionice and SCHED_BATCH -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Openssl for Android (libssl.so and libcrypto.so)
thx! but where can I find envsetup.sh? it's not on my android's ndk nor sdk folders and can't find it on the android openssl package... :| On 3 Ago, 06:41, Mike darksk...@gmail.com wrote: You get them from envsetup. Sh -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Openssl for Android (libssl.so and libcrypto.so)
I think I know what's causing these errors... the incompatible libssl.so (was the one from ubuntu 11 /usr/lib) that I've changed to the one on the android's /system/lib fixed the incompatible error but since the include of openssl/dsa.h it includes all of the ubuntu openssl instead of some differences that may be causing these undefined reference errors. So I think that if I make a sucessfull build of this android libssl and include the files from the same build these erroes hopefully will go away. But I'm trying to follow the steps from http://source.android.com/source/downloading.html and when I run curl https://android.git.kernel.org/repo ~/bin/repo it can't get the necessary files can I direct download this files in a easier way? like a .tar or something... % Total% Received % Xferd Average Speed TimeTime Time Current Dload Upload Total Spent Left Speed 0 00 00 0 0 0 --:--:-- 0:02:29 --:--:-- 0 curl: (7) Failed to connect to 2001:4f8:1:10:1972:112:1:0: Rede inacessível How do I bypass this step? (I tried with and without proxy and it didn't work) On 3 Ago, 11:26, Nikolay Elenkov nikolay.elen...@gmail.com wrote: On Wed, Aug 3, 2011 at 6:57 PM, rickrvo rick...@hotmail.com wrote: thx! but where can I find envsetup.sh? it's not on my android's ndk nor sdk folders and can't find it on the android openssl package... :| This is out of the scope of this list. Try asking on android-building or android-porting. BTW, envsetup.sh, m, and mm (shell functions) come from the Android open source project (ASOP), they are part of the build environment. You may need to get this to compile your library. Or change your Makefiles, etc. to get it to compile with just the NDK. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Openssl for Android (libssl.so and libcrypto.so)
nope, I'm on a VM and everything else (web related) works fine, like firefox and git command... I also posted in android-build... should I post this in platform too? On 3 Ago, 15:38, Mike darksk...@gmail.com wrote: Are you behind a firewall?... btw this is is not in the scope of this group..Please post in android-platform. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Openssl for Android (libssl.so and libcrypto.so)
Anyone can help me? what are the m and mm commands? how Do I get them? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Openssl for Android (libssl.so and libcrypto.so)
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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Openssl for Android (libssl.so and libcrypto.so)
Nevermind step 3) and 4) I fixed it. If anyone gets this error follow http://www.openssl.org/news/secadv_20101116-2.txt and manually patch the ssl/t1_lib.c accordingly to your openssl version. Now the only thing that I can't overcome is the m and mm commands... :\ -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Openssl for Android (libssl.so and libcrypto.so)
Nevermind step 3) and 4) I fixed it. If anyone gets this error follow http://www.openssl.org/news/secadv_20101116-2.txt and manually patch the ssl/t1_lib.c accordingly to your openssl version. Now the only thing that I can't overcome is the m and mm commands... : \ as in: 5) Cleanup before building with: m -j16 clean-libcrypto clean-libssl clean-openssl clean-ssltest 6) Build openssl from the external/openssl directory with: mm -j16 snod adb sync system If there are build errors, then patches/*.mk, openssl.config, or android-config.mk may need updating. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] git clone isn't working on openssl android project
Hi, I'm trying to get libssl.so and libcrypto.so for android with this instructions: http://android.git.kernel.org/?p=platform/external/openssl.git;a=summary and I can't get git clone to work... Cloning into openssl... android.git.kernel.org[0: 130.239.17.13]: errno=Connection timed out android.git.kernel.org[0: 149.20.4.77]: errno=Connection timed out android.git.kernel.org[0: 149.20.20.141]: errno=Connection timed out android.git.kernel.org[0: 199.6.1.173]: errno=Connection timed out android.git.kernel.org[0: 2001:4f8:8:10:1972:112:1:0]: errno=Network is unreachable android.git.kernel.org[0: 2001:500:60:10:1972:112:1:0]: errno=Network is unreachable android.git.kernel.org[0: 2001:6b0:e:4017:1972:112:1:0]: errno=Network is unreachable android.git.kernel.org[0: 2001:4f8:1:10:1972:112:1:0]: errno=Network is unreachable fatal: unable to connect a socket (Network is unreachable) can some one please help? is this the same files that are on the android's /system/lib folder? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en