javac: unrecognized option '-target' javac: unrecognized option '-Xmaxerrs'
seem to indicate a problem with your JavaC compiler. Are you sure you're using the JDK listed in the requirements. Do you have CDPATH defined in your environment. I believe it sometimes creates problems during the build process. What is your exact Linux distribution ? 32/64 bit ? 2009/3/5 liangta...@gmail.com <liangta...@gmail.com> > > liangta...@linux-gdr3:~/android> make > build/core/product_config.mk:211: WARNING: adding test OTA key > ============================================ > TARGET_PRODUCT=generic > TARGET_BUILD_VARIANT=eng > TARGET_SIMULATOR= > TARGET_BUILD_TYPE=release > TARGET_ARCH=arm > HOST_ARCH=x86 > HOST_OS=linux > HOST_BUILD_TYPE=release > BUILD_ID= > ============================================ > build/core/main.mk:180: implicitly installing apns-conf_sdk.xml > build/core/copy_headers.mk:15: 警告:覆盖关于目标“out/target/product/generic/ > obj/include/libpv/getactualaacconfig.h”的命令 > build/core/copy_headers.mk:15: 警告:忽略关于目标“out/target/product/generic/ > obj/include/libpv/getactualaacconfig.h”的旧命令 > host Java: clearsilver (out/host/common/obj/JAVA_LIBRARIES/ > clearsilver_intermediates/classes) > javac: 1.5: 没有那个文件或目录 > javac: 9999999: 没有那个文件或目录 > javac: unrecognized option '-target' > javac: unrecognized option '-Xmaxerrs' > external/clearsilver/java-jni/CS.java:9: error: HDF cannot be resolved > to a type > protected HDF globalHDF; > ^^^ > external/clearsilver/java-jni/CS.java:10: error: HDF cannot be > resolved to a type > protected HDF localHDF; > ^^^ > external/clearsilver/java-jni/CS.java:13: error: JNI cannot be > resolved > JNI.loadLibrary(); > ^^^ > external/clearsilver/java-jni/CS.java:16: error: HDF cannot be > resolved to a type > public CS(HDF ho) { > ^^^ > external/clearsilver/java-jni/CS.java:17: error: globalHDF cannot be > resolved or is not a field > this.globalHDF = null; > ^^^^^^^^^ > external/clearsilver/java-jni/CS.java:18: error: localHDF cannot be > resolved or is not a field > this.localHDF = ho; > ^^^^^^^^ > external/clearsilver/java-jni/CS.java:23: error: HDF cannot be > resolved to a type > public CS(HDF ho, HDF global) { > ^^^ > external/clearsilver/java-jni/CS.java:23: error: HDF cannot be > resolved to a type > public CS(HDF ho, HDF global) { > ^^^ > external/clearsilver/java-jni/CS.java:26: error: globalHDF cannot be > resolved or is not a field > this.globalHDF = global; > ^^^^^^^^^ > external/clearsilver/java-jni/CS.java:33: error: HDF cannot be > resolved to a type > public void setGlobalHDF(HDF global) { > ^^^ > external/clearsilver/java-jni/CS.java:35: error: globalHDF cannot be > resolved or is not a field > this.globalHDF = global; > ^^^^^^^^^ > external/clearsilver/java-jni/CS.java:39: error: HDF cannot be > resolved to a type > public HDF getGlobalHDF() { > ^^^ > external/clearsilver/java-jni/CS.java:40: error: globalHDF cannot be > resolved or is not a field > return this.globalHDF; > ^^^^^^^^^ > external/clearsilver/java-jni/CS.java:58: error: fileLoader cannot be > resolved > _parseFile(csptr, filename, fileLoader != null); > ^^^^^^^^^^ > external/clearsilver/java-jni/CS.java:81: error: CSFileLoader cannot > be resolved to a type > CSFileLoader aFileLoader = fileLoader; > ^^^^^^^^^^^^ > external/clearsilver/java-jni/CS.java:81: error: fileLoader cannot be > resolved > CSFileLoader aFileLoader = fileLoader; > ^^^^^^^^^^ > external/clearsilver/java-jni/CS.java:85: error: localHDF cannot be > resolved > String result = aFileLoader.load(localHDF, filename); > ^^^^^^^^ > external/clearsilver/java-jni/CS.java:94: error: CSFileLoader cannot > be resolved to a type > private CSFileLoader fileLoader = null; > ^^^^^^^^^^^^ > external/clearsilver/java-jni/CS.java:100: error: CSFileLoader cannot > be resolved to a type > public CSFileLoader getFileLoader() { > ^^^^^^^^^^^^ > external/clearsilver/java-jni/CS.java:101: error: fileLoader cannot be > resolved > return fileLoader; > ^^^^^^^^^^ > external/clearsilver/java-jni/CS.java:108: error: CSFileLoader cannot > be resolved to a type > public void setFileLoader(CSFileLoader fileLoader) { > ^^^^^^^^^^^^ > external/clearsilver/java-jni/CS.java:109: error: fileLoader cannot be > resolved or is not a field > this.fileLoader = fileLoader; > ^^^^^^^^^^ > 22 problems (22 errors) > external/clearsilver/java-jni/CSFileLoader.java:20: error: HDF cannot > be resolved to a type > public String load(HDF hdf, String filename) throws IOException; > ^^^ > 1 problem (1 error) > external/clearsilver/java-jni/HDF.java:20: error: JNI cannot be > resolved > JNI.loadLibrary(); > ^^^ > external/clearsilver/java-jni/HDF.java:67: error: fileLoader cannot be > resolved > return _readFile(hdfptr, filename, fileLoader != null); > ^^^^^^^^^^ > external/clearsilver/java-jni/HDF.java:75: error: CSFileLoader cannot > be resolved to a type > CSFileLoader aFileLoader = fileLoader; > ^^^^^^^^^^^^ > external/clearsilver/java-jni/HDF.java:75: error: fileLoader cannot be > resolved > CSFileLoader aFileLoader = fileLoader; > ^^^^^^^^^^ > external/clearsilver/java-jni/HDF.java:88: error: CSFileLoader cannot > be resolved to a type > private CSFileLoader fileLoader = null; > ^^^^^^^^^^^^ > external/clearsilver/java-jni/HDF.java:94: error: CSFileLoader cannot > be resolved to a type > public CSFileLoader getFileLoader() { > ^^^^^^^^^^^^ > external/clearsilver/java-jni/HDF.java:95: error: fileLoader cannot be > resolved > return fileLoader; > ^^^^^^^^^^ > external/clearsilver/java-jni/HDF.java:102: error: CSFileLoader cannot > be resolved to a type > public void setFileLoader(CSFileLoader fileLoader) { > ^^^^^^^^^^^^ > external/clearsilver/java-jni/HDF.java:103: error: fileLoader cannot > be resolved or is not a field > this.fileLoader = fileLoader; > ^^^^^^^^^^ > 9 problems (9 errors) > make: *** [out/host/common/obj/JAVA_LIBRARIES/ > clearsilver_intermediates/javalib.jar] 错误 41 > > > > --~--~---------~--~----~------------~-------~--~----~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---