Unable to compile ACE 6.4.0 on RedHat 7.2

636 views Asked by At

I am trying to compile ACE+TAO-6.4.0 as per the steps provided in ACE-INSTALL file, but I am getting following error;

.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

The log recommends to "recompile with -fPIC", can anyone please help me?

0

There are 0 answers