android-external-openssl icon indicating copy to clipboard operation
android-external-openssl copied to clipboard

Build produces errors

Open oren4322 opened this issue 14 years ago • 3 comments

When executing ndk-build in the project errors appear:

In file included from /home/nk-yaniv/1/jni/crypto/cryptlib.c:117: /home/nk-yaniv/1/jni/crypto/cryptlib.h:65:18: error: e_os.h: No such file or directory /home/nk-yaniv/1/jni/crypto/cryptlib.h:72:28: error: openssl/crypto.h: No such file or directory /home/nk-yaniv/1/jni/crypto/cryptlib.h:73:29: error: openssl/buffer.h: No such file or directory ... ...

changing the path in the files only produces more error, how can this be avoided? TIA

oren4322 avatar Sep 21 '11 11:09 oren4322

Try this:

cd jni/crypto
ln -s ../e_os.h .
ln -s ../include/openssl .

cd ../apps
ln -s ../e_os.h .
ln -s ../include/openssl .

cd ../ssl
ln -s ../e_os.h .
ln -s ../include/openssl .
ln -s ../crypto/o_dir.h .

cykerway avatar Dec 17 '11 21:12 cykerway

openssl should be build along with the android source. This source was not setup to compile using the ndk.

fries avatar Jan 09 '12 21:01 fries

try http://osdir.com/ml/android-ndk/2010-07/msg00424.html

sevenjay avatar Jan 10 '12 08:01 sevenjay