7

I am trying to compile one of the native libraries libdigcert using Android NDK toolchain.

If I use arm toolchain everything works fine and if I link this library to my executable I dont get any linker errors.

If I use x86 toolchain, then I get linker errors which are showing undefined reference to stdout , stderr etc.

I used nm to read the difference between both .a files (arm and x86), and I see that, the x86 file has stdout undefined, while arm .a does not even mention stdout symbol.

Can anyone point me to what I am missing here?

Sameer Joshi
  • 329
  • 3
  • 16

0 Answers0