32位ubuntu编译Gingerbread的一项错误解决办法

make: *** Waiting for unfinished jobs….

 

Could not load ‘clearsilver-jni’

 

java.library.path = out/host/linux-x86/lib

 

make: *** [out/target/common/docs/doc-comment-check-timestamp] Error 45

 

这是由于clearsilver在编译时如果检测到使用Java JDK 6,就使用64位编译。要避开此错误,需要修改下面四个文件:

 

external/clearsilver/cgi/Android.mk

external/clearsilver/java-jni/Android.mk

external/clearsilver/util/Android.mk

external/clearsilver/cs/Android.mk

把这四个Makefile中的下列语句注掉即可:

 

# This forces a 64-bit build for Java6

# Comment by Easwy

# LOCAL_CFLAGS += -m64

# LOCAL_LDFLAGS += -m64 然后在external/clearsilver目录中执行一下make clean,然后回到项目根目录,继续make即可。


你可能感兴趣的:(java,jdk,ubuntu,Build,makefile,jobs)