跪求VCS2013编译外部UVM1.1d库的方法
vcs
-sverilog
+incdir+${UVM_HOME}/src
${UVM_HOME}/src/uvm.sv
${UVM_HOME}/src/dpi/uvm_dpi.cc
使用这个命令时,提示:./../simv.daidir/vc_hdrs.o/usr/synopsys/vcs/linux/lib/vcs_save_restore_new.o /usr/synopsys/vcs/linux/lib/ctype-stubs_32.a -ldl-lc -lm -lpthread -ldl
uvm_dpi.o: In function `uvm_hdl_set_vlog':
uvm_dpi.cc.text+0x359): undefined reference to `vpi_release_handle'
uvm_dpi.o: In function `uvm_hdl_read':
uvm_dpi.cc.text+0x485): undefined reference to `vpi_release_handle'
uvm_dpi.cc.text+0x4e7): undefined reference to `vpi_release_handle'
collect2: ld returned 1 exit status
make: *** [product_timestamp] Error 1./../simv.daidir/vc_hdrs.o/usr/synopsys/vcs/linux/lib/vcs_save_restore_new.o /usr/synopsys/vcs/linux/lib/ctype-stubs_32.a -ldl-lc -lm -lpthread -ldl
uvm_dpi.o: In function `uvm_hdl_set_vlog':
uvm_dpi.cc:(.text+0x359): undefined reference to `vpi_release_handle'
uvm_dpi.o: In function `uvm_hdl_read':
uvm_dpi.cc:(.text+0x485): undefined reference to `vpi_release_handle'
uvm_dpi.cc:(.text+0x4e7): undefined reference to `vpi_release_handle'
collect2: ld returned 1 exit status
make: *** [product_timestamp] Error 1
怎么解决啊,我用的是ubuntu,谢谢大师啦!
我也来学习一下,请问你的环境搭好了吗
在解压缩包里面任何一个examples目录下,里面有Makefile.vcs文件,直接执行命令:mak -f Makefile.vcs就可以了。
看一下Makefile.vcs文件的内容,就知道vcs是怎么编译、运行的了。
过来学习学习
大哥,你这个
collect2: ld returned 1 exit status
make: ***[product_timestamp]Error1
错误最后怎样解决的呢?
我也遇到了这个问题