Please have a look at the NDK documentation.  You need to extract the
toolchain using a provided script which targets the appropriate API level.
The codesourcery toolchain does not target the correct libc.
On Jun 16, 2011 9:43 AM, "Nahid Alam" <sha...@gmail.com> wrote:
> Hi,
>
> I am using OpenSSL 0.9.8k to write a simple AES encryption application
that
> works fine in x86. It uses EVP library APIs for encryption/decryption
> purpose.
>
> Now I need to compile it for Tegra2 (ARM) which is running Android 2.2
> I am using Code Sourcery to cross compile for ARM using
>
> $arm-none-linux-gnueabi-gcc -lcrypto -o test test.c
>
> But getting fatal error: openssl/evp.h: No such file or directory
>
> Any ideas? Do I need to cross compile openssl 1st?
> --
> Regards
> Nahid

Reply via email to