|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
这个看起来是g++编译错误,提示需要添加-fPIC option,可是这个option在哪里加呢?
g++ -o ../simv -Wl,-rpath-link=./ -Wl,-rpath='$ORIGIN'/simv.daidir/ -Wl,-rpath=./simv.daidir/ -Wl,-rpath='$ORIGIN'/simv.daidir//scsim.db.dir -rdynamic /home/xwl/tools/synopsys/vcs_2016.06/linux64/lib/vpdlogstub.o uvm_dpi.o amcQwB.o _prev_archive_1.so _csrc0.so SIM_l.o _csrc0.so rmapats_mop.o rmapats.o rmar.o rmar_llvm_0_1.o rmar_llvm_0_0.o /home/xwl/tools/synopsys/vcs_2016.06/linux64/lib/libzerosoft_rt_stubs.so /home/xwl/tools/synopsys/vcs_2016.06/linux64/lib/libvirsim.so /home/xwl/tools/synopsys/vcs_2016.06/linux64/lib/liberrorinf.so /home/xwl/tools/synopsys/vcs_2016.06/linux64/lib/libsnpsmalloc.so /home/xwl/tools/synopsys/vcs_2016.06/linux64/lib/libvcsnew.so /home/xwl/tools/synopsys/vcs_2016.06/linux64/lib/libsimprofile.so /home/xwl/tools/synopsys/vcs_2016.06/linux64/lib/libuclinative.so -Wl,-whole-archive /home/xwl/tools/synopsys/vcs_2016.06/linux64/lib/libvcsucli.so -Wl,-no-whole-archive ./../simv.daidir/vc_hdrs.o /home/xwl/tools/synopsys/vcs_2016.06/linux64/lib/vcs_save_restore_new.o -ldl -lc -lm -lpthread -ldl
/usr/bin/ld: /home/xwl/tools/synopsys/vcs_2016.06/linux64/lib/vcs_save_restore_new.o: relocation R_X86_64_32S against undefined symbol `_sigintr' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
谢谢!
|
|