SoftEtherVPN: Server 9667 cannot make in redhat

Version: 9667 (from http://www.softether-download.com/en.aspx?product=softether) VPN Server, Linux, Intel x64 Server: CentOS Linux release 7.5.1804 (Core) Linux version: 4.16.11-1.el7.elrepo.x86_64

cc -Q -v Using built-in specs. COLLECT_GCC=cc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-wrapper Target: x86_64-redhat-linux Configured with: …/configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux Thread model: posix gcc version 4.8.5 20150623 (Red Hat 4.8.5-28) (GCC)

make error: make[1]: Entering directory /root/vpnserver' Preparing SoftEther VPN Server... ranlib lib/libcharset.a ranlib lib/libcrypto.a ranlib lib/libedit.a ranlib lib/libiconv.a ranlib lib/libintelaes.a ranlib lib/libncurses.a ranlib lib/libssl.a ranlib lib/libz.a ranlib code/vpnserver.a gcc code/vpnserver.a -O2 -no-pie -fsigned-char -pthread -m64 -lm -ldl -lrt -lpthread -L./ lib/libssl.a lib/libcrypto.a lib/libiconv.a lib/libcharset.a lib/libedit.a lib/libncurses.a lib/libz.a lib/libintelaes.a -o vpnserver gcc: error: unrecognized command line option ‘-no-pie’ make[1]: *** [i_read_and_agree_the_license_agreement] Error 1 make[1]: Leaving directory /root/vpnserver’

Any ideas?

Thanks a lot.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 26 (23 by maintainers)

Most upvoted comments

I managed to build on centos 7.5 using just cmake3 (with default gcc-4.8)

can you try also simplified script ?

yum install -y epel-release
yum install -y cmake3
cmake3 .
make