|
发表于 2014-5-1 19:34:57
|
显示全部楼层
楼主,你好,安装在ubuntu-14.04-x86_64bit 的电脑上仿真的出现如下错误~
之前用的2013-06版本没问题,请问这个版本有别的什么环境变量需要设置吗?
#========================================
export VCS_HOME=/eda/vcs_201403VI
export VCSI_HOME=$VCS_HOME
export PATH=$VCS_HOME/binPATH
export VCS_ARCH_OVERRIDE=linux
export TARGET_ARCH=x86-64
export VCS_CC=/eda/gnu_gcc/gnu_gcc_482/bin/gcc
#======================================
错误报告:
All of 40 modules done
make[1]: Entering directory `/home/lx/workspace/orpsocv2/sim/vcs_run/csrc'
rm -f _csrc*.so amd64_scvhdl_*.so pre_vcsobj_*.so share_vcsobj_*.so
ld -shared -o .//../simv.daidir//_csrc1.so --whole-archive _vcsobj_1_1.a --no-whole-archive
ld -shared -o .//../simv.daidir//_csrc0.so 5NrI_d.o 5NrIB_d.o SIM_l.o
if [ -x ../simv ]; then chmod -x ../simv; fi
g++ -o ../simv -Wl,-rpath-link=./ -Wl,-rpath='$ORIGIN'/simv.daidir/ -Wl,-rpath='$ORIGIN'/simv.daidir//scsim.db.dir _csrc1.so _csrc0.so rmapats_mop.o rmapats.o rmar.o /eda/vcs_201403VI/amd64/lib/libzerosoft_rt_stubs.so /eda/vcs_201403VI/amd64/lib/libvirsim.so /eda/vcs_201403VI/amd64/lib/liberrorinf.so /eda/vcs_201403VI/amd64/lib/libsnpsmalloc.so /eda/vcs_201403VI/amd64/lib/libvcsnew.so /eda/vcs_201403VI/amd64/lib/libreader_common.so /eda/vcs_201403VI/amd64/lib/libBA.a /eda/vcs_201403VI/amd64/lib/libuclinative.so -Wl,-whole-archive /eda/vcs_201403VI/amd64/lib/libvcsucli.so -Wl,-no-whole-archive ./../simv.daidir/vc_hdrs.o /eda/vcs_201403VI/amd64/lib/vcs_save_restore_new.o /eda/verdi3_201307/share/PLI/VCS/LINUX64/pli.a -ldl -lm -lc -lpthread -ldl
/eda/vcs_201403VI/amd64/lib/libvcsnew.so: undefined reference to `snpsReallocFunc'
_csrc0.so: undefined reference to `M_VCSgd_uart_pkg_IYAqub_1'
/eda/vcs_201403VI/amd64/lib/libvcsnew.so: undefined reference to `snpsCheckStrdupFunc'
/eda/vcs_201403VI/amd64/lib/libvcsnew.so: undefined reference to `snpsGetMemBytes'
/eda/vcs_201403VI/amd64/lib/libvcsucli.so: undefined reference to `isUcliEngineStarted'
_csrc0.so: undefined reference to `QRD_VCSgd_tst_1'
/eda/vcs_201403VI/amd64/lib/libvcsucli.so: undefined reference to `setEnvPair'
_csrc0.so: undefined reference to `QRD_VCSgd_dbg_if_LzUlIc_1'
_csrc0.so: undefined reference to `QRD_VCSgd_arbiter_bytebus_o8Pi4_1'
/eda/vcs_201403VI/amd64/lib/libvcsucli.so: undefined reference to `waitForUserInput'
/eda/vcs_201403VI/amd64/lib/libvcsucli.so: undefined reference to `initNativeUcli'
_csrc0.so: undefined reference to `QRD_VCSgd_ovl_assert_modules_DoMr0c_1'
/eda/vcs_201403VI/amd64/lib/libvcsucli.so: undefined reference to `execMhpiTclCommand'
_csrc0.so: undefined reference to `_VCSClass_uart_pkguart_base'
_csrc0.so: undefined reference to `QRD_VCSgd_or1200_freeze_excY3c_1'
/eda/vcs_201403VI/amd64/lib/libvcsucli.so: undefined reference to `execMhpiTclCommandNoPrint'
_csrc0.so: undefined reference to `QRD_VCSgd_uart_wb_7VtIub_1'
_csrc0.so: undefined reference to `QRD_VCSgd_or1200_wb_biu_90NTJd_1'
_csrc0.so: undefined reference to `_VCSClass_stdprocess'
/eda/vcs_201403VI/amd64/lib/libvcsnew.so: undefined reference to `snpsCheckMallocFunc'
_csrc0.so: undefined reference to `M_VCSgd_vcs_paramcrepository_B61KJd_1'
/eda/vcs_201403VI/amd64/lib/libvcsnew.so: undefined reference to `snpsFreeGroup'
/eda/vcs_201403VI/amd64/lib/libvcsucli.so: undefined reference to `storeSimLogFileHandle'
/eda/vcs_201403VI/amd64/lib/libvcsnew.so: undefined reference to `snpsGroupGetActive'
_csrc0.so: undefined reference to `QRD_VCSgd_drv_connector_if_Ld15Hb_1'
/eda/vcs_201403VI/amd64/lib/libvcsucli.so: undefined reference to `executeTclProc'
/eda/vcs_201403VI/amd64/lib/libvcsucli.so: undefined reference to `setIclCmd_ResVars'
_csrc0.so: undefined reference to `QRD_VCSgd_i2c_master_top_fPgCzc_1'
_csrc0.so: undefined reference to `M_VCSgd_ovl_assert_modules_DoMr0c_1'
_csrc0.so: undefined reference to `QRD_VCSgd_or1200_operandmuxes_2TzfBd_1'
/eda/vcs_201403VI/amd64/lib/libvcsnew.so: undefined reference to `snpsReallocFromGroup'
_csrc0.so: undefined reference to `QRD_VCSgd_or1200_pm_UigM8b_1'
_csrc0.so: undefined reference to `QRD_VCSgd_uart_driver_zXcgke_1'
_csrc0.so: undefined reference to `M_VCSgd_tst_1'
/eda/vcs_201403VI/amd64/lib/libvcsnew.so: undefined reference to `snpsNamedPushGroup'
_csrc0.so: undefined reference to `QRD_VCSgd_or1200_sprs_yKVbkd_1'
_csrc0.so: undefined reference to `QRD_VCSgd_or1200_fpufloat_conv_CGjOhc_1'
_csrc0.so: undefined reference to `QRD_VCSgd_clkgen_1'
_csrc0.so: undefined reference to `QRD_VCSgd_or1200_fpu_8Ok3Xc_1'
/eda/vcs_201403VI/amd64/lib/libvcsnew.so: undefined reference to `snpsMemManagerIsActive'
/eda/vcs_201403VI/amd64/lib/libvcsucli.so: undefined reference to `vcsRunUcliErrorScript'
/eda/vcs_201403VI/amd64/lib/libvcsnew.so: undefined reference to `snpsHighMemory'
/eda/vcs_201403VI/amd64/lib/libvcsnew.so: undefined reference to `registerOutOfMemHandle'
/eda/vcs_201403VI/amd64/lib/libvcsnew.so: undefined reference to `snpsStrdupFunc'
_csrc0.so: undefined reference to `QRD_VCSgd_std_1'
_csrc0.so: undefined reference to `QRD_VCSgd_arbiter_ibus_GBHYo_1'
/eda/vcs_201403VI/amd64/lib/libvcsnew.so: undefined reference to `snpsLowMemory'
_csrc0.so: undefined reference to `QRD_VCSgd_or1200_cfgr_YjNBHd_1'
/eda/vcs_201403VI/amd64/lib/libvcsnew.so: undefined reference to `snpsCheckReallocFunc'
_csrc0.so: undefined reference to `QRD_VCSgd_or1200_if_oIo3j_1'
_csrc0.so: undefined reference to `QRD_VCSgd_dbg_cpu_23wsJ_1'
_csrc0.so: undefined reference to `QRD_VCSgd_dbg_crc32_d1_HTcGrd_1'
/eda/vcs_201403VI/amd64/lib/libvcsucli.so: undefined reference to `breakNativeTclLoop'
_csrc0.so: undefined reference to `QRD_VCSgd_ram_wb_704fUc_1'
_csrc0.so: undefined reference to `QRD_VCSgd_or1200_alu_LObjob_1'
_csrc0.so: undefined reference to `QRD_VCSgd_orpsoc_pericore_top_Chy8L_1'
/eda/vcs_201403VI/amd64/lib/libvcsnew.so: undefined reference to `snpsNamedPopGroup'
/eda/vcs_201403VI/amd64/lib/libvcsnew.so: undefined reference to `snpsCallocFromGroup'
/eda/vcs_201403VI/amd64/lib/libvcsnew.so: undefined reference to `snpsMallocFunc'
_csrc0.so: undefined reference to `QRD_VCSgd_or1200_fput_norm_div_vUOQge_1'
_csrc0.so: undefined reference to `_VCSClass_stdmailbox'
/eda/vcs_201403VI/amd64/lib/libvcsnew.so: undefined reference to `snpsUseMemMalloc'
/eda/vcs_201403VI/amd64/lib/libvcsucli.so: undefined reference to `printIclEndMarker'
_csrc0.so: undefined reference to `QRD_VCSgd_orpsoc_testbench_0cp4fe_1'
_csrc0.so: undefined reference to `QRD_VCSgd_vcs_paramcrepository_B61KJd_1'
/eda/vcs_201403VI/amd64/lib/libvcsnew.so: undefined reference to `snpsGroupSize'
/eda/vcs_201403VI/amd64/lib/libvcsnew.so: undefined reference to `snpsFreeFunc'
/eda/vcs_201403VI/amd64/lib/libvcsnew.so: undefined reference to `snpsSetHook'
_csrc0.so: undefined reference to `QRD_VCSgd_or1200_dmmu_top_f7O07c_1'
/eda/vcs_201403VI/amd64/lib/libvcsucli.so: undefined reference to `printIclBeginMarker'
_csrc0.so: undefined reference to `QRD_VCSgd_jtag_tap_kpsv0c_1'
/eda/vcs_201403VI/amd64/lib/libvcsucli.so: undefined reference to `shutDownNativeUcli'
/eda/vcs_201403VI/amd64/lib/libvcsnew.so: undefined reference to `snpsSetOutOfMemoryRoutine'
/eda/vcs_201403VI/amd64/lib/libvcsnew.so: undefined reference to `snpsUseMalloc'
/eda/vcs_201403VI/amd64/lib/libvcsucli.so: undefined reference to `registerPreRestartFunc'
_csrc0.so: undefined reference to `M_VCSgd_std_1'
_csrc0.so: undefined reference to `QRD_VCSgd_orpsoc_top_2ck69c_1'
/eda/vcs_201403VI/amd64/lib/libvcsnew.so: undefined reference to `miHeapProf_init'
/eda/vcs_201403VI/amd64/lib/libvcsnew.so: undefined reference to `snpsOutOfMem'
/eda/vcs_201403VI/amd64/lib/libvcsnew.so: undefined reference to `snpsCheckFreeFunc'
_csrc0.so: undefined reference to `QRD_VCSgd_or1200_dc_top_UvAfKe_1'
_csrc0.so: undefined reference to `_VCSClass_stdstd_mailbox_2561828672_13'
_csrc0.so: undefined reference to `QRD_VCSgd_or1200_qmem_top_Hxq3R_1'
_csrc0.so: undefined reference to `QRD_VCSgd_or1200_ic_top_4USEIb_1'
_csrc0.so: undefined reference to `M_VCSgd_orpsoc_testbench_0cp4fe_1'
/eda/vcs_201403VI/amd64/lib/libvcsnew.so: undefined reference to `snpsMemSetLogFileHandle'
_csrc0.so: undefined reference to `QRD_VCSgd_or1200_fpu_fcmp_MSTiSd_1'
/eda/vcs_201403VI/amd64/lib/libvcsnew.so: undefined reference to `miHeapOn'
/eda/vcs_201403VI/amd64/lib/libvcsnew.so: undefined reference to `snpsMallocFromGroup'
_csrc0.so: undefined reference to `QRD_VCSgd_or1200_du_eOkbIb_1'
/eda/vcs_201403VI/amd64/lib/libvcsnew.so: undefined reference to `snpsPrintf'
/eda/vcs_201403VI/amd64/lib/libvcsnew.so: undefined reference to `snpsDoStackUnwind'
_csrc0.so: undefined reference to `QRD_VCSgd_arbiter_dbus_Ot35Hb_1'
/eda/vcs_201403VI/amd64/lib/libvcsnew.so: undefined reference to `snpsNamedAllocateGroup'
/eda/vcs_201403VI/amd64/lib/libvcsnew.so: undefined reference to `snpsCheckCallocFunc'
_csrc0.so: undefined reference to `QRD_VCSgd_or1200_lsu_TQa8ne_1'
/eda/vcs_201403VI/amd64/lib/libvcsnew.so: undefined reference to `snpsCallocFunc'
/eda/vcs_201403VI/amd64/lib/libvcsucli.so: undefined reference to `storeMiscTfCb'
_csrc0.so: undefined reference to `_VCSClass_stdsemaphore'
_csrc0.so: undefined reference to `QRD_VCSgd_uart_pkg_IYAqub_1'
_csrc0.so: undefined reference to `QRD_VCSgd_or1200_sb_GgJ1L_1'
/eda/vcs_201403VI/amd64/lib/libvcsnew.so: undefined reference to `snpsCurrentGroup'
collect2: error: ld returned 1 exit status
make[1]: *** [product_timestamp] Error 1
make[1]: Leaving directory `/home/lx/workspace/orpsocv2/sim/vcs_run/csrc'
Make exited with status 2
CPU time: 9.967 seconds to compile + 3.951 seconds to elab + .614 seconds to link
make: *** [run_vcs_compile] Error 2 |
|