Error after first command.
Aebis opened this issue · comments
:sudo gcc -O2 -Wall -o hamachid-patcher.so -shared hamachid-patcher.c
/usr/bin/ld: /tmp/ccXaY3X3.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: failed to set dynamic section sizes: bad value
collect2: error: ld returned 1 exit status
Installer doesn't seem to help either. I know, I'm on Fedora 37, but I really need it to work, so I gave it a a shot anyway.
What should I do?