Can't compile with make

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
captainkent
Posts: 4
Joined: Fri Nov 18, 2016 10:31 pm

Can't compile with make

Post by captainkent » 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.

thisjun
Posts: 2458
Joined: Mon Feb 24, 2014 11:03 am

Re: Can't compile with make

Post by thisjun » Wed Dec 07, 2016 7:43 am

Please try to compile from source code.
https://github.com/SoftEtherVPN/SoftEtherVPN

Post Reply