title: no archive symbol table (run ranlib) while building libcryptopp.a through ndk-build
body: <p>Here i am trying to build libcryptopp.a through ndk-build but i getting error as shown below.</p>
  <p>Android.mk</p>
  <p><a href="https://i.stack.imgur.com/mHfzx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mHfzx.png" alt="enter image description here" /></a></p>
  <p>Application.mk</p>
  <p><a href="https://i.stack.imgur.com/J4K0K.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/J4K0K.png" alt="enter image description here" /></a></p>
  <p>setenv-android.sh its while creating libcryptopp.a and .so by using cryptopp 5.6.3</p>
  <p><a href="https://i.stack.imgur.com/iNNsL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/iNNsL.png" alt="enter image description here" /></a></p>
  <p>Error produced in terminal as below</p>
  <blockquote>
  <p>$ /Users/kasbahapple/Documents/AndroidDocs/AndroidADT/adt-bundle-mac-x86_64-20140702/sdk/ndk-bundle/ndk-build</p>
  <p>[armeabi] Gdbserver      : [arm-linux-androideabi-4.8] libs/armeabi/gdbserver</p>
  <p>[armeabi] Gdbsetup       : libs/armeabi/gdb.setup</p>
  <p>[armeabi-v7a] Gdbserver      : [arm-linux-androideabi-4.8] libs/armeabi-v7a/gdbserver</p>
  <p>[armeabi-v7a] Gdbsetup       : libs/armeabi-v7a/gdb.setup</p>
  <p>[x86] Gdbserver      : [x86-4.8] libs/x86/gdbserver</p>
  <p>[x86] Gdbsetup       : libs/x86/gdb.setup</p>
  <p>[armeabi] Executable     : source_file</p>
  <p>/Users/kasbahapple/Documents/AndroidDocs/AndroidADT/adt-bundle-mac-x86_64-20140702/sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.8/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: jni/nativelib/libcryptopp.a: no archive symbol table (run ranlib)</p>
  <p>/Users/kasbahapple/Documents/AndroidDocs/AndroidADT/adt-bundle-mac-x86_64-20140702/sdk/ndk-bundle/platforms/android-8/arch-arm/usr/lib/crtbegin_dynamic.o:crtbrand.c:function _start: error: undefined reference to 'main'</p>
  <p>collect2: error: ld returned 1 exit status</p>
  </blockquote>
  <p>I really struggling to build c++ static library through NDK.</p>
  <p>I looking for solution. Give me a complete steps if i doing wrong.</p>