View Single Post
Old 2020-07-10, 15:21   #12
Jean Penné
Jean Penné's Avatar
May 2004

56110 Posts

Originally Posted by Happy5214 View Post
The new version compiled, but it didn't link:
gcc  -o llr64 lprime.o lmenu.o ../gwnum/gwnum.ld ../gwnum/gwnum.a ./libgmp.a ./libhwloc.a  ../gwnum/gwnum.ld -lm  -lpthread -lstdc++
/usr/bin/ld: ./libgmp.a(bdiv_q.o): relocation R_X86_64_32S against symbol `__gmp_binvert_limb_table' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: final link failed: nonrepresentable section on output
collect2: error: ld returned 1 exit status
make: *** [Makefile:26: llr64] Error 1
I think you have better to do "make allclean" and then, "make" in order to recompile the gwnum C files on your sytem, but I am not sure it will be sufficient...
Jean Penné is offline   Reply With Quote