3.error: converting ‘false’ to pointer type ‘methodOop’
错误信息:
1234
/home/xiaobaoqiu/Work/SourceCode/jdk/openjdk7/jdk7/hotspot/src/share/vm/oops/constantPoolOop.cpp:272:39: error: converting 'false' to pointer type 'methodOop' [-Werror=conversion-null]
if (cpool->cache() == NULL) return false; // nothing to load yet
^
cc1plus: all warnings being treated as errors
4.error: converting ‘false’ to pointer type ‘Node’*
错误信息
1234
/home/xiaobaoqiu/Work/SourceCode/jdk/openjdk7/jdk7/hotspot/src/share/vm/opto/loopnode.cpp:896:49: error: converting 'false' to pointer type 'Node*' [-Werror=conversion-null]
if (expr == NULL || expr->req() != 3) return false;
^
cc1plus: all warnings being treated as errors
5.Unable to load native library: /home/q/java/jdk1.7.0_80/jre/lib/amd64/libjava.so
错误信息:
1
Unable to load native library: /home/q/java/jdk1.7.0_80/jre/lib/amd64/libjava.so: symbol JVM_SetNativeThreadName, version SUNWprivate_1.1 not defined in file libjvm.so with link time reference
解决: 使用 JDK6 作为BOOT JDK
6.gcc: error: unrecognized command line option ‘-mimpure-text’
7. Error: time is more than 10 years from present: 1136059200000
错误信息
123456
Error: time is more than 10 years from present: 1136059200000
java.lang.RuntimeException: time is more than 10 years from present: 1136059200000
at build.tools.generatecurrencydata.GenerateCurrencyData.makeSpecialCaseEntry(GenerateCurrencyData.java:285)
at build.tools.generatecurrencydata.GenerateCurrencyData.buildMainAndSpecialCaseTables(GenerateCurrencyData.java:225)
at build.tools.generatecurrencydata.GenerateCurrencyData.main(GenerateCurrencyData.java:154)
make[4]: *** [/home/xiaobaoqiu/Work/SourceCode/jdk/openjdk7/jdk7/build/linux-amd64/lib/currency.data] Error 1