-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unable to run in OSX #1
Comments
Check out if you have Android NDK configured as required (including ENV vars - ANDROID_NDK). Check also ANDROID_SDK presence. You need Android-14 platform also. It works for me on Mac OSX. Let me know if you resolved this |
@ph4r05 Thank you for sharing your work! I have been trying to build x86 and Arm Android OpenSSl for days now. Your script would be super amazing if I could get it to work! I am getting an error that it cannot find the stdlib? Do I need to figure out how to modify script to use a standalone toolchain ?
Environment: ~/.profile
Edited: build.sh
|
Actually, the first build, the arch-armeabi build succeeds in creating binaries:
It is the arch-armeabi-v7a and x86 builds that fail. arm7
x86
So something to do with stdlib on arm7 and x86?
It looks like stdio.h can be found under ndk-bundle.
|
Rolling back to ndk-r10e seems to have solved my build problems for macOS !! I still cannot build on Ubuntu 18.04 using ndk-r10e. I am OK with that since macOS is my main development host. Ubuntu build error:
|
Interesting, I've just built it with I am using macOS primarily, for Ubuntu I would need some PR. |
@ph4r05 Curious. Thanks, I will give r15c a try. I only setup Ubuntu because I was suspected it could be a clang problem. I prefer to stay on macOS. |
Hmm it seems there is something broken also with r15c :/ |
Its seemed like newer NDKs could not find stdlib.h or a compiler. Is a stand-alone NDK toolchain required under newer NDKs? |
Hi, is there any progress with newer NDK versions? say, r20? |
Hi,
Can you please help me to update my openssl for android in OSX
making depend in crypto...
../util/domd: line 26: i686-linux-android-gcc: command not found
make[1]: *** [local_depend] Error 1
make: *** [depend] Error 1
making all in crypto...
i686-linux-android-gcc -I. -I.. -I../include -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -mandroid -I/platforms/android-14/arch-x86/usr/include -B/platforms/android-14/arch-x86/usr/lib -O3 -fomit-frame-pointer -Wall -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m -DRC4_ASM -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM -DVPAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -c -o cryptlib.o cryptlib.c
make[1]: i686-linux-android-gcc: No such file or directory
make[1]: *** [cryptlib.o] Error 1
make: *** [build_crypto] Error 1
cp: lib*.a: No such file or directory
cp: lib*.so: No such file or directory
The text was updated successfully, but these errors were encountered: