微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 综合技术问答 > EDA使用问答 > VCS安装后使用问题

VCS安装后使用问题

时间:03-15 整理:3721RD 点击:
如题,小编在成功安装并破解VCS后,尝试使用了一下示例工程直接make, 但却遇到了如下问题:




  1. vcs -full64 \
  2. -cpp g++-4.8 \
  3. -cc gcc-4.8 \
  4. -sverilog \
  5. -debug_all \
  6. -l com.log \
  7. -f rtl.lst
  8. *** Using c compiler gcc-4.8 instead of cc ...
  9. Chronologic VCS (TM)
  10. Version M-2017.03-SP2_Full64 -- Sat Jan 12 17:40:16 2019
  11. Copyright (c) 1991-2017 by Synopsys Inc.
  12. ALL RIGHTS RESERVED

  13. This program is proprietary and confidential information of Synopsys Inc.
  14. and may be used and disclosed only as authorized in a license agreement
  15. controlling such use and disclosure.

  16. Parsing design file './timescale.v'
  17. Parsing design file './AndOr.v'
  18. Parsing design file './SR.v'
  19. Parsing design file './XorNor.v'
  20. Parsing design file './Intro_Top.v'
  21. Parsing design file './TestBench.v'
  22. Top Level Modules:
  23. TestBench
  24. TimeScale is 1 ns / 100 ps
  25. Starting vcs inline pass...
  26. 1 unique modules to generate
  27. However, due to incremental compilation, no re-compilation is necessary.
  28. make[1]: Entering directory '/home/alan/Desktop/Verilog_Project/code/lab01_instroduction/csrc'
  29. rm -f _csrc*.so pre_vcsobj_*.so share_vcsobj_*.so
  30. ld -shared-o .//../simv.dAIdir//_csrc0.so objs/amcQw_d.o
  31. rm -f _csrc0.so
  32. if [ -x ../simv ]; then chmod -x ../simv; fi
  33. g++-4.8-o ../simv-Wl,-rpath-link=./ -Wl,-rpath='$ORIGIN'/simv.daidir/ -Wl,-rpath=./simv.daidir/ -Wl,-rpath='$ORIGIN'/simv.daidir//scsim.db.dir-rdynamic_2331_archive_1.so _prev_archive_1.so _csrc0.soSIM_l.o_csrc0.sormapats_mop.o rmapats.o rmar.o rmar_nd.ormar_llvm_0_1.o rmar_llvm_0_0.o/home/alan/Desktop/Synopsys/vcs/linux64/lib/libzerosoft_rt_stubs.so /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvirsim.so /home/alan/Desktop/Synopsys/vcs/linux64/lib/liberrorinf.so /home/alan/Desktop/Synopsys/vcs/linux64/lib/libsnpsmalloc.so/home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so /home/alan/Desktop/Synopsys/vcs/linux64/lib/libsimprofile.so /home/alan/Desktop/Synopsys/vcs/linux64/lib/libuclinative.so /home/alan/Desktop/Synopsys/vcs/linux64/lib/vcs_tls.o-Wl,-whole-archive /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsucli.so -Wl,-no-whole-archive/home/alan/Desktop/Synopsys/vcs/linux64/lib/vcs_save_restore_new.o -ldl-lc -lm -lpthread -ldl
  34. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `snpsReallocFunc'
  35. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `snpsCheckStrdupFunc'
  36. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `ZsExecuteNBAs'
  37. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `snpsGetMemBytes'
  38. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsucli.so: undefined reference to `isUcliEngineStarted'
  39. _csrc0.so: undefined reference to `VCSGlobalData'
  40. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `ZsAddBorderInstance'
  41. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `snpsMemGroupSetThreadPrivate'
  42. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsucli.so: undefined reference to `setEnvPair'
  43. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `snpsMemGroupEnableLocks'
  44. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsucli.so: undefined reference to `waitForUserInput'
  45. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsucli.so: undefined reference to `initNativeUcli'
  46. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsucli.so: undefined reference to `execMhpiTclCommand'
  47. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsucli.so: undefined reference to `execMhpiTclCommandNoPrint'
  48. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `snpsCheckMallocFunc'
  49. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `ZsEvaluateDeltaCycle'
  50. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `snpsFreeGroup'
  51. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsucli.so: undefined reference to `storeSimLogFileHandle'
  52. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `snpsGroupGetActive'
  53. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsucli.so: undefined reference to `executeTclProc'
  54. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsucli.so: undefined reference to `setIclCmd_ResVars'
  55. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `ZsRegisterIfcSignal'
  56. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `ZsMarkIfcSignalAsDirty'
  57. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `ZsSetVcsValue'
  58. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `ZsInitCheck'
  59. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `snpsReallocFromGroup'
  60. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `snps__StrdupFunc'
  61. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `snpsNamedPushGroup'
  62. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `ZsGetValueLocation'
  63. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `ZsInitStrengthTables'
  64. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `snpsMemManagerIsActive'
  65. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsucli.so: undefined reference to `vcsRunUcliErrorScript'
  66. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `snpsHighMemory'
  67. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `registerOutOfMemHandle'
  68. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `snpsCheckMallocFromGroupFunc'
  69. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `snpsCheckCallocFromGroupFunc'
  70. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `snpsStrdupFunc'
  71. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `ZsReadDfsInstFile'
  72. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `snpsLowMemory'
  73. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `ZsOnDKIRegistrationFinished'
  74. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `snpsCheckReallocFunc'
  75. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsucli.so: undefined reference to `breakNativeTclLoop'
  76. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `ZsGetDfsInstId'
  77. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `snpsPosix_MemalignFunc'
  78. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `ZsGethdlVariableHandleByName'
  79. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `snpsNamedPopGroup'
  80. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `ZsSetNextSimulationTimeIfc'
  81. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `snpsCallocFromGroup'
  82. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `snpsMallocFunc'
  83. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `snpsSetSmallCaching'
  84. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `ZsSetLogicValue'
  85. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsucli.so: undefined reference to `printIclEndMarker'
  86. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `snpsGroupSize'
  87. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `snpsFreeFunc'
  88. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `snpsSetHook'
  89. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsucli.so: undefined reference to `printIclBeginMarker'
  90. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsucli.so: undefined reference to `shutDownNativeUcli'
  91. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `ZsGetNumUscopes'
  92. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `snpsSetOutOfMemoryRoutine'
  93. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsucli.so: undefined reference to `registerPreRestartFunc'
  94. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `miHeapProf_init'
  95. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `snpsOutOfMem'
  96. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `snpsCheckFreeFunc'
  97. _csrc0.so: undefined reference to `M_VCSgd_reYIK'
  98. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `ZsGetHdlVariableHandleByNameAndId'
  99. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `ZsCloseDfsInstFile'
  100. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `snpsMemSetLogFileHandle'
  101. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `ZsInitModule'
  102. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `miHeapOn'
  103. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `snpsMallocFromGroup'
  104. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `snpsPrintf'
  105. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `snpsDoStackUnwind'
  106. _csrc0.so: undefined reference to `M_VCSgd_xKpvN'
  107. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `snpsNamedAllocateGroup'
  108. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `snpsCheckCallocFunc'
  109. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `snpsGetHook'
  110. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `snpsCallocFunc'
  111. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsucli.so: undefined reference to `storeMiscTfCb'
  112. _csrc0.so: undefined reference to `SimDaiDir'
  113. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `snpsCurrentGroup'
  114. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `ZsGetHdlVariableHandleById'
  115. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `ZsGetNextSimulationTimeIfc'
  116. /home/alan/Desktop/Synopsys/vcs/linux64/lib/libvcsnew.so: undefined reference to `ZsFinalize'
  117. collect2: error: ld returned 1 exit status
  118. Makefile:106: recipe for target 'product_timestamp' failed
  119. make[1]: *** [product_timestamp] Error 1
  120. make[1]: Leaving directory '/home/alan/Desktop/Verilog_Project/code/lab01_instroduction/csrc'
  121. Make exited with status 2
  122. cpu time: 2.673 seconds to compile + .155 seconds to elab + .648 seconds to link
  123. Makefile:4: recipe for target 'compile' failed
  124. make: *** [compile] Error 2



复制代码



实际上,在此之前,terminal报错内容是relocation R_X86_64_32S against undefined symbol,小编搜索了一下之后发现可能是编译器版本过新的问题,于是gcc从原来的7.3换到了18.04最低可用的4.85。示例工程在另一台ubuntu18.04 with gcc4.85上亲测可用,想请问一下大家对于这个问题有什么看法吗 谢谢!
抱歉把terminal上所有信息贴了出来,这确实有点伤眼睛,但因为担心有所遗漏所以我就全贴上了,还请谅解。


可参考 https://www.cnblogs.com/sunic/p/9899013.html使用 -LDFLAGS -Wl,--no-as-needed参数
不过,为什么我的Ubuntu18.04也会有这个错误?

小编厉害了,2017的版本。

没用过2017版的。http://bbs.eetop.cn/forum.php?mod=viewthread&tid=636425 可参考这个帖子试试

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top