开发者社区> 问答> 正文

openjdk7编译出错? 400 报错

openjdk7编译出错? 400 报错

大家好,这边在看<深入理解JVM原理>这本书的时候,在进行编译openjdk7时,报了如下错误,请大神们指点一二,感激不尽:

Linking vm...
/usr/bin/ld: cannot open output file libjvm.so: Too many levels of symbolic links
collect2: error: ld returned 1 exit status
ln: failed to create symbolic link 'libjvm.so': File exists
ln: failed to create symbolic link 'libjvm.so.1': File exists
/usr/bin/objcopy --only-keep-debug libjvm.so libjvm.debuginfo
/usr/bin/objcopy: Warning: could not locate 'libjvm.so'.  reason: Too many levels of symbolic links
/usr/local/openjdk/hotspot/make/linux/makefiles/vm.make:324: recipe for target 'libjvm.so' failed
make[6]: *** [libjvm.so] Error 1
make[6]: Leaving directory '/usr/local/openjdk/build/hotspot/outputdir/linux_amd64_compiler2/product'
/usr/local/openjdk/hotspot/make/linux/makefiles/top.make:119: recipe for target 'the_vm' failed
make[5]: *** [the_vm] Error 2
make[5]: Leaving directory '/usr/local/openjdk/build/hotspot/outputdir/linux_amd64_compiler2/product'
/usr/local/openjdk/hotspot/make/linux/Makefile:290: recipe for target 'product' failed
make[4]: *** [product] Error 2
make[4]: Leaving directory '/usr/local/openjdk/build/hotspot/outputdir'
Makefile:191: recipe for target 'generic_build2' failed
make[3]: *** [generic_build2] Error 2
make[3]: Leaving directory '/usr/local/openjdk/hotspot/make'
Makefile:151: recipe for target 'product' failed
make[2]: *** [product] Error 2
make[2]: Leaving directory '/usr/local/openjdk/hotspot/make'
make/hotspot-rules.gmk:111: recipe for target 'hotspot-build' failed
make[1]: *** [hotspot-build] Error 2
make[1]: Leaving directory '/usr/local/openjdk'
Makefile:251: recipe for target 'build_product_image' failed
make: *** [build_product_image] Error 2
 

展开
收起
爱吃鱼的程序员 2020-06-03 15:41:27 486 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    结贴

    2020-06-03 20:52:18
    赞同 展开评论 打赏
问答地址:
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载