Page 1 of 1

Can't compile with make

Posted: Thu Nov 24, 2016 8:22 pm
by captainkent
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.

Re: Can't compile with make

Posted: Wed Dec 07, 2016 7:43 am
by thisjun
Please try to compile from source code.
https://github.com/SoftEtherVPN/SoftEtherVPN