Comments (5)
solved.
you have to use "TARGET=android-9" in build_Android.sh.
I edited it to "android-14" because I don't have platforms directory named "android-9" in ndk-bundle. That was the problem.
I re-downloaded Android NDK, and copy android-9 to ndk-bundle/platform directory.
Good!
from curl-android-ios.
Did you solved?
same error. I'm using mac.
My "config.log" shows errors like this.
configure:3220: checking whether to enable compiler warnings as errors
arm-linux-androideabi-gcc: error: unrecognized command line option '-V'
arm-linux-androideabi-gcc: fatal error: no input files
arm-linux-androideabi-gcc: error: unrecognized command line option '-qversion'
arm-linux-androideabi-gcc: fatal error: no input files
conftest.c:9:19: fatal error: stdio.h: No such file or directory
conftest.c:10:19: fatal error: stdio.h: No such file or directory
| These don't provoke an error unfortunately, instead are silently treated
| as 'x'. The following induces an error, until -std is added to get
arm-linux-androideabi-gcc: error: unrecognized command line option '-qlanglvl=extc89'
| These don't provoke an error unfortunately, instead are silently treated
| as 'x'. The following induces an error, until -std is added to get
arm-linux-androideabi-gcc: error: unrecognized command line option '-qlanglvl=ansi'
| These don't provoke an error unfortunately, instead are silently treated
| as 'x'. The following induces an error, until -std is added to get
arm-linux-androideabi-gcc: error: unrecognized command line option '-std'
| These don't provoke an error unfortunately, instead are silently treated
| as 'x'. The following induces an error, until -std is added to get
<command-line>:0:1: error: missing '(' after predicate
conftest.c:10:19: fatal error: stdio.h: No such file or directory
| These don't provoke an error unfortunately, instead are silently treated
| as 'x'. The following induces an error, until -std is added to get
<command-line>:0:1: error: missing '(' after predicate
conftest.c:10:19: fatal error: stdio.h: No such file or directory
| These don't provoke an error unfortunately, instead are silently treated
| as 'x'. The following induces an error, until -std is added to get
arm-linux-androideabi-gcc: error: unrecognized command line option '-Xc'
| These don't provoke an error unfortunately, instead are silently treated
| as 'x'. The following induces an error, until -std is added to get
/Users/abc/Library/Android/sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include-fixed/limits.h:168:61: error: no include path in which to search for limits.h
| Syntax error
/Users/abc/Library/Android/sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include-fixed/limits.h:168:61: error: no include path in which to search for limits.h
| Syntax error
configure:4940: error: in `/Users/abc/Downloads/curl-android-ios/curl':
configure:4942: error: C preprocessor "/Users/abc/Library/Android/sdk/ndk-bundle/prebuilt/darwin-x86_64/bin/../../../toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-cpp" fails sanity check
from curl-android-ios.
Thanks for the update @heyask, but where did you copy android-9 from?
With ~/SDK/platforms/ I found Android-9 but it's a complete different file from the ndk-bundle/platforms. e.g. arch-arm,arch-mips,& arch-x86 are missing from it.
I re-downloaded Android NDK and put that there and as expected it didn't work.
Configured for android.
*** Because of configuration changes, you MUST do the following before
*** building:
make depend
Android NDK: android-9 is unsupported. Using minimum supported version android-14.
make: Entering directory `/Users/user/Desktop/CurlPrj/curl-android-ios/curl-compile-scripts'
/Users/user/Library/Android/sdk/ndk-bundle/build/core/setup-app.mk:81: Android NDK: Application targets deprecated ABI(s): mips64 armeabi mips
/Users/user/Library/Android/sdk/ndk-bundle/build/core/setup-app.mk:82: Android NDK: Support for these ABIs will be removed in a future NDK release.
make: Nothing to be done for `ssl'.
make: Nothing to be done for `crypto'.
make: Leaving directory `/Users/user/Desktop/CurlPrj/curl-android-ios/curl-compile-scripts'
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports nested variables... yes
checking whether to enable debug build options... no
checking whether to enable compiler optimizer... (assumed) yes
checking whether to enable strict compiler warnings... no
checking whether to enable compiler warnings as errors... no
checking whether to enable curl debug memory tracking... no
checking whether to enable hiding of library internal symbols... yes
checking whether to enable c-ares for DNS lookups... no
checking whether to disable dependency on -lrt... (assumed no)
checking for path separator... :
checking for sed... /usr/bin/sed
checking for grep... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for arm-linux-androideabi-gcc... /Users/user/Library/Android/sdk/ndk-bundle/prebuilt/darwin-x86_64/bin/../../../toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc
checking whether the C compiler works... no
configure: error: in `/Users/user/Desktop/CurlPrj/curl-android-ios/curl':
configure: error: C compiler cannot create executables
See `config.log' for more details
Error running the configure program
from curl-android-ios.
I experienced the same problem with ShawnnSnow....the same error log.
from curl-android-ios.
It should be working with the last commit
from curl-android-ios.
Related Issues (20)
- build failed: 'connectx' is only available on iOS 9.0 HOT 1
- Cannot build for Android HOT 1
- SSL link error happened HOT 4
- openssl file headers not found HOT 3
- arm version prebuilt library for Android is not exist. HOT 1
- Could you please post compiled Android binaries? HOT 3
- config failed with curlbuild.h.in HOT 2
- undefined reference to 'curl_easy_init' HOT 1
- Build on MacOS Mojave failed with Socekt Support problem HOT 4
- CURLOPT_PINNEDPUBLICKEY does not work on iOS HOT 4
- build android - ssl configuration
- Could you please update it to support arm64e for A12/A12X?
- Can't build on MacOS Mojave 10.14.5
- problem with using the library
- Missing LICENSE HOT 1
- url.c:55:2: error: "We can't compile without socket() support!" HOT 1
- Build iOS Error Catalina HOT 3
- Curl ios
- clang: error: unsupported option '--noexecstack' HOT 1
- Configured for android. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from curl-android-ios.