在线咨询
eetop公众号 创芯大讲堂 创芯人才网
切换到宽版

EETOP 创芯网论坛 (原名:电子顶级开发网)

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
查看: 1792|回复: 4

[求助] VCS编译出错

[复制链接]
发表于 2023-4-18 16:46:43 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

x

                               
登录/注册后可看大图



Starting vcs inline pass...
31 modules and 0 UDP read.
        However, due to incremental compilation, no re-compilation is necessary.
make[1]: Entering directory `/home/student00/student016/Vcs_autoSoc/autoSoc/autosoc-development-master/Simulation/csrc'
make[1]: Leaving directory `/home/student00/student016/Vcs_autoSoc/autoSoc/autosoc-development-master/Simulation/csrc'
make[1]: Entering directory `/home/student00/student016/Vcs_autoSoc/autoSoc/autosoc-development-master/Simulation/csrc'
rm -f _csrc*.so pre_vcsobj_*.so share_vcsobj_*.so
ld -shared  -Bsymbolic  -o .//../autosoc_tb.simv.daidir//_csrc0.so objs/amcQw_d.o
rm -f _csrc0.so
if [ -x ../autosoc_tb.simv ]; then chmod -x ../autosoc_tb.simv; fi
g++  -o ../autosoc_tb.simv    -Wl,-rpath-link=./ -Wl,-rpath='$ORIGIN'/autosoc_tb.simv.daidir/ -Wl,-rpath=./autosoc_tb.simv.daidir/ -Wl,-rpath='$ORIGIN'/autosoc_tb.simv.daidir//scsim.db.dir  -Wl,--no-as-needed -rdynamic  -Wl,-rpath=/home/software/eda_install/eda/synopsys/vcs-mx/O-2018.09-SP2/linux64/lib -L/home/software/eda_install/eda/synopsys/vcs-mx/O-2018.09-SP2/linux64/lib  elf-loader.o vpi_user.o jtag_vpi.o     _7810_archive_1.so _prev_archive_1.so _csrc0.so  SIM_l.o  _csrc0.so    rmapats_mop.o rmapats.o rmar.o rmar_nd.o  rmar_llvm_0_1.o rmar_llvm_0_0.o          -lnuma -lzerosoft_rt_stubs -lvirsim -lerrorinf -lsnpsmalloc -lvfs    -lvcsnew -lsimprofile -luclinative /home/software/eda_install/eda/synopsys/vcs-mx/O-2018.09-SP2/linux64/lib/vcs_tls.o   -Wl,-whole-archive -lvcsucli -Wl,-no-whole-archive        _vcs_pli_stub_.o   /home/software/eda_install/eda/synopsys/vcs-mx/O-2018.09-SP2/linux64/lib/vcs_save_restore_new.o /home/software/eda_install/eda/synopsys/verdi/Verdi_O-2018.09-SP2/share/PLI/VCS/LINUX64/pli.a -ldl -lm  -lc -lpthread -ldl
elf-loader.o: In function `dump_program_data':
elf-loader.c.text+0x22): undefined reference to `elf_getphdrnum'
elf-loader.c.text+0x6b): undefined reference to `gelf_getphdr'
elf-loader.c.text+0xea): undefined reference to `elf_getdata_rawchunk'
elf-loader.o: In function `dump_section_data':
elf-loader.c:(.text+0x16a): undefined reference to `elf_getshdrnum'
elf-loader.c:(.text+0x1a2): undefined reference to `elf_getshdrstrndx'
elf-loader.c:(.text+0x1e0): undefined reference to `gelf_getshdr'
elf-loader.c:(.text+0x22e): undefined reference to `elf_strptr'
elf-loader.c:(.text+0x28c): undefined reference to `elf_getdata'
elf-loader.c:(.text+0x2c8): undefined reference to `elf_nextscn'
elf-loader.o: In function `load_elf_file':
elf-loader.c:(.text+0x304): undefined reference to `elf_version'
elf-loader.c:(.text+0x358): undefined reference to `elf_begin'
elf-loader.c:(.text+0x385): undefined reference to `elf_kind'
elf-loader.c:(.text+0x3a6): undefined reference to `elf_end'
elf-loader.c:(.text+0x3c4): undefined reference to `elf_getident'
elf-loader.c:(.text+0x3d6): undefined reference to `elf_errmsg'
elf-loader.c:(.text+0x430): undefined reference to `elf_end'
elf-loader.c:(.text+0x467): undefined reference to `elf_end'
collect2: error: ld returned 1 exit status
make[1]: *** [product_timestamp] Error 1
make[1]: Leaving directory `/home/student00/student016/Vcs_autoSoc/autoSoc/autosoc-development-master/Simulation/csrc'
Make exited with status 2
CPU time: 3.934 seconds to compile + .604 seconds to elab + .260 seconds to link
Verdi KDB elaboration done and the database successfully generated: 0 error(s), 0 warning(s)
make: *** [elab] Error 2


运行vcs仿真时,调用了一个pli应用程序,报了如上图的错误,有大佬知道怎么解决的吗
发表于 2023-4-19 15:33:09 | 显示全部楼层
license 问题
 楼主| 发表于 2023-4-26 11:12:35 | 显示全部楼层


具体是什么liscense问题呢,需要怎么解决哇大神
发表于 2023-4-27 10:26:12 | 显示全部楼层
把生成的simv文件删掉,重新再跑下试试
发表于 2023-4-28 10:24:54 | 显示全部楼层
这是链接阶段出了问题,看起来像是elf-loader.o里面有些符号(函数)没找到,我之前解决过一个类似的问题,但不是elf-loader.o,最近对这类问题比较感兴趣,可以私聊我,一起研究一下
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐 上一条 /2 下一条

×

小黑屋| 手机版| 关于我们| 联系我们| 在线咨询| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2024-12-18 22:19 , Processed in 0.028939 second(s), 6 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
快速回复 返回顶部 返回列表