I was trying to install FATCAT in my PC (Ubuntu 20.04.4 LTS). I tried install, but it did not work. In the README, it says "modify the basic.h file..." but it does not say what it is required to be modified. Could you help me?
I tried to do make without modifying the basic.h file and I get this error:
g++ -O2 -Wall -o FATCAT FATCAT.o SAlnOpt.o SigEva.o Prot.o AFPchain.o Align0.o Amino.o geometry.o PsShow.o matrix.o -lm /usr/bin/ld: FATCAT.o: relocation R_X86_64_32 against.bss' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: SAlnOpt.o: relocation R_X86_64_32 against .bss' can not be used when making a PIE object; recompile with -fPIE /usr/bin/ld: SigEva.o: relocation R_X86_64_32 against.bss' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: AFPchain.o: relocation R_X86_64_32 against .bss' can not be used when making a PIE object; recompile with -fPIE /usr/bin/ld: Align0.o: relocation R_X86_64_32 against.bss' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: Amino.o: relocation R_X86_64_32 against symbol _ZN5AMINO3AA1E' can not be used when making a PIE object; recompile with -fPIE /usr/bin/ld: geometry.o: relocation R_X86_64_32 against.bss' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: matrix.o: relocation R_X86_64_32 against .bss' can not be used when making a PIE object; recompile with -fPIE collect2: error: ld returned 1 exit status make: *** [Makefile:31: FATCAT] Error 1
I do not know much about C++ and I have not found any useful answer in other forums on how to recompile with -fPIE. Any ideas?
I was trying to install FATCAT in my PC (Ubuntu 20.04.4 LTS). I tried install, but it did not work. In the README, it says "modify the basic.h file..." but it does not say what it is required to be modified. Could you help me?
I tried to do make without modifying the basic.h file and I get this error:
g++ -O2 -Wall -o FATCAT FATCAT.o SAlnOpt.o SigEva.o Prot.o AFPchain.o Align0.o Amino.o geometry.o PsShow.o matrix.o -lm /usr/bin/ld: FATCAT.o: relocation R_X86_64_32 against
.bss' can not be used when making a PIE object; recompile with -fPIE /usr/bin/ld: SAlnOpt.o: relocation R_X86_64_32 against.bss' can not be used when making a PIE object; recompile with -fPIE /usr/bin/ld: SigEva.o: relocation R_X86_64_32 against
.bss' can not be used when making a PIE object; recompile with -fPIE /usr/bin/ld: AFPchain.o: relocation R_X86_64_32 against.bss' can not be used when making a PIE object; recompile with -fPIE /usr/bin/ld: Align0.o: relocation R_X86_64_32 against
.bss' can not be used when making a PIE object; recompile with -fPIE /usr/bin/ld: Amino.o: relocation R_X86_64_32 against symbol_ZN5AMINO3AA1E' can not be used when making a PIE object; recompile with -fPIE /usr/bin/ld: geometry.o: relocation R_X86_64_32 against
.bss' can not be used when making a PIE object; recompile with -fPIE /usr/bin/ld: matrix.o: relocation R_X86_64_32 against.bss' can not be used when making a PIE object; recompile with -fPIE collect2: error: ld returned 1 exit status make: *** [Makefile:31: FATCAT] Error 1
I do not know much about C++ and I have not found any useful answer in other forums on how to recompile with -fPIE. Any ideas?Thanks in advance!