无法在RedHat 7.2上编译ACE 6.4.0

时间:2016-12-19 14:17:54

标签: redhat ace tao

我正在尝试根据ACE-INSTALL文件中提供的步骤编译ACE + TAO-6.4.0,但我收到以下错误;

.shobj/UPIPE_Stream.o .shobj/WFMO_Reactor.o .shobj/WIN32_Asynch_IO.o .shobj/WIN32_Proactor.o .shobj/XTI_ATM_Mcast.o -Wl,-E -L../lib -L.  -L../lib   -ldl -lrt
/usr/bin/ld: .shobj/Local_Name_Space.o: relocation R_X86_64_32 against _ZSt7nothrow' can not be used when making a shared object; recompile with -fPIC
.shobj/Local_Name_Space.o: could not read symbols: Bad value
collect2: error: ld returned 1 exit status
make[1]: *** [libACE.so.6.4.0] Error 1
make[1]: Leaving directory `/tmp/ACE_wrappers/ace'
make: *** [ACE] Error 2

日志建议“使用-fPIC重新编译”,有人可以帮助我吗?

0 个答案:

没有答案