Can't compile with make
Posted: Thu Nov 24, 2016 8:22 pm
Running this on Ubuntu Server x64 16.04.1 (uname output Linux softetherlinux 4.8.0-22-generic #24-Ubuntu SMP Sat Oct 8 09:15:00 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux).
I'm trying to compile vpnserver with make, but I get the following errors.
/usr/bin/ld: lib/libintelaes.a(intel_aes.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
It does this for many different files. I googled the error, and it told me to re-compile with -fPIC, but I can't figure out how to do it.
Any suggestions? Many thanks.
I'm trying to compile vpnserver with make, but I get the following errors.
/usr/bin/ld: lib/libintelaes.a(intel_aes.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
It does this for many different files. I googled the error, and it told me to re-compile with -fPIC, but I can't figure out how to do it.
Any suggestions? Many thanks.