atai@atai-ubuntu:~/workspace/sqlcipher_android/android-database-sqlcipher$ make
cd external/ && \
make -f Android.mk build-local-hack && \
ndk-build && \
make -f Android.mk copy-libs-hack
make[1]: Entering directory `/home/atai/workspace/sqlcipher_android/android-database-sqlcipher/external'
cd sqlcipher && ./configure --enable-tempstore=yes CFLAGS="-DSQL_HAS_CODEC" LDFLAGS="-lcrypto"
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... arm-none-linux-gnueabi-gcc --sysroot=/home/atai/arm-2010q1/arm-none-linux-gnueabi/libc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
make[1]: *** [sqlcipher/sqlite3.c] Error 77
make[1]: Leaving directory `/home/atai/workspace/sqlcipher_android/android-database-sqlcipher/external'
make: *** [build-external] Error 2
As you can see I tried to set the environment var CC to the ARM cross compiler... but that was not enough
--
Andy Tai,
at...@atai.org, Skype: licheng.tai
Year 2012 民國101年
自動的精神力是信仰與覺悟
自動的行為力是勞動與技能