Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to build openssl on android

I am trying to build openssl on android (got from https://github.com/guardianproject/openssl-android). need to make .so file of this and use in another android project actually. When I try to add all folders of downloaded openssl and build in prompt through ndk-build command, I get an error like this:

Android NDK: Trying to define local module 'openssl' in workspace/project/apps/Android.mk.

Android NDK: But this module is was already defined by workspace/project/apps/Android.mk.

android-ndk-r8b/build/core/build-module.mk:34:
*** Android NDK: Aborting.. Stop.

Please let me know how to build .so file!!

like image 858
Charan Avatar asked Nov 13 '22 19:11

Charan


1 Answers

Please check Android.mk, which is the make file for android. I think there is a silly mistake on that file.

like image 166
Naseef Chowdhury Avatar answered Nov 15 '22 10:11

Naseef Chowdhury