热度 10| |
问题描述:在UVM验证过程中,出现以下问题。
/XXX/synopsys/vcs_2016.06/linux/lib/libvcsnew.so: undefined reference to `snpsGroupGetActive'
/XXX/synopsys/vcs_2016.06/linux/lib/libvcsnew.so: undefined reference to `miHeapProf_init'
/XXX/synopsys/vcs_2016.06/linux/lib/libvcsucli.so: undefined reference to `printIclBeginMarker'
/XXX/synopsys/vcs_2016.06/linux/lib/libvcsnew.so: undefined reference to `snpsCallocFunc'
/XXX/synopsys/vcs_2016.06/linux/lib/libvcsucli.so: undefined reference to `executeTclProc'
/XXX/synopsys/vcs_2016.06/linux/lib/libvcsnew.so: undefined reference to `snpsCheckMallocFromGroupFunc'
/XXX/synopsys/vcs_2016.06/linux/lib/libvcsucli.so: undefined reference to `waitForUserInput'
/XXX/synopsys/vcs_2016.06/linux/lib/libvcsucli.so: undefined reference to `storeSimLogFileHandle'
/XXX/synopsys/vcs_2016.06/linux/lib/libvcsnew.so: undefined reference to `snpsSetOutOfMemoryRoutine'
/XXX/synopsys/vcs_2016.06/linux/lib/libvcsucli.so: undefined reference to `registerPreRestartFunc'
/XXX/synopsys/vcs_2016.06/linux/lib/libvcsucli.so: undefined reference to `initNativeUcli'
/XXX/synopsys/vcs_2016.06/linux/lib/libvcsnew.so: undefined reference to `snpsCheckReallocFunc'
/XXX/synopsys/vcs_2016.06/linux/lib/libvcsnew.so: undefined reference to `snpsNamedAllocateGroup'
/XXX/synopsys/vcs_2016.06/linux/lib/libvcsucli.so: undefined reference to `printIclEndMarker'
/XXX/synopsys/vcs_2016.06/linux/lib/libvcsnew.so: undefined reference to `snpsCallocFromGroup'
/XXX/synopsys/vcs_2016.06/linux/lib/libvcsnew.so: undefined reference to `snpsSetSmallCaching'
解决方法:在Makefile脚本文件中,明确GCC、G++的版本。