在ubuntu上编译openjdk,出现以下错误,前后搜了两天,实在无法解决。 10C

make[5]: *** [linux_amd64_compiler2/debug] Error 2
make[5]: Leaving directory '/home/zhang5788/jvm/openjdk/build/linux-amd64-debug/hotspot/outputdir'
Makefile:191: recipe for target 'generic_build2' failed
make[4]: *** [generic_build2] Error 2
make[4]: Leaving directory '/home/zhang5788/jvm/openjdk/hotspot/make'
Makefile:151: recipe for target 'jvmg' failed
make[3]: *** [jvmg] Error 2
make[3]: Leaving directory '/home/zhang5788/jvm/openjdk/hotspot/make'
make/hotspot-rules.gmk:111: recipe for target 'hotspot-build' failed
make[2]: *** [hotspot-build] Error 2
make[2]: Leaving directory '/home/zhang5788/jvm/openjdk'
Makefile:262: recipe for target 'generic_debug_build' failed
make[1]: *** [generic_debug_build] Error 2
make[1]: Leaving directory '/home/zhang5788/jvm/openjdk'
Makefile:272: recipe for target 'build_debug_image' failed
make: *** [build_debug_image] Error 2
[1]+ Done make sanity

环境是
ubuntu 16.04
openjdk7
oracle jdk 1.7jdk1.7.0_79

2个回答

http://ask.csdn.net/questions/201919 你看下这个链接,看看行不行

个人建议不要用openJdk,,重新装个jdk

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问