Is it possible to provide a sample "Android.mk" so that I can build
libevent.so for Android platform. Android NDK (Native Development Kit)
requires a make file called "Android.mk". I am using Ubuntu 10.04. Or is there any other
way. I saw this thread:
http://archives.seul.org/libevent/users/May-2011/msg00043.html.
But running "CC=droid-gcc LD=droid-ld ./configure --host=arm-none-linux-gnueabi" failed, see below:. no
checking for strip... strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... arm-none-linux-gnueabi
checking for arm-none-linux-gnueabi-gcc... droid-gcc
checking whether the C compiler works... no
configure: error: in `/home/huanga/workspace/Android/AmtGw/jni':
configure: error: C compiler cannot create executables
See `config.log' for more details
Thx a lot.