tag:blogger.com,1999:blog-5954747344613270524.comments2022-04-03T10:11:37.303-07:00The Software RogueBruce Smithhttp://www.blogger.com/profile/06792466739598536586noreply@blogger.comBlogger12125tag:blogger.com,1999:blog-5954747344613270524.post-90527285890080274592013-06-24T08:57:28.294-07:002013-06-24T08:57:28.294-07:00Updated script file I used FYI (I used standalone ...Updated script file I used FYI (I used standalone toolchain).......<br /><br />#!/bin/sh<br /><br />ANDROID_ROOT="$HOME/toolchain" \<br />TOOLCHAIN_VER="4.6" \<br />PLATFORM_VER="9" \<br />CROSS_COMPILE=arm-eabi- \<br />CPPFLAGS="-I$ANDROID_ROOT/sysroot/usr/include" \<br />LDFLAGS="-L$ANDROID_ROOT/sysroot/usr/lib" \<br />LIBS="-lc -ldl -lm" \<br />CFLAGS="-fno-exceptions -Wno-multichar -mthumb -mthumb-interwork -nostdlib" \<br />./configure CC=arm-linux-androideabi-gcc --host=arm-linux --disable-tftp --disable-sspi --disable-ipv6 --disable-ldaps --disable-ldap --disable-telnet --disable-pop3 --disable-ftp --without-ssl --disable-imap --disable-smtp --disable-pop3 --disable-rtsp --disable-ares --without-ca-bundle --disable-warnings --disable-manual --without-nss --enable-shared --without-zlib --without-random CPPFLAGS="-I$ANDROID_ROOT/platforms/android-14/arch-arm/usr/include"J. Gleasonhttps://www.blogger.com/profile/02810880692127284960noreply@blogger.comtag:blogger.com,1999:blog-5954747344613270524.post-26957321166398584802013-03-07T06:23:16.033-08:002013-03-07T06:23:16.033-08:00I know this is an old post, but it ranks high on s...I know this is an old post, but it ranks high on searches for "curl openssl android"<br /><br />The section "Setup source repository on Linux" can be achieve by following the instructions here:<br />http://source.android.com/source/downloading.htmlBBhttps://www.blogger.com/profile/15456406878019567521noreply@blogger.comtag:blogger.com,1999:blog-5954747344613270524.post-31696934398751334622012-12-03T19:25:49.985-08:002012-12-03T19:25:49.985-08:00Excellent work!
I have add some extra work to gen ...Excellent work!<br />I have add some extra work to gen curl_config.h in order to compile under CyanogenMod7 (including openssl):<br />**************<br />#!/bin/sh<br /><br />TOOLCHAIN_VER="4.4.0"<br />PLATFORM_VER="5"<br />#CROSS_COMPILE=arm-eabi-<br />#this variables should be already on path because of cyano<br />#PATH=$ANDROID_BUILD_TOP/prebuilt/linux-x86/toolchain/arm-eabi-$TOOLCHAIN_VER/bin:$PATH<br />CPPFLAGS="-I $ANDROID_BUILD_TOP/system/core/include -I$ANDROID_BUILD_TOP/bionic/libc/include -I$ANDROID_BUILD_TOP/ndk/build/platforms/android-5/arch-arm/usr/include -I$ANDROID_BUILD_TOP/bionic/libc/kernel/arch-arm -L $ANDROID_BUILD_TOP/prebuilt/linux-x86/toolchain/arm-eabi-$TOOLCHAIN_VER/lib/gcc/arm-eabi/$TOOLCHAIN_VER/interwork -L$ANDROID_BUILD_TOP/ndk/build/platforms/android-$PLATFORM_VER/arch-arm/usr/lib -L$ANDROID_BUILD_TOP/out/target/product/generic/system/lib -I$ANDROID_BUILD_TOP/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include -L$ANDROID_BUILD_TOP/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/lib -L$ANDROID_BUILD_TOP/out/target/product/olympus/system/lib " \<br />CFLAGS="-fno-exceptions -Wno-multichar -mthumb -mthumb-interwork -nostdlib -lc -ldl -lm " \<br />./configure CC=arm-eabi-gcc --host=arm-linux --disable-tftp --disable-sspi --disable-ipv6 --disable-ldaps --disable-ldap --disable-telnet --disable-pop3 --disable-ftp --disable-imap --disable-smtp --disable-pop3 --disable-rtsp --disable-ares --without-ca-bundle --disable-warnings --disable-manual --without-nss --enable-shared --without-zlib --without-random --with-ssl=$ANDROID_BUILD_TOP/external/openssl<br /><br />**************<br /><br />also to Android.mk:<br />LOCAL_SYSTEM_SHARED_LIBRARIES := libc libssl libcrypto<br />LOCAL_C_INCLUDES += external/openssl/include<br /><br /><br />**************<br /><br />now my goal is to compile libcurl dynamically... any success?<br />it will be really useful to have the library :D<br /><br />thanks!<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5954747344613270524.post-69677275691591400462012-03-23T08:59:29.234-07:002012-03-23T08:59:29.234-07:00hi natez0r,
would you please support me with this...hi natez0r,<br /><br />would you please support me with this version support ssl, I don't have enough experiences to do that, just send to me the new files should I replace & add.serngawyhttps://www.blogger.com/profile/04434581712180245274noreply@blogger.comtag:blogger.com,1999:blog-5954747344613270524.post-8685446707608538652012-03-23T08:01:15.438-07:002012-03-23T08:01:15.438-07:00Hi,
thanks for your great effort but I have a pro...Hi,<br /><br />thanks for your great effort but I have a problem with any https request I do, always get response result 1 it means unsupported protocol, do i have to change anything in curl_config.h to make ssl support <br /><br />thanksserngawyhttps://www.blogger.com/profile/04434581712180245274noreply@blogger.comtag:blogger.com,1999:blog-5954747344613270524.post-33801123805830464082012-03-05T06:46:29.312-08:002012-03-05T06:46:29.312-08:00make 3.82 made no problems. It seems to be two ver...make 3.82 made no problems. It seems to be two versions of 3.82 patched and unpatched depending on your Linux distro. Make from OpenSUSE 12.1 is O.K.yegorichhttps://www.blogger.com/profile/08828640390421114743noreply@blogger.comtag:blogger.com,1999:blog-5954747344613270524.post-77365335027441738972011-01-29T17:23:24.353-08:002011-01-29T17:23:24.353-08:00It helped me after my upgrade to Gingerbread 2.3.1...It helped me after my upgrade to Gingerbread 2.3.1. Thanks!Unknownhttps://www.blogger.com/profile/10141502129888560195noreply@blogger.comtag:blogger.com,1999:blog-5954747344613270524.post-54214524643924372562010-09-24T18:17:22.036-07:002010-09-24T18:17:22.036-07:00Please somebody port libssl. I've been checkin...Please somebody port libssl. I've been checking both cURL and wget, but none support ssl connections so far.<br />I wanted to used wget or cURL as download manager for android since I couldn't find one that would actually work. I would need ssl to pull login page to rapidshare and save login cookie.<br /><br />Holding my fingers crossedUnknownhttps://www.blogger.com/profile/00712375830551292834noreply@blogger.comtag:blogger.com,1999:blog-5954747344613270524.post-53434107812714378812010-07-14T09:57:56.592-07:002010-07-14T09:57:56.592-07:00I was able to get curl to build with openSSL suppo...I was able to get curl to build with openSSL support. This is how I did it, you mileage may vary:<br /><br />followed the guide up until the configure script.<br />modified the ./configure call to include the flag:<br />--with-ssl=$ANDROID_ROOT/external/openssl<br /><br />copied the source into a similar directory tree as this guide says.<br /><br />modified the Android.mk file to have a new variable (under LOCAL_PATH):<br /><br />OPENSSL_INCLUDE_DIR := {my android root directory}/external/openssl/include<br /><br /><br />modified the LOCAL_C_INCLUDES:<br /><br />LOCAL_C_INCLUDES += $(LOCAL_PATH)/include/ \<br /> $(OPENSSL_INCLUDE_DIR)<br /><br />(i also removed the curl executable build section)<br /><br />cd to $NDK_ROOT and did:<br />make APP={app name}<br /><br />hope this helps someonenatez0rhttps://www.blogger.com/profile/07820274823753906609noreply@blogger.comtag:blogger.com,1999:blog-5954747344613270524.post-25482261375166302442010-07-05T18:25:01.039-07:002010-07-05T18:25:01.039-07:00I'm a newbie and I'm really grateful for y...I'm a newbie and I'm really grateful for your tutorial!<br />However most features of curl are turned off/disabled, it compiles and works in emulator!FatCashhttps://www.blogger.com/profile/04902288612170778457noreply@blogger.comtag:blogger.com,1999:blog-5954747344613270524.post-12263287696652439072010-06-01T11:48:31.956-07:002010-06-01T11:48:31.956-07:00Excellent and thanks for the correction. I haven&...Excellent and thanks for the correction. I haven't added SSL yet. It follows the same process. You'll have to add an ssl library to your project and change appropriate settings on the curl side. I should hopefully get around to doing it soon.<br /><br />CheersBruce Smithhttps://www.blogger.com/profile/06792466739598536586noreply@blogger.comtag:blogger.com,1999:blog-5954747344613270524.post-49314412652471801452010-06-01T04:42:16.246-07:002010-06-01T04:42:16.246-07:00thanks for the guide,
typo at repo init -u git://a...thanks for the guide,<br />typo at repo init -u git://android.git/kernel.org/platform/manifest.git' should be<br />android.git.kernel.org<br /><br />got it working after some problems in libcrypto,<br />but now I need ssl support in curl, but can't get curl configure to find openssl, I always get <br />"SSL support: no" from curl configure.<br />Dis u get curl working with ssl?perjahttps://www.blogger.com/profile/12006696914651544276noreply@blogger.com