1

I am trying to compile open ssl for android. I followed this link for compilation.

https://stackoverflow.com/questions/11929773/compiling-the-latest-openssl-for-android
But i am stuck at this error immediately .

fatal error: sys/cdefs.h: No such file or directory  #  include <sys/cdefs.h>
Jeeva
  • 1,791
  • 2
  • 23
  • 42

1 Answers1

2

Followed another link which helped me to solve the issue.
libc6-dev-i386 was not installed in my system. After installing with this command in my Ubuntu the errors were gone.

sudo apt-get install g++-multilib

Answer from ubuntu link for reference

Jeeva
  • 1,791
  • 2
  • 23
  • 42