Skip to content
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

Build produces errors #1

Open
oren4322 opened this issue Sep 21, 2011 · 3 comments
Open

Build produces errors #1

oren4322 opened this issue Sep 21, 2011 · 3 comments

Comments

@oren4322
Copy link

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

@cykerway
Copy link

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 .

@fries
Copy link
Owner

fries commented Jan 9, 2012

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

@sevenjay
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants