You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
config.status: executing depfiles commands
config.status: executing libtool commands
strongSwan will be built with the following plugins
-----------------------------------------------------
libstrongswan: aes des rc2 sha2 sha1 md5 random nonce x509 revocation constraints pubkey pkcs1 pkcs7 pkcs8 pkcs12 pgp dnskey sshkey pem openssl fips-prf xcbc cmac hmac
libcharon: attr kernel-libipsec kernel-netlink resolve socket-default stroke vici updown eap-identity eap-md5 eap-mschapv2 eap-dynamic eap-radius eap-tls eap-ttls eap-peap eap-tnc xauth-generic xauth-eap xauth-pam dhcp certexpire radattr addrblock unity
libtnccs: tnc-tnccs
make all-recursive
make[1]: Entering directory '/root/one-key-ikev2-vpn-dev/strongswan-5.5.1'
Making all in src
make[2]: Entering directory '/root/one-key-ikev2-vpn-dev/strongswan-5.5.1/src'
Making all in .
make[3]: Entering directory '/root/one-key-ikev2-vpn-dev/strongswan-5.5.1/src'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/root/one-key-ikev2-vpn-dev/strongswan-5.5.1/src'
Making all in include
make[3]: Entering directory '/root/one-key-ikev2-vpn-dev/strongswan-5.5.1/src/include'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/root/one-key-ikev2-vpn-dev/strongswan-5.5.1/src/include'
Making all in libstrongswan
make[3]: Entering directory '/root/one-key-ikev2-vpn-dev/strongswan-5.5.1/src/libstrongswan'
make all-recursive
make[4]: Entering directory '/root/one-key-ikev2-vpn-dev/strongswan-5.5.1/src/libstrongswan'
Making all in .
make[5]: Entering directory '/root/one-key-ikev2-vpn-dev/strongswan-5.5.1/src/libstrongswan'
depbase=`echo library.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/libstrongswan -DIPSEC_DIR=\"/usr/local/libexec/ipsec\" -DIPSEC_LIB_DIR=\"/usr/local/lib/ipsec\" -DPLUGINDIR=\"/usr/local/lib/ipsec/plugins\" -DSTRONGSWAN_CONF=\"/usr/local/etc/strongswan.conf\" -g -O2 -Wall -Wno-format -Wno-format-security -Wno-pointer-sign -include /root/one-key-ikev2-vpn-dev/strongswan-5.5.1/config.h -MT library.lo -MD -MP -MF $depbase.Tpo -c -o library.lo library.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/libstrongswan -DIPSEC_DIR=\"/usr/local/libexec/ipsec\" -DIPSEC_LIB_DIR=\"/usr/local/lib/ipsec\" -DPLUGINDIR=\"/usr/local/lib/ipsec/plugins\" -DSTRONGSWAN_CONF=\"/usr/local/etc/strongswan.conf\" -g -O2 -Wall -Wno-format -Wno-format-security -Wno-pointer-sign -include /root/one-key-ikev2-vpn-dev/strongswan-5.5.1/config.h -MT library.lo -MD -MP -MF .deps/library.Tpo -c library.c -fPIC -DPIC -o .libs/library.o
In file included from utils/utils.h:54,
from library.h:101,
from library.c:17:
utils/utils/memory.h: In function ‘memwipe_inline’:
utils/utils/memory.h:99:15: error: ‘uintptr_t’ undeclared (first use in this function); did you mean ‘uint64_t’?
99 | for (i = 0; (uintptr_t)&c[i] % sizeof(long) && i < n; i++)
| ^~~~~~~~~
| uint64_t
utils/utils/memory.h:99:15: note: each undeclared identifier is reported only once for each function it appears in
make[5]: *** [Makefile:1918: library.lo] Error 1
make[5]: Leaving directory '/root/one-key-ikev2-vpn-dev/strongswan-5.5.1/src/libstrongswan'
make[4]: *** [Makefile:2004: all-recursive] Error 1
make[4]: Leaving directory '/root/one-key-ikev2-vpn-dev/strongswan-5.5.1/src/libstrongswan'
make[3]: *** [Makefile:1149: all] Error 2
make[3]: Leaving directory '/root/one-key-ikev2-vpn-dev/strongswan-5.5.1/src/libstrongswan'
make[2]: *** [Makefile:519: all-recursive] Error 1
make[2]: Leaving directory '/root/one-key-ikev2-vpn-dev/strongswan-5.5.1/src'
make[1]: *** [Makefile:579: all-recursive] Error 1
make[1]: Leaving directory '/root/one-key-ikev2-vpn-dev/strongswan-5.5.1'
make: *** [Makefile:488: all] Error 2
make install-recursive
make[1]: Entering directory '/root/one-key-ikev2-vpn-dev/strongswan-5.5.1'
Making install in src
make[2]: Entering directory '/root/one-key-ikev2-vpn-dev/strongswan-5.5.1/src'
Making install in .
make[3]: Entering directory '/root/one-key-ikev2-vpn-dev/strongswan-5.5.1/src'
make[4]: Entering directory '/root/one-key-ikev2-vpn-dev/strongswan-5.5.1/src'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/root/one-key-ikev2-vpn-dev/strongswan-5.5.1/src'
make[3]: Leaving directory '/root/one-key-ikev2-vpn-dev/strongswan-5.5.1/src'
Making install in include
make[3]: Entering directory '/root/one-key-ikev2-vpn-dev/strongswan-5.5.1/src/include'
make[4]: Entering directory '/root/one-key-ikev2-vpn-dev/strongswan-5.5.1/src/include'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/root/one-key-ikev2-vpn-dev/strongswan-5.5.1/src/include'
make[3]: Leaving directory '/root/one-key-ikev2-vpn-dev/strongswan-5.5.1/src/include'
Making install in libstrongswan
make[3]: Entering directory '/root/one-key-ikev2-vpn-dev/strongswan-5.5.1/src/libstrongswan'
make install-recursive
make[4]: Entering directory '/root/one-key-ikev2-vpn-dev/strongswan-5.5.1/src/libstrongswan'
Making install in .
make[5]: Entering directory '/root/one-key-ikev2-vpn-dev/strongswan-5.5.1/src/libstrongswan'
depbase=`echo library.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/libstrongswan -DIPSEC_DIR=\"/usr/local/libexec/ipsec\" -DIPSEC_LIB_DIR=\"/usr/local/lib/ipsec\" -DPLUGINDIR=\"/usr/local/lib/ipsec/plugins\" -DSTRONGSWAN_CONF=\"/usr/local/etc/strongswan.conf\" -g -O2 -Wall -Wno-format -Wno-format-security -Wno-pointer-sign -include /root/one-key-ikev2-vpn-dev/strongswan-5.5.1/config.h -MT library.lo -MD -MP -MF $depbase.Tpo -c -o library.lo library.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/libstrongswan -DIPSEC_DIR=\"/usr/local/libexec/ipsec\" -DIPSEC_LIB_DIR=\"/usr/local/lib/ipsec\" -DPLUGINDIR=\"/usr/local/lib/ipsec/plugins\" -DSTRONGSWAN_CONF=\"/usr/local/etc/strongswan.conf\" -g -O2 -Wall -Wno-format -Wno-format-security -Wno-pointer-sign -include /root/one-key-ikev2-vpn-dev/strongswan-5.5.1/config.h -MT library.lo -MD -MP -MF .deps/library.Tpo -c library.c -fPIC -DPIC -o .libs/library.o
In file included from utils/utils.h:54,
from library.h:101,
from library.c:17:
utils/utils/memory.h: In function ‘memwipe_inline’:
utils/utils/memory.h:99:15: error: ‘uintptr_t’ undeclared (first use in this function); did you mean ‘uint64_t’?
99 | for (i = 0; (uintptr_t)&c[i] % sizeof(long) && i < n; i++)
| ^~~~~~~~~
| uint64_t
utils/utils/memory.h:99:15: note: each undeclared identifier is reported only once for each function it appears in
make[5]: *** [Makefile:1918: library.lo] Error 1
make[5]: Leaving directory '/root/one-key-ikev2-vpn-dev/strongswan-5.5.1/src/libstrongswan'
make[4]: *** [Makefile:2004: install-recursive] Error 1
make[4]: Leaving directory '/root/one-key-ikev2-vpn-dev/strongswan-5.5.1/src/libstrongswan'
make[3]: *** [Makefile:2161: install] Error 2
make[3]: Leaving directory '/root/one-key-ikev2-vpn-dev/strongswan-5.5.1/src/libstrongswan'
make[2]: *** [Makefile:519: install-recursive] Error 1
make[2]: Leaving directory '/root/one-key-ikev2-vpn-dev/strongswan-5.5.1/src'
make[1]: *** [Makefile:579: install-recursive] Error 1
make[1]: Leaving directory '/root/one-key-ikev2-vpn-dev/strongswan-5.5.1'
make: *** [Makefile:876: install] Error 2
./one-key-ikev2.sh: line 320: ipsec: command not found
./one-key-ikev2.sh: line 321: ipsec: command not found
./one-key-ikev2.sh: line 322: ipsec: command not found
./one-key-ikev2.sh: line 323: ipsec: command not found
./one-key-ikev2.sh: line 323: ipsec: command not found
./one-key-ikev2.sh: line 327: ipsec: command not found
./one-key-ikev2.sh: line 328: ipsec: command not found
./one-key-ikev2.sh: line 328: ipsec: command not found
configure the pkcs12 cert password(Can be empty):
unable to load private key
140508339508544:error:0909006C:PEM routines:get_name:no start line:../crypto/pem/pem_lib.c:745:Expecting: ANY PRIVATE KEY
####################################
cp: cannot create regular file '/usr/local/etc/ipsec.d/cacerts/': No such file or directory
cp: cannot create regular file '/usr/local/etc/ipsec.d/certs/': No such file or directory
cp: cannot create regular file '/usr/local/etc/ipsec.d/private/': No such file or directory
cp: cannot create regular file '/usr/local/etc/ipsec.d/certs/': No such file or directory
cp: cannot create regular file '/usr/local/etc/ipsec.d/private/': No such file or directory
Cert copy completed
Use SNAT could implove the speed,but your server MUST have static ip address.
yes or no?(default_value:no):
* Applying /etc/sysctl.d/10-console-messages.conf ...
sysctl: setting key "kernel.printk": Read-only file system
* Applying /etc/sysctl.d/10-ipsec.conf ...
sysctl: setting key "net.ipv4.ip_forward": Read-only file system
* Applying /etc/sysctl.d/10-ipv6-privacy.conf ...
sysctl: setting key "net.ipv6.conf.all.use_tempaddr": Read-only file system
sysctl: setting key "net.ipv6.conf.default.use_tempaddr": Read-only file system
* Applying /etc/sysctl.d/10-kernel-hardening.conf ...
sysctl: setting key "kernel.kptr_restrict": Read-only file system
* Applying /etc/sysctl.d/10-link-restrictions.conf ...
sysctl: setting key "fs.protected_hardlinks": Read-only file system
sysctl: setting key "fs.protected_symlinks": Read-only file system
* Applying /etc/sysctl.d/10-magic-sysrq.conf ...
sysctl: setting key "kernel.sysrq": Read-only file system
* Applying /etc/sysctl.d/10-network-security.conf ...
sysctl: setting key "net.ipv4.conf.default.rp_filter": Read-only file system
sysctl: setting key "net.ipv4.conf.all.rp_filter": Read-only file system
* Applying /etc/sysctl.d/10-ptrace.conf ...
sysctl: setting key "kernel.yama.ptrace_scope": Read-only file system
* Applying /etc/sysctl.d/10-zeropage.conf ...
sysctl: setting key "vm.mmap_min_addr": Read-only file system
* Applying /usr/lib/sysctl.d/50-default.conf ...
sysctl: setting key "net.ipv4.conf.default.promote_secondaries": Read-only file system
sysctl: setting key "net.ipv4.conf.all.promote_secondaries": Read-only file system
sysctl: setting key "net.ipv4.ping_group_range": Read-only file system
* Applying /usr/lib/sysctl.d/50-pid-max.conf ...
sysctl: setting key "kernel.pid_max": Read-only file system
* Applying /etc/sysctl.d/99-sysctl.conf ...
sysctl: setting key "net.ipv4.ip_forward": Read-only file system
sysctl: setting key "net.ipv4.conf.all.forwarding": Read-only file system
sysctl: setting key "net.ipv6.conf.all.forwarding": Read-only file system
* Applying /usr/lib/sysctl.d/protect-links.conf ...
sysctl: setting key "fs.protected_hardlinks": Read-only file system
sysctl: setting key "fs.protected_symlinks": Read-only file system
* Applying /etc/sysctl.conf ...
sysctl: setting key "net.ipv4.ip_forward": Read-only file system
sysctl: setting key "net.ipv4.conf.all.forwarding": Read-only file system
sysctl: setting key "net.ipv6.conf.all.forwarding": Read-only file system
Do you use firewall in CentOS7 instead of iptables?
yes or no?(default_value:no):
ip address info:
inet 127.0.0.1/8 scope host lo
inet 172.18.100.31/32 scope global lo
inet6 fd00::2:641f/128 scope global
inet6 ::1/128 scope host
inet 162.244.24.33/24 brd 162.244.24.255 scope global eth0
inet6 2607:8880:1::2243:ac51/96 scope global
inet6 fe80::216:3eff:feb8:3486/64 scope link
The above content is the network card information of your VPS.
[Important]Please enter the name of the interface which can be connected to the public network.
Network card interface(default_value:venet0):eth0
./one-key-ikev2.sh: line 74: ipsec: command not found
编译错误?如何卸载?
The text was updated successfully, but these errors were encountered:
编译错误?如何卸载?
The text was updated successfully, but these errors were encountered: