error when trying to compile wrapper for openssl library libcrypto.a
问题 I'm trying to build a dynamic library for android wrapper around libcrypto.a as described in http://wiki.openssl.org/index.php/FIPS_Library_and_Android#Using_FIPS_OpenSSL_in_a_real_Application I've produced the libcrypto.a as suggested on the page, but when I try to compile my wrapper.c I get a linker error, multiple definition of 'atexit' Here's the command line I'm using to compile: arm-linux-androideabi-gcc wrapper.c -fPIC -shared -I/usr/local/ssl/android-14/include -Wl,-Bstatic -lcrypto