New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Server 9667 cannot make in redhat #548
Comments
Could you please try compiling again using the instructions in:
https://github.com/SoftEtherVPN/SoftEtherVPN/blob/master/src/BUILD_UNIX.md
And compile from the master branch of this repo
…On Mon, May 28, 2018 at 7:18 PM, Allen Cui ***@***.***> wrote:
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.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#548>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/AEQBxaPUm0-Xk6zBwlbgqgLb3iftrsP0ks5t3DFRgaJpZM4UQcaX>
.
|
Failed in ./configure yum update returns nothing for upgrading. |
gcc-4.8 seems to be too old to understand ``-no-pie``` wait a bit ? I'll provide a patch and a solution how to compile (if you are in hurry, use SCL, which provides modern gcc compiler for redhat) |
hmm, i'm not hurry for updating. |
please provide a feedback, so can update build instructions how did you install compiled version? can you provide step by step ? |
Haven’t test your yum code yet. Signed off today and will test it tomorrow. Install compiled version: |
do you mean "build from source" ? or did you download binary package? |
Binary. As I mentioned in line 1 lol |
I managed to build on centos 7.5 using just cmake3 (with default gcc-4.8) can you try also simplified script ?
|
I managed to reproduce your error message. |
cmake3 works well. (in building from source code) Thanks a lot. I'll close this issue now. But I still suggest you to fix the released binary file. |
Has the new error been resolved? |
@moatazelmasry2 |
binary file seem was released from https://github.com/SoftEtherVPN/SoftEtherVPN_Stable |
Yes and no. This repo is the original SoftEther. @daiyuu created a fork
"stable" and is uploading binaries to his softether.org website. We have
really no saying in what goes into the stable repo or the download website.
My suggestion would be to stick to this repo, and talk Daiyuu into making
this Repo the official place to download binaries
…On Tue, May 29, 2018 at 10:35 AM, Ilya Shipitsin ***@***.***> wrote:
binary file seem was released from https://github.com/
SoftEtherVPN/SoftEtherVPN_Stable
@moatazelmasry2 <https://github.com/moatazelmasry2> - any idea where to
report such issues ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#548 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEQBxR3q25tfsi8izmT4TmjPbDuSyDW7ks5t3QhDgaJpZM4UQcaX>
.
|
"this" repo is 5.x |
I understand what you are saying. Still the fact remains is we have no influence on what is going into the stable repo or what is being uploaded to softether.org. And that's why I'm always asking people to first compile from this Repo as this is something we can actually fix. In the stable Repo you can not create an issue and vpnusers.com is like black hole. So no idea where to report such issues |
Thank you reporting this problem. |
I made an error while compiling at 4.28 9669 How should I solve this problem? gcc -no-pie code/vpnserver.a -O2 -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 code/vpnserver.a -O2 -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 After that I tried 4.27 9668 gcc code/vpnserver.a -O2 -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 -no-pie code/vpnserver.a -O2 -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 [root@localhost vpnserver]# ls -al My system is |
Could you please paste the full results of the |
If the message
is displayed after the make command, it is no problem. |
hello
|
The command is |
If |
Yes, I have been able to use it, thank you very much. manual document 7.3.5 Creating an Executable File Example format is not the same [root@machine vpnserver]# make
|
No worries, thank you very much for reporting the error. |
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.
The text was updated successfully, but these errors were encountered: