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.
Can't compile with make
-
- Posts: 2458
- Joined: Mon Feb 24, 2014 11:03 am
Re: Can't compile with make
Please try to compile from source code.
https://github.com/SoftEtherVPN/SoftEtherVPN
https://github.com/SoftEtherVPN/SoftEtherVPN