ユーザ用ツール

サイト用ツール


サイドバー

Top

検索タグ

変更履歴

メニュー


linux:softether_vpn:build

SoftEther VPN のビルド

作業ディレクトリの作成

$ mkdir ~/work
$ cd ~/work

ソースコードからのインストール

ソースコードからインストールする場合は、以下の2パターンをインストール可能である。

安定版 SoftEtherVPN Stable
現在一般向けに配布されている安定版。
開発版 SoftEtherVPN
開発者向けに配布されている新機能などを搭載した開発版。

パッケージ インストール

ビルドに必要なパッケージを揃える。

$ sudo dnf groupinstall "Development Tools"
$ sudo dnf install cmake ncurses-devel openssl-devel readline-devel zlib-devel

ソースコードのダウンロード

以下では開発版を前提に説明する。

$ git clone https://github.com/SoftEtherVPN/SoftEtherVPN.git

ビルド

Linux 系でのビルド
Windows 系でのビルド

$ cd SoftEtherVPN
$ git submodule init && git submodule update
$ ./configure
$ make -C build

インストール

$ sudo make -C build install
~省略~
-----------------------------------------------------------------------------------------------------------------
Build completed successfully.

Execute 'vpnserver start' to run the SoftEther VPN Server background service.
Execute 'vpnbridge start' to run the SoftEther VPN Bridge background service.
Execute 'vpnclient start' to run the SoftEther VPN Client background service.
Execute 'vpncmd' to run the SoftEther VPN Command-Line Utility to configure VPN Server, VPN Bridge or VPN Client.
-----------------------------------------------------------------------------------------------------------------
~省略~

ソースコードの更新とビルド

$ cd ~/work/SoftEtherVPN
$ git clone pull
remote: Enumerating objects: 776, done.
remote: Counting objects: 100% (776/776), done.
remote: Compressing objects: 100% (49/49), done.
remote: Total 1307 (delta 747), reused 745 (delta 727), pack-reused 531
Receiving objects: 100% (1307/1307), 835.51 KiB | 1.01 MiB/s, done.
Resolving deltas: 100% (1044/1044), completed with 166 local objects.
From https://github.com/SoftEtherVPN/SoftEtherVPN
   eeec9a82..945715e4  master     -> origin/master
 * [new tag]           5.01.9673  -> 5.01.9673
 * [new tag]           5.01.9674  -> 5.01.9674
Updating eeec9a82..945715e4
warning: unable to rmdir 'src/Mayaqua/3rdparty/zlib': ディレクトリは空ではありません
Fast-forward
 .appveyor.yml                                            |   45 +-
 .azure-pipelines.yml                                     |    4 +-
 .ci/appveyor-deb-install-test.sh                         |   12 +-
 .ci/appveyor-vpntest.ps1                                 |   13 +-
 .ci/azure-pipelines-linux.yml                            |   26 +-
 .ci/azure-pipelines-macos.yml                            |   13 +
 .ci/azure-pipelines-win-steps.yml                        |   49 +
 .ci/azure-pipelines-win.yml                              |   45 +-
 .ci/coverity.sh                                          |   17 -
 .ci/run-openvpn-tests.sh                                 |    5 +-
 .ci/sonarcloud.sh                                        |    2 +-
 .ci/start-se-openvpn.sh                                  |   19 +-
 .cirrus.yml                                              |    7 +-
 .gitlab-ci.yml                                           |    4 +-
 .gitmodules                                              |    3 -
 .travis.yml                                              |   21 +-
 AUTHORS.TXT                                              |    6 +-
 CMakeLists.txt                                           |   16 +-
 README.md                                                |    9 +-
 configure                                                |   14 +-
 configure.cmd                                            |    6 +-
 developer_tools/vpnserver-jsonrpc-clients/README.html    |  112 +-
 developer_tools/vpnserver-jsonrpc-clients/README.md      |  112 +-
 src/BUILD_UNIX.md                                        |   74 +-
 src/BUILD_WINDOWS.md                                     |    2 +-
 src/BuildFiles/Library/vs2008/OpenSSL_Build_ID.txt       |    1 -
 src/BuildFiles/Library/vs2008/Win32_Debug/libeay32.lib   |  Bin 29089352 -> 0 bytes
 src/BuildFiles/Library/vs2008/Win32_Debug/ssleay32.lib   |  Bin 6180288 -> 0 bytes
 src/BuildFiles/Library/vs2008/Win32_Debug/zlib.lib       |  Bin 311454 -> 0 bytes
 src/BuildFiles/Library/vs2008/Win32_Release/libeay32.lib |  Bin 28812734 -> 0 bytes
 src/BuildFiles/Library/vs2008/Win32_Release/ssleay32.lib |  Bin 6058040 -> 0 bytes
 src/BuildFiles/Library/vs2008/Win32_Release/zlib.lib     |  Bin 318378 -> 0 bytes
 src/BuildFiles/Library/vs2008/x64_Debug/libeay32.lib     |  Bin 31441664 -> 0 bytes
 src/BuildFiles/Library/vs2008/x64_Debug/ssleay32.lib     |  Bin 6684920 -> 0 bytes
 src/BuildFiles/Library/vs2008/x64_Debug/zlib.lib         |  Bin 345742 -> 0 bytes
 src/BuildFiles/Library/vs2008/x64_Release/libeay32.lib   |  Bin 31116524 -> 0 bytes
 src/BuildFiles/Library/vs2008/x64_Release/ssleay32.lib   |  Bin 6521374 -> 0 bytes
 src/BuildFiles/Library/vs2008/x64_Release/zlib.lib       |  Bin 359032 -> 0 bytes
 src/BuildFiles/Library/vs2008/zlib_Build_ID.txt          |    1 -
 src/BuildFiles/Library/vs2017/OpenSSL_Build_ID.txt       |    1 -
 src/BuildFiles/Library/vs2017/Win32_Debug/libeay32.lib   |  Bin 30579678 -> 0 bytes
 src/BuildFiles/Library/vs2017/Win32_Debug/ssleay32.lib   |  Bin 6482946 -> 0 bytes
 src/BuildFiles/Library/vs2017/Win32_Debug/zlib.lib       |  Bin 305000 -> 0 bytes
 src/BuildFiles/Library/vs2017/Win32_Release/libeay32.lib |  Bin 33486862 -> 0 bytes
 src/BuildFiles/Library/vs2017/Win32_Release/ssleay32.lib |  Bin 7112832 -> 0 bytes
 src/BuildFiles/Library/vs2017/Win32_Release/zlib.lib     |  Bin 411086 -> 0 bytes
 src/BuildFiles/Library/vs2017/x64_Debug/libeay32.lib     |  Bin 33166068 -> 0 bytes
 src/BuildFiles/Library/vs2017/x64_Debug/ssleay32.lib     |  Bin 7035006 -> 0 bytes
 src/BuildFiles/Library/vs2017/x64_Debug/zlib.lib         |  Bin 343742 -> 0 bytes
 src/BuildFiles/Library/vs2017/x64_Release/libeay32.lib   |  Bin 35505558 -> 0 bytes
 src/BuildFiles/Library/vs2017/x64_Release/ssleay32.lib   |  Bin 7471358 -> 0 bytes
 src/BuildFiles/Library/vs2017/x64_Release/zlib.lib       |  Bin 423830 -> 0 bytes
 src/BuildFiles/Library/vs2017/zlib_Build_ID.txt          |    1 -
 src/BuildUtil/VpnBuilder.cs                              |   13 +-
 src/CMakeLists.txt                                       |   50 +-
 src/Cedar/Account.c                                      |   37 +
 src/Cedar/Account.h                                      |    4 +-
 src/Cedar/Admin.c                                        |  503 +++-
 src/Cedar/Admin.h                                        |   29 +
 src/Cedar/BridgeUnix.c                                   |  158 +-
 src/Cedar/CM.c                                           |    2 +-
 src/Cedar/Cedar.c                                        |   10 -
 src/Cedar/Cedar.h                                        |    7 +-
 src/Cedar/CedarType.h                                    |    9 +
 src/Cedar/Client.c                                       |   97 +-
 src/Cedar/Client.h                                       |    6 +-
 src/Cedar/Command.c                                      |  901 +++---
 src/Cedar/Command.h                                      |   20 +-
 src/Cedar/Connection.c                                   |   22 +-
 src/Cedar/Connection.h                                   |    4 +-
 src/Cedar/IPC.c                                          |  927 +++++-
 src/Cedar/IPC.h                                          |   81 +-
 src/Cedar/Link.c                                         |    6 +-
 src/Cedar/Logging.c                                      |  392 +--
 src/Cedar/Proto.c                                        |  685 ++++-
 src/Cedar/Proto.h                                        |  107 +-
 src/Cedar/Proto_L2TP.c                                   |   22 +-
 src/Cedar/Proto_L2TP.h                                   |    1 +
 src/Cedar/Proto_OpenVPN.c                                |  544 ++--
 src/Cedar/Proto_OpenVPN.h                                |   45 +-
 src/Cedar/Proto_PPP.c                                    | 4689 +++++++++++++++++++-----------
 src/Cedar/Proto_PPP.h                                    |  255 +-
 src/Cedar/Proto_SSTP.c                                   |  452 ++-
 src/Cedar/Proto_SSTP.h                                   |   19 +-
 src/Cedar/Protocol.c                                     |   37 +-
 src/Cedar/Radius.c                                       |    6 +-
 src/Cedar/Radius.h                                       |    4 +-
 src/Cedar/SM.c                                           |  105 +-
 src/Cedar/SMInner.h                                      |    1 -
 src/Cedar/SW.c                                           |  158 +-
 src/Cedar/Sam.c                                          |   10 +-
 src/Cedar/Server.c                                       |  378 ++-
 src/Cedar/Server.h                                       |   14 +-
 src/Cedar/Session.c                                      |  185 +-
 src/Cedar/Session.h                                      |    9 +-
 src/Cedar/Virtual.c                                      |  979 ++++---
 src/Cedar/Virtual.h                                      |    7 +-
 src/Cedar/Win32Com.cpp                                   |    2 +-
 src/Cedar/WinUi.c                                        |   17 +-
 src/Cedar/WinUi.h                                        |   10 +-
 src/CurrentBuild.txt                                     |    4 +-
 src/Mayaqua/3rdparty/zlib                                |    1 -
 src/Mayaqua/CMakeLists.txt                               |   40 +-
 src/Mayaqua/Encrypt.c                                    |   19 +-
 src/Mayaqua/Encrypt.h                                    |    3 +-
 src/Mayaqua/Internat.c                                   |  213 +-
 src/Mayaqua/Internat.h                                   |    5 +
 src/Mayaqua/Kernel.c                                     |    4 +-
 src/Mayaqua/MayaType.h                                   |   75 +-
 src/Mayaqua/Mayaqua.c                                    |    2 +-
 src/Mayaqua/Mayaqua.h                                    |    8 +-
 src/Mayaqua/Memory.c                                     |    4 +-
 src/Mayaqua/Microsoft.c                                  |   54 +-
 src/Mayaqua/Microsoft.h                                  |  141 +-
 src/Mayaqua/Network.c                                    | 1086 ++++---
 src/Mayaqua/Network.h                                    |   20 +-
 src/Mayaqua/Object.h                                     |    2 +-
 src/Mayaqua/Pack.c                                       |   22 +
 src/Mayaqua/Pack.h                                       |    2 +
 src/Mayaqua/Str.c                                        |   61 +-
 src/Mayaqua/TcpIp.c                                      |  261 +-
 src/Mayaqua/TcpIp.h                                      |   13 +-
 src/Mayaqua/Unix.c                                       |    4 +-
 src/Mayaqua/win32_inc/openssl/aes.h                      |   92 -
 src/Mayaqua/win32_inc/openssl/asn1.h                     |  886 ------
 src/Mayaqua/win32_inc/openssl/asn1_mac.h                 |   10 -
 src/Mayaqua/win32_inc/openssl/asn1err.h                  |  256 --
 src/Mayaqua/win32_inc/openssl/asn1t.h                    |  945 ------
 src/Mayaqua/win32_inc/openssl/async.h                    |   76 -
 src/Mayaqua/win32_inc/openssl/asyncerr.h                 |   42 -
 src/Mayaqua/win32_inc/openssl/bio.h                      |  800 ------
 src/Mayaqua/win32_inc/openssl/bioerr.h                   |  124 -
 src/Mayaqua/win32_inc/openssl/blowfish.h                 |   61 -
 src/Mayaqua/win32_inc/openssl/bn.h                       |  539 ----
 src/Mayaqua/win32_inc/openssl/bnerr.h                    |  100 -
 src/Mayaqua/win32_inc/openssl/buffer.h                   |   58 -
 src/Mayaqua/win32_inc/openssl/buffererr.h                |   34 -
 src/Mayaqua/win32_inc/openssl/camellia.h                 |   83 -
 src/Mayaqua/win32_inc/openssl/cast.h                     |   53 -
 src/Mayaqua/win32_inc/openssl/cmac.h                     |   41 -
 src/Mayaqua/win32_inc/openssl/cms.h                      |  339 ---
 src/Mayaqua/win32_inc/openssl/cmserr.h                   |  202 --
 src/Mayaqua/win32_inc/openssl/comp.h                     |   53 -
 src/Mayaqua/win32_inc/openssl/comperr.h                  |   44 -
 src/Mayaqua/win32_inc/openssl/conf.h                     |  168 --
 src/Mayaqua/win32_inc/openssl/conf_api.h                 |   40 -
 src/Mayaqua/win32_inc/openssl/conferr.h                  |   76 -
 src/Mayaqua/win32_inc/openssl/crypto.h                   |  445 ---
 src/Mayaqua/win32_inc/openssl/cryptoerr.h                |   57 -
 src/Mayaqua/win32_inc/openssl/ct.h                       |  476 ----
 src/Mayaqua/win32_inc/openssl/cterr.h                    |   80 -
 src/Mayaqua/win32_inc/openssl/des.h                      |  174 --
 src/Mayaqua/win32_inc/openssl/dh.h                       |  340 ---
 src/Mayaqua/win32_inc/openssl/dherr.h                    |   88 -
 src/Mayaqua/win32_inc/openssl/dsa.h                      |  238 --
 src/Mayaqua/win32_inc/openssl/dsaerr.h                   |   72 -
 src/Mayaqua/win32_inc/openssl/dtls1.h                    |   55 -
 src/Mayaqua/win32_inc/openssl/e_os2.h                    |  300 --
 src/Mayaqua/win32_inc/openssl/ebcdic.h                   |   33 -
 src/Mayaqua/win32_inc/openssl/ec.h                       | 1479 ----------
 src/Mayaqua/win32_inc/openssl/ecdh.h                     |   10 -
 src/Mayaqua/win32_inc/openssl/ecdsa.h                    |   10 -
 src/Mayaqua/win32_inc/openssl/ecerr.h                    |  275 --
 src/Mayaqua/win32_inc/openssl/engine.h                   |  751 -----
 src/Mayaqua/win32_inc/openssl/engineerr.h                |  111 -
 src/Mayaqua/win32_inc/openssl/err.h                      |  274 --
 src/Mayaqua/win32_inc/openssl/evp.h                      | 1638 -----------
 src/Mayaqua/win32_inc/openssl/evperr.h                   |  204 --
 src/Mayaqua/win32_inc/openssl/hmac.h                     |   51 -
 src/Mayaqua/win32_inc/openssl/idea.h                     |   64 -
 src/Mayaqua/win32_inc/openssl/kdf.h                      |   97 -
 src/Mayaqua/win32_inc/openssl/kdferr.h                   |   55 -
 src/Mayaqua/win32_inc/openssl/lhash.h                    |  242 --
 src/Mayaqua/win32_inc/openssl/md2.h                      |   44 -
 src/Mayaqua/win32_inc/openssl/md4.h                      |   51 -
 src/Mayaqua/win32_inc/openssl/md5.h                      |   50 -
 src/Mayaqua/win32_inc/openssl/mdc2.h                     |   42 -
 src/Mayaqua/win32_inc/openssl/modes.h                    |  208 --
 src/Mayaqua/win32_inc/openssl/obj_mac.h                  | 5198 ----------------------------------
 src/Mayaqua/win32_inc/openssl/objects.h                  |  175 --
 src/Mayaqua/win32_inc/openssl/objectserr.h               |   42 -
 src/Mayaqua/win32_inc/openssl/ocsp.h                     |  352 ---
 src/Mayaqua/win32_inc/openssl/ocsperr.h                  |   78 -
 src/Mayaqua/win32_inc/openssl/opensslconf.h              |  198 --
 src/Mayaqua/win32_inc/openssl/opensslconf.h.in           |  155 -
 src/Mayaqua/win32_inc/openssl/opensslv.h                 |  101 -
 src/Mayaqua/win32_inc/openssl/ossl_typ.h                 |  196 --
 src/Mayaqua/win32_inc/openssl/pem.h                      |  378 ---
 src/Mayaqua/win32_inc/openssl/pem2.h                     |   13 -
 src/Mayaqua/win32_inc/openssl/pemerr.h                   |  103 -
 src/Mayaqua/win32_inc/openssl/pkcs12.h                   |  223 --
 src/Mayaqua/win32_inc/openssl/pkcs12err.h                |   81 -
 src/Mayaqua/win32_inc/openssl/pkcs7.h                    |  319 ---
 src/Mayaqua/win32_inc/openssl/pkcs7err.h                 |  103 -
 src/Mayaqua/win32_inc/openssl/rand.h                     |   77 -
 src/Mayaqua/win32_inc/openssl/rand_drbg.h                |  130 -
 src/Mayaqua/win32_inc/openssl/randerr.h                  |   92 -
 src/Mayaqua/win32_inc/openssl/rc2.h                      |   51 -
 src/Mayaqua/win32_inc/openssl/rc4.h                      |   36 -
 src/Mayaqua/win32_inc/openssl/rc5.h                      |   63 -
 src/Mayaqua/win32_inc/openssl/ripemd.h                   |   47 -
 src/Mayaqua/win32_inc/openssl/rsa.h                      |  512 ----
 src/Mayaqua/win32_inc/openssl/rsaerr.h                   |  167 --
 src/Mayaqua/win32_inc/openssl/safestack.h                |  207 --
 src/Mayaqua/win32_inc/openssl/seed.h                     |   96 -
 src/Mayaqua/win32_inc/openssl/sha.h                      |  119 -
 src/Mayaqua/win32_inc/openssl/srp.h                      |  135 -
 src/Mayaqua/win32_inc/openssl/srtp.h                     |   50 -
 src/Mayaqua/win32_inc/openssl/ssl.h                      | 2438 ----------------
 src/Mayaqua/win32_inc/openssl/ssl2.h                     |   24 -
 src/Mayaqua/win32_inc/openssl/ssl3.h                     |  339 ---
 src/Mayaqua/win32_inc/openssl/sslerr.h                   |  772 -----
 src/Mayaqua/win32_inc/openssl/stack.h                    |   83 -
 src/Mayaqua/win32_inc/openssl/store.h                    |  266 --
 src/Mayaqua/win32_inc/openssl/storeerr.h                 |   91 -
 src/Mayaqua/win32_inc/openssl/symhacks.h                 |   37 -
 src/Mayaqua/win32_inc/openssl/tls1.h                     | 1237 --------
 src/Mayaqua/win32_inc/openssl/ts.h                       |  559 ----
 src/Mayaqua/win32_inc/openssl/tserr.h                    |  132 -
 src/Mayaqua/win32_inc/openssl/txt_db.h                   |   57 -
 src/Mayaqua/win32_inc/openssl/ui.h                       |  368 ---
 src/Mayaqua/win32_inc/openssl/uierr.h                    |   65 -
 src/Mayaqua/win32_inc/openssl/whrlpool.h                 |   48 -
 src/Mayaqua/win32_inc/openssl/x509.h                     | 1047 -------
 src/Mayaqua/win32_inc/openssl/x509_vfy.h                 |  628 ----
 src/Mayaqua/win32_inc/openssl/x509err.h                  |  130 -
 src/Mayaqua/win32_inc/openssl/x509v3.h                   |  937 ------
 src/Mayaqua/win32_inc/openssl/x509v3err.h                |  162 --
 src/Mayaqua/win32_inc/zconf.h                            |  534 ----
 src/Mayaqua/win32_inc/zlib.h                             | 1912 -------------
 src/PenCore/PenCore.rc                                   |   49 +-
 src/PenCore/resource.h                                   |    3 +-
 src/WARNING.TXT                                          |    4 +-
 src/bin/hamcore/empty_sevpnclient.config                 |    4 +-
 src/bin/hamcore/install_src.dat                          |    1 -
 src/bin/hamcore/openvpn_sample.ovpn                      |   34 +-
 src/bin/hamcore/strtable_cn.stb                          |  143 +-
 src/bin/hamcore/strtable_en.stb                          |  142 +-
 src/bin/hamcore/strtable_ja.stb                          |  249 +-
 src/bin/hamcore/strtable_ko.stb                          |  141 +-
 src/bin/hamcore/strtable_pt_br.stb                       |  149 +-
 src/bin/hamcore/strtable_ru.stb                          |  138 +-
 src/bin/hamcore/strtable_tw.stb                          |  145 +-
 src/bin/hamcore/vpninstall_ko.inf                        |    8 +-
 src/bin/hamcore/vpninstall_tw.inf                        |    8 +-
 src/bin/hamcore/wwwroot/admin/default/package-lock.json  |   18 +-
 src/bin/install_src.dat                                  |    1 -
 src/hamcorebuilder/CMakeLists.txt                        |   14 -
 src/vpnbridge/CMakeLists.txt                             |   39 +-
 src/vpnclient/CMakeLists.txt                             |   39 +-
 src/vpncmd/CMakeLists.txt                                |   12 +-
 src/vpncmgr/CMakeLists.txt                               |    4 +-
 src/vpndrvinst/CMakeLists.txt                            |   35 +
 src/vpndrvinst/vpndrvinst.c                              |   13 -
 src/vpnserver/CMakeLists.txt                             |   39 +-
 src/vpnsetup/CMakeLists.txt                              |   30 +
 src/vpnsmgr/CMakeLists.txt                               |    4 +-
 src/vpntest/CMakeLists.txt                               |    4 +-
 src/vpntest/vpntest.c                                    |   46 +-
 systemd/softether-vpnbridge.service                      |   10 +-
 systemd/softether-vpnclient.service                      |   10 +-
 systemd/softether-vpnserver.service                      |   10 +-
 262 files changed, 9961 insertions(+), 40787 deletions(-)
 create mode 100644 .ci/azure-pipelines-macos.yml
 create mode 100644 .ci/azure-pipelines-win-steps.yml
 delete mode 100755 .ci/coverity.sh
 delete mode 100644 src/BuildFiles/Library/vs2008/OpenSSL_Build_ID.txt
 delete mode 100644 src/BuildFiles/Library/vs2008/Win32_Debug/libeay32.lib
 delete mode 100644 src/BuildFiles/Library/vs2008/Win32_Debug/ssleay32.lib
 delete mode 100644 src/BuildFiles/Library/vs2008/Win32_Debug/zlib.lib
 delete mode 100644 src/BuildFiles/Library/vs2008/Win32_Release/libeay32.lib
 delete mode 100644 src/BuildFiles/Library/vs2008/Win32_Release/ssleay32.lib
 delete mode 100644 src/BuildFiles/Library/vs2008/Win32_Release/zlib.lib
 delete mode 100644 src/BuildFiles/Library/vs2008/x64_Debug/libeay32.lib
 delete mode 100644 src/BuildFiles/Library/vs2008/x64_Debug/ssleay32.lib
 delete mode 100644 src/BuildFiles/Library/vs2008/x64_Debug/zlib.lib
 delete mode 100644 src/BuildFiles/Library/vs2008/x64_Release/libeay32.lib
 delete mode 100644 src/BuildFiles/Library/vs2008/x64_Release/ssleay32.lib
 delete mode 100644 src/BuildFiles/Library/vs2008/x64_Release/zlib.lib
 delete mode 100644 src/BuildFiles/Library/vs2008/zlib_Build_ID.txt
 delete mode 100644 src/BuildFiles/Library/vs2017/OpenSSL_Build_ID.txt
 delete mode 100644 src/BuildFiles/Library/vs2017/Win32_Debug/libeay32.lib
 delete mode 100644 src/BuildFiles/Library/vs2017/Win32_Debug/ssleay32.lib
 delete mode 100644 src/BuildFiles/Library/vs2017/Win32_Debug/zlib.lib
 delete mode 100644 src/BuildFiles/Library/vs2017/Win32_Release/libeay32.lib
 delete mode 100644 src/BuildFiles/Library/vs2017/Win32_Release/ssleay32.lib
 delete mode 100644 src/BuildFiles/Library/vs2017/Win32_Release/zlib.lib
 delete mode 100644 src/BuildFiles/Library/vs2017/x64_Debug/libeay32.lib
 delete mode 100644 src/BuildFiles/Library/vs2017/x64_Debug/ssleay32.lib
 delete mode 100644 src/BuildFiles/Library/vs2017/x64_Debug/zlib.lib
 delete mode 100644 src/BuildFiles/Library/vs2017/x64_Release/libeay32.lib
 delete mode 100644 src/BuildFiles/Library/vs2017/x64_Release/ssleay32.lib
 delete mode 100644 src/BuildFiles/Library/vs2017/x64_Release/zlib.lib
 delete mode 100644 src/BuildFiles/Library/vs2017/zlib_Build_ID.txt
 delete mode 160000 src/Mayaqua/3rdparty/zlib
 delete mode 100644 src/Mayaqua/win32_inc/openssl/aes.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/asn1.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/asn1_mac.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/asn1err.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/asn1t.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/async.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/asyncerr.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/bio.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/bioerr.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/blowfish.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/bn.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/bnerr.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/buffer.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/buffererr.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/camellia.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/cast.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/cmac.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/cms.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/cmserr.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/comp.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/comperr.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/conf.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/conf_api.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/conferr.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/crypto.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/cryptoerr.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/ct.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/cterr.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/des.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/dh.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/dherr.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/dsa.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/dsaerr.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/dtls1.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/e_os2.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/ebcdic.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/ec.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/ecdh.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/ecdsa.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/ecerr.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/engine.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/engineerr.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/err.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/evp.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/evperr.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/hmac.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/idea.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/kdf.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/kdferr.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/lhash.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/md2.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/md4.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/md5.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/mdc2.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/modes.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/obj_mac.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/objects.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/objectserr.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/ocsp.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/ocsperr.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/opensslconf.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/opensslconf.h.in
 delete mode 100644 src/Mayaqua/win32_inc/openssl/opensslv.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/ossl_typ.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/pem.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/pem2.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/pemerr.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/pkcs12.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/pkcs12err.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/pkcs7.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/pkcs7err.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/rand.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/rand_drbg.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/randerr.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/rc2.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/rc4.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/rc5.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/ripemd.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/rsa.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/rsaerr.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/safestack.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/seed.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/sha.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/srp.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/srtp.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/ssl.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/ssl2.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/ssl3.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/sslerr.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/stack.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/store.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/storeerr.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/symhacks.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/tls1.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/ts.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/tserr.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/txt_db.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/ui.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/uierr.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/whrlpool.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/x509.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/x509_vfy.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/x509err.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/x509v3.h
 delete mode 100644 src/Mayaqua/win32_inc/openssl/x509v3err.h
 delete mode 100644 src/Mayaqua/win32_inc/zconf.h
 delete mode 100644 src/Mayaqua/win32_inc/zlib.h
 delete mode 100644 src/bin/hamcore/install_src.dat
 delete mode 100644 src/bin/install_src.dat
 create mode 100644 src/vpndrvinst/CMakeLists.txt
 create mode 100644 src/vpnsetup/CMakeLists.txt

ビルド

$ ./configure
---------------------------------------------------------------------
SoftEther VPN for Unix

Copyright (c) all contributors on SoftEther VPN project in GitHub.
Copyright (c) Daiyuu Nobori, SoftEther Project at University of Tsukuba, and SoftEther Corporation.

Licensed under the Apache License, Version 2.0 (the License).

Read and understand README, LICENSE and WARNING before use.
---------------------------------------------------------------------

Welcome to the corner-cutting configure script !

'rpm' executable found, CPack will generate RPM packages.

-- The C compiler identification is GNU 10.2.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Looking for sys/auxv.h
-- Looking for sys/auxv.h - found
-- Build date: 17/10/2020
-- Build time: 21:35:58
-- Found Curses: /usr/lib64/libcurses.so
-- Found OpenSSL: /usr/lib64/libcrypto.so (found version "1.1.1g")
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- The CXX compiler identification is GNU 10.2.1
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/tomoyan/work/SoftEtherVPN/build

The Makefile is generated. Run 'make -C build' to build SoftEther VPN.
$ make -C build
make: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' に入ります
-- The C compiler identification is GNU 10.2.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Build date: 17/10/2020
-- Build time: 21:36:15
-- Found OpenSSL: /usr/lib64/libcrypto.so (found version "1.1.1g")
-- The CXX compiler identification is GNU 10.2.1
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/tomoyan/work/SoftEtherVPN/build
make[1]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' に入ります
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' に入ります
Scanning dependencies of target cpu_features
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' から出ます
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' に入ります
[  1%] Building C object src/Mayaqua/3rdparty/cpu_features/CMakeFiles/cpu_features.dir/src/linux_features_aggregator.c.o
[  2%] Building C object src/Mayaqua/3rdparty/cpu_features/CMakeFiles/cpu_features.dir/src/cpuid_x86_clang_gcc.c.o
[  3%] Building C object src/Mayaqua/3rdparty/cpu_features/CMakeFiles/cpu_features.dir/src/cpuid_x86_msvc.c.o
[  4%] Building C object src/Mayaqua/3rdparty/cpu_features/CMakeFiles/cpu_features.dir/src/cpuinfo_aarch64.c.o
[  4%] Building C object src/Mayaqua/3rdparty/cpu_features/CMakeFiles/cpu_features.dir/src/cpuinfo_arm.c.o
[  5%] Building C object src/Mayaqua/3rdparty/cpu_features/CMakeFiles/cpu_features.dir/src/cpuinfo_mips.c.o
[  6%] Building C object src/Mayaqua/3rdparty/cpu_features/CMakeFiles/cpu_features.dir/src/cpuinfo_ppc.c.o
[  7%] Building C object src/Mayaqua/3rdparty/cpu_features/CMakeFiles/cpu_features.dir/src/cpuinfo_x86.c.o
[  8%] Building C object src/Mayaqua/3rdparty/cpu_features/CMakeFiles/cpu_features.dir/src/filesystem.c.o
[  9%] Building C object src/Mayaqua/3rdparty/cpu_features/CMakeFiles/cpu_features.dir/src/hwcaps.c.o
[ 10%] Building C object src/Mayaqua/3rdparty/cpu_features/CMakeFiles/cpu_features.dir/src/stack_line_reader.c.o
[ 11%] Building C object src/Mayaqua/3rdparty/cpu_features/CMakeFiles/cpu_features.dir/src/string_view.c.o
[ 12%] Linking C static library libcpu_features.a
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' から出ます
[ 12%] Built target cpu_features
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' に入ります
Scanning dependencies of target mayaqua
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' から出ます
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' に入ります
[ 13%] Building C object src/Mayaqua/CMakeFiles/mayaqua.dir/Cfg.c.o
[ 14%] Building C object src/Mayaqua/CMakeFiles/mayaqua.dir/Encrypt.c.o
[ 15%] Building C object src/Mayaqua/CMakeFiles/mayaqua.dir/FileIO.c.o
[ 16%] Building C object src/Mayaqua/CMakeFiles/mayaqua.dir/HTTP.c.o
[ 17%] Building C object src/Mayaqua/CMakeFiles/mayaqua.dir/Internat.c.o
[ 17%] Building C object src/Mayaqua/CMakeFiles/mayaqua.dir/Kernel.c.o
[ 18%] Building C object src/Mayaqua/CMakeFiles/mayaqua.dir/Mayaqua.c.o
[ 19%] Building C object src/Mayaqua/CMakeFiles/mayaqua.dir/Memory.c.o
/home/tomoyan/work/SoftEtherVPN/src/Mayaqua/Memory.c: 関数 ‘CrashNow’ 内:
/home/tomoyan/work/SoftEtherVPN/src/Mayaqua/Memory.c:536:14: 警告: 異なるサイズの整数からポインタへ のキャストです [-Wint-to-pointer-cast]
  536 |   UCHAR *c = (UCHAR *)r;
      |              ^
[ 20%] Building C object src/Mayaqua/CMakeFiles/mayaqua.dir/Microsoft.c.o
[ 21%] Building C object src/Mayaqua/CMakeFiles/mayaqua.dir/Network.c.o
/home/tomoyan/work/SoftEtherVPN/src/Mayaqua/Network.c: 関数 ‘NewCancelSpecial’ 内:
/home/tomoyan/work/SoftEtherVPN/src/Mayaqua/Network.c:10577:17: 警告: ポインタから異なるサイズの整数へのキャストです [-Wpointer-to-int-cast]
10577 |  c->pipe_read = (int)hEvent;
      |                 ^
[ 22%] Building C object src/Mayaqua/CMakeFiles/mayaqua.dir/OS.c.o
[ 23%] Building C object src/Mayaqua/CMakeFiles/mayaqua.dir/Object.c.o
[ 24%] Building C object src/Mayaqua/CMakeFiles/mayaqua.dir/Pack.c.o
[ 25%] Building C object src/Mayaqua/CMakeFiles/mayaqua.dir/Proxy.c.o
[ 25%] Building C object src/Mayaqua/CMakeFiles/mayaqua.dir/Secure.c.o
/home/tomoyan/work/SoftEtherVPN/src/Mayaqua/Secure.c: 関数 ‘SignSecByObject’ 内:
/home/tomoyan/work/SoftEtherVPN/src/Mayaqua/Secure.c:323:66: 警告: 互換性のないポインタ型から 5 番目の ‘sec->Api->C_Sign’ の引数に渡しています [-Wincompatible-pointer-types]
  323 |  ret = sec->Api->C_Sign(sec->SessionId, hash, sizeof(hash), dst, &size);
      |                                                                  ^~~~~
      |                                                                  |
      |                                                                  UINT * {aka unsigned int *
/home/tomoyan/work/SoftEtherVPN/src/Mayaqua/Secure.c:323:66: 備考: expected ‘CK_ULONG_PTR’ {aka ‘long unsigned int *’} but argument is of type ‘UINT *’ {aka ‘unsigned int *’}
/home/tomoyan/work/SoftEtherVPN/src/Mayaqua/Secure.c:327:67: 警告: 互換性のないポインタ型から 5 番目の ‘sec->Api->C_Sign’ の引数に渡しています [-Wincompatible-pointer-types]
  327 |   ret = sec->Api->C_Sign(sec->SessionId, hash, sizeof(hash), dst, &size);
      |                                                                   ^~~~~
      |                                                                   |
      |                                                                   UINT * {aka unsigned int *}
/home/tomoyan/work/SoftEtherVPN/src/Mayaqua/Secure.c:327:67: 備考: expected ‘CK_ULONG_PTR’ {aka ‘long unsigned int *’} but argument is of type ‘UINT *’ {aka ‘unsigned int *’}
/home/tomoyan/work/SoftEtherVPN/src/Mayaqua/Secure.c: 関数 ‘WriteSecKey’ 内:
/home/tomoyan/work/SoftEtherVPN/src/Mayaqua/Secure.c:504:83: 警告: 互換性のないポインタ型から 4 番目の ‘sec->Api->C_CreateObject’ の引数に渡しています [-Wincompatible-pointer-types]
  504 | f ((ret = sec->Api->C_CreateObject(sec->SessionId, a, sizeof(a) / sizeof(a[0]), &object)) != CKR_OK)
      |                                                                                 ^~~~~~~
      |                                                                                 |
      |                                                                                 UINT * {aka unsigned int *}

/home/tomoyan/work/SoftEtherVPN/src/Mayaqua/Secure.c:504:83: 備考: expected ‘CK_OBJECT_HANDLE_PTR’ {aka ‘long unsigned int *’} but argument is of type ‘UINT *’ {aka ‘unsigned int *’}
/home/tomoyan/work/SoftEtherVPN/src/Mayaqua/Secure.c: 関数 ‘WriteSecCert’ 内:
/home/tomoyan/work/SoftEtherVPN/src/Mayaqua/Secure.c:710:83: 警告: 互換性のないポインタ型から 4 番目の ‘sec->Api->C_CreateObject’ の引数に渡しています [-Wincompatible-pointer-types]
  710 | f ((ret = sec->Api->C_CreateObject(sec->SessionId, a, sizeof(a) / sizeof(a[0]), &object)) != CKR_OK)
      |                                                                                 ^~~~~~~
      |                                                                                 |
      |                                                                                 UINT * {aka unsigned int *}

/home/tomoyan/work/SoftEtherVPN/src/Mayaqua/Secure.c:710:83: 備考: expected ‘CK_OBJECT_HANDLE_PTR’ {aka ‘long unsigned int *’} but argument is of type ‘UINT *’ {aka ‘unsigned int *’}
/home/tomoyan/work/SoftEtherVPN/src/Mayaqua/Secure.c: 関数 ‘EnumSecObject’ 内:
/home/tomoyan/work/SoftEtherVPN/src/Mayaqua/Secure.c:1216:46: 警告: 互換性のないポインタ型から 2 番 目の ‘sec->Api->C_FindObjects’ の引数に渡しています [-Wincompatible-pointer-types]
 1216 |  if (sec->Api->C_FindObjects(sec->SessionId, objects, sizeof(objects) / sizeof(objects[0]), &num_objects) != CKR_OK)
      |                                              ^~~~~~~
      |                                              |
      |                                              UINT * {aka unsigned int *}
/home/tomoyan/work/SoftEtherVPN/src/Mayaqua/Secure.c:1216:46: 備考: expected ‘CK_OBJECT_HANDLE_PTR’ {aka ‘long unsigned int *’} but argument is of type ‘UINT *’ {aka ‘unsigned int *’}
/home/tomoyan/work/SoftEtherVPN/src/Mayaqua/Secure.c:1216:93: 警告: 互換性のないポインタ型から 4 番 目の ‘sec->Api->C_FindObjects’ の引数に渡しています [-Wincompatible-pointer-types]
 1216 | i->C_FindObjects(sec->SessionId, objects, sizeof(objects) / sizeof(objects[0]), &num_object
) != CKR_OK)
      |                                                                                 ^~~~~~~~~~~
      |                                                                                 |
      |                                                                                 UINT * {aka unsigned int *}

/home/tomoyan/work/SoftEtherVPN/src/Mayaqua/Secure.c:1216:93: 備考: expected ‘CK_ULONG_PTR’ {aka ‘long unsigned int *’} but argument is of type ‘UINT *’ {aka ‘unsigned int *’}
/home/tomoyan/work/SoftEtherVPN/src/Mayaqua/Secure.c: 関数 ‘WriteSecData’ 内:
/home/tomoyan/work/SoftEtherVPN/src/Mayaqua/Secure.c:1337:76: 警告: 互換性のないポインタ型から 4 番 目の ‘sec->Api->C_CreateObject’ の引数に渡しています [-Wincompatible-pointer-types]
 1337 |  if (sec->Api->C_CreateObject(sec->SessionId, a, sizeof(a) / sizeof(a[0]), &object) != CKR_OK)
      |                                                                            ^~~~~~~
      |                                                                            |
      |                                                                            UINT * {aka unsigned int *}
/home/tomoyan/work/SoftEtherVPN/src/Mayaqua/Secure.c:1337:76: 備考: expected ‘CK_OBJECT_HANDLE_PTR’ {aka ‘long unsigned int *’} but argument is of type ‘UINT *’ {aka ‘unsigned int *’}
/home/tomoyan/work/SoftEtherVPN/src/Mayaqua/Secure.c: 関数 ‘OpenSecSession’ 内:
/home/tomoyan/work/SoftEtherVPN/src/Mayaqua/Secure.c:1621:52: 警告: 互換性のないポインタ型から 5 番 目の ‘sec->Api->C_OpenSession’ の引数に渡しています [-Wincompatible-pointer-types]
 1621 |   CKF_RW_SESSION | CKF_SERIAL_SESSION, NULL, NULL, &session)) != CKR_OK)
      |                                                    ^~~~~~~~
      |                                                    |
      |                                                    UINT * {aka unsigned int *}
/home/tomoyan/work/SoftEtherVPN/src/Mayaqua/Secure.c:1621:52: 備考: expected ‘CK_SESSION_HANDLE_PTR’ {aka ‘long unsigned int *’} but argument is of type ‘UINT *’ {aka ‘unsigned int *’}
/home/tomoyan/work/SoftEtherVPN/src/Mayaqua/Secure.c:1626:36: 警告: 互換性のないポインタ型から 5 番 目の ‘sec->Api->C_OpenSession’ の引数に渡しています [-Wincompatible-pointer-types]
 1626 |    CKF_SERIAL_SESSION, NULL, NULL, &session)) != CKR_OK)
      |                                    ^~~~~~~~
      |                                    |
      |                                    UINT * {aka unsigned int *}
/home/tomoyan/work/SoftEtherVPN/src/Mayaqua/Secure.c:1626:36: 備考: expected ‘CK_SESSION_HANDLE_PTR’ {aka ‘long unsigned int *’} but argument is of type ‘UINT *’ {aka ‘unsigned int *’}
/home/tomoyan/work/SoftEtherVPN/src/Mayaqua/Secure.c: 関数 ‘OpenSec’ 内:
/home/tomoyan/work/SoftEtherVPN/src/Mayaqua/Secure.c:1714:49: 警告: 互換性のないポインタ型から 3 番 目の ‘sec->Api->C_GetSlotList’ の引数に渡しています [-Wincompatible-pointer-types]
 1714 |  if ((err = sec->Api->C_GetSlotList(true, NULL, &sec->NumSlot)) != CKR_OK || sec->NumSlot == 0)
      |                                                 ^~~~~~~~~~~~~
      |                                                 |
      |                                                 UINT * {aka unsigned int *}
/home/tomoyan/work/SoftEtherVPN/src/Mayaqua/Secure.c:1714:49: 備考: expected ‘CK_ULONG_PTR’ {aka ‘long unsigned int *’} but argument is of type ‘UINT *’ {aka ‘unsigned int *’}
/home/tomoyan/work/SoftEtherVPN/src/Mayaqua/Secure.c:1724:39: 警告: 互換性のないポインタ型から 2 番 目の ‘sec->Api->C_GetSlotList’ の引数に渡しています [-Wincompatible-pointer-types]
 1724 |  if (sec->Api->C_GetSlotList(TRUE, sec->SlotIdList, &sec->NumSlot) != CKR_OK)
      |                                    ~~~^~~~~~~~~~~~
      |                                       |
      |                                       UINT * {aka unsigned int *}
/home/tomoyan/work/SoftEtherVPN/src/Mayaqua/Secure.c:1724:39: 備考: expected ‘CK_SLOT_ID_PTR’ {aka
long unsigned int *’} but argument is of type ‘UINT *’ {aka ‘unsigned int *’}
/home/tomoyan/work/SoftEtherVPN/src/Mayaqua/Secure.c:1724:53: 警告: 互換性のないポインタ型から 3 番 目の ‘sec->Api->C_GetSlotList’ の引数に渡しています [-Wincompatible-pointer-types]
 1724 |  if (sec->Api->C_GetSlotList(TRUE, sec->SlotIdList, &sec->NumSlot) != CKR_OK)
      |                                                     ^~~~~~~~~~~~~
      |                                                     |
      |                                                     UINT * {aka unsigned int *}
/home/tomoyan/work/SoftEtherVPN/src/Mayaqua/Secure.c:1724:53: 備考: expected ‘CK_ULONG_PTR’ {aka ‘long unsigned int *’} but argument is of type ‘UINT *’ {aka ‘unsigned int *’}
[ 26%] Building C object src/Mayaqua/CMakeFiles/mayaqua.dir/Str.c.o
[ 27%] Building C object src/Mayaqua/CMakeFiles/mayaqua.dir/Table.c.o
[ 28%] Building C object src/Mayaqua/CMakeFiles/mayaqua.dir/TcpIp.c.o
/home/tomoyan/work/SoftEtherVPN/src/Mayaqua/TcpIp.c: 関数 ‘CorrectChecksum’ 内:
/home/tomoyan/work/SoftEtherVPN/src/Mayaqua/TcpIp.c:1775:37: 警告: taking address of packed member of ‘struct PKT’ may result in an unaligned pointer value [-Waddress-of-packed-member]
 1775 |   IPV6_HEADER_PACKET_INFO *v6info = &p->IPv6HeaderPacketInfo;
      |                                     ^~~~~~~~~~~~~~~~~~~~~~~~
/home/tomoyan/work/SoftEtherVPN/src/Mayaqua/TcpIp.c: 関数 ‘ParsePacketIPv6’ 内:
/home/tomoyan/work/SoftEtherVPN/src/Mayaqua/TcpIp.c:2630:28: 警告: taking address of packed member of ‘struct PKT’ may result in an unaligned pointer value [-Waddress-of-packed-member]
 2630 |  if (ParsePacketIPv6Header(&p->IPv6HeaderPacketInfo, buf, size) == false)
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~
[ 29%] Building C object src/Mayaqua/CMakeFiles/mayaqua.dir/Tick64.c.o
[ 30%] Building C object src/Mayaqua/CMakeFiles/mayaqua.dir/Tracking.c.o
[ 31%] Building C object src/Mayaqua/CMakeFiles/mayaqua.dir/Unix.c.o
/home/tomoyan/work/SoftEtherVPN/src/Mayaqua/Unix.c: 関数 ‘UnixIgnoreSignalForThread’ 内:
/home/tomoyan/work/SoftEtherVPN/src/Mayaqua/Unix.c:227:18: 警告: assignment to ‘void (*)(int,  siginfo_t *, void *)’ from incompatible pointer type ‘void * (*)(int,  siginfo_t *, void *)’ [-Wincompatible-pointer-types]
  227 |  sa.sa_sigaction = signal_received_for_ignore;
      |                  ^
[ 32%] Building C object src/Mayaqua/CMakeFiles/mayaqua.dir/Win32.c.o
[ 33%] Linking C shared library ../../libmayaqua.so
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' から出ます
[ 33%] Built target mayaqua
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' に入ります
Scanning dependencies of target cedar
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' から出ます
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' に入ります
[ 33%] Building C object src/Cedar/CMakeFiles/cedar.dir/Account.c.o
[ 34%] Building C object src/Cedar/CMakeFiles/cedar.dir/Admin.c.o
[ 35%] Building C object src/Cedar/CMakeFiles/cedar.dir/AzureClient.c.o
[ 36%] Building C object src/Cedar/CMakeFiles/cedar.dir/AzureServer.c.o
[ 37%] Building C object src/Cedar/CMakeFiles/cedar.dir/Bridge.c.o
[ 38%] Building C object src/Cedar/CMakeFiles/cedar.dir/BridgeUnix.c.o
[ 39%] Building C object src/Cedar/CMakeFiles/cedar.dir/BridgeWin32.c.o
[ 40%] Building C object src/Cedar/CMakeFiles/cedar.dir/CM.c.o
[ 41%] Building C object src/Cedar/CMakeFiles/cedar.dir/Cedar.c.o
[ 41%] Building C object src/Cedar/CMakeFiles/cedar.dir/CedarPch.c.o
[ 42%] Building C object src/Cedar/CMakeFiles/cedar.dir/Client.c.o
[ 43%] Building C object src/Cedar/CMakeFiles/cedar.dir/Command.c.o
/home/tomoyan/work/SoftEtherVPN/src/Cedar/Command.c: 関数 ‘CheckThread1’ 内:
/home/tomoyan/work/SoftEtherVPN/src/Cedar/Command.c:265:15: 警告: 異なるサイズの整数からポインタへのキャストです [-Wint-to-pointer-cast]
  265 |   InputToNull((void *)check_thread_global_1);
      |               ^
/home/tomoyan/work/SoftEtherVPN/src/Cedar/Command.c: 関数 ‘CheckMemory’ 内:
/home/tomoyan/work/SoftEtherVPN/src/Cedar/Command.c:555:16: 警告: 異なるサイズの整数からポインタへのキャストです [-Wint-to-pointer-cast]
  555 |    InputToNull((void *)(UINT)(((UCHAR *)pp[i])[j] = j % 256));
      |                ^
/home/tomoyan/work/SoftEtherVPN/src/Cedar/Command.c: 関数 ‘StrToPortList’ 内:
/home/tomoyan/work/SoftEtherVPN/src/Cedar/Command.c:7838:19: 警告: 異なるサイズの整数からポインタへ のキャストです [-Wint-to-pointer-cast]
 7838 |   if (IsInList(o, (void *)n))
      |                   ^
/home/tomoyan/work/SoftEtherVPN/src/Cedar/Command.c:7844:10: 警告: 異なるサイズの整数からポインタへ のキャストです [-Wint-to-pointer-cast]
 7844 |   Add(o, (void *)n);
      |          ^
/home/tomoyan/work/SoftEtherVPN/src/Cedar/Command.c: 関数 ‘PsClusterSettingMember’ 内:
/home/tomoyan/work/SoftEtherVPN/src/Cedar/Command.c:7921:17: 警告: ポインタから異なるサイズの整数へ のキャストです [-Wpointer-to-int-cast]
 7921 |    t.Ports[i] = (UINT)LIST_DATA(ports, i);
      |                 ^
/home/tomoyan/work/SoftEtherVPN/src/Cedar/Command.c: 関数 ‘CmdEvalPortList’ 内:
/home/tomoyan/work/SoftEtherVPN/src/Cedar/Command.c:7961:23: 警告: ポインタから異なるサイズの整数へ のキャストです [-Wpointer-to-int-cast]
 7961 |  o = StrToPortList(s, (bool)param);
      |                       ^
/home/tomoyan/work/SoftEtherVPN/src/Cedar/Command.c: 関数 ‘CmdEvalHostAndPort’ 内:
/home/tomoyan/work/SoftEtherVPN/src/Cedar/Command.c:7993:39: 警告: ポインタから異なるサイズの整数へ のキャストです [-Wpointer-to-int-cast]
 7993 |  ret = ParseHostPort(build, NULL, NULL, (UINT)param);
      |                                       ^
/home/tomoyan/work/SoftEtherVPN/src/Cedar/Command.c: 関数 ‘PsPortsUDPSet’ 内:
/home/tomoyan/work/SoftEtherVPN/src/Cedar/Command.c:22556:17: 警告: ポインタから異なるサイズの整数へのキャストです [-Wpointer-to-int-cast]
22556 |    t.Ports[i] = (UINT)LIST_DATA(ports, i);
      |                 ^
[ 44%] Building C object src/Cedar/CMakeFiles/cedar.dir/Connection.c.o
[ 45%] Building C object src/Cedar/CMakeFiles/cedar.dir/Console.c.o
[ 46%] Building C object src/Cedar/CMakeFiles/cedar.dir/DDNS.c.o
[ 47%] Building C object src/Cedar/CMakeFiles/cedar.dir/Database.c.o
[ 48%] Building C object src/Cedar/CMakeFiles/cedar.dir/EM.c.o
[ 49%] Building C object src/Cedar/CMakeFiles/cedar.dir/EtherLog.c.o
[ 49%] Building C object src/Cedar/CMakeFiles/cedar.dir/Hub.c.o
[ 50%] Building C object src/Cedar/CMakeFiles/cedar.dir/IPC.c.o
[ 51%] Building C object src/Cedar/CMakeFiles/cedar.dir/Layer3.c.o
[ 52%] Building C object src/Cedar/CMakeFiles/cedar.dir/Link.c.o
[ 53%] Building C object src/Cedar/CMakeFiles/cedar.dir/Listener.c.o
[ 54%] Building C object src/Cedar/CMakeFiles/cedar.dir/Logging.c.o
/home/tomoyan/work/SoftEtherVPN/src/Cedar/Logging.c: 関数 ‘PacketLogParseProc’ 内:
/home/tomoyan/work/SoftEtherVPN/src/Cedar/Logging.c:1576:32: 警告: taking address of packed member of ‘struct PKT’ may result in an unaligned pointer value [-Waddress-of-packed-member]
 1576 |     ICMPV6_HEADER_INFO *icmp = &p->ICMPv6HeaderPacketInfo;
      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~
[ 55%] Building C object src/Cedar/CMakeFiles/cedar.dir/NM.c.o
[ 56%] Building C object src/Cedar/CMakeFiles/cedar.dir/Nat.c.o
[ 57%] Building C object src/Cedar/CMakeFiles/cedar.dir/NativeStack.c.o
[ 58%] Building C object src/Cedar/CMakeFiles/cedar.dir/NullLan.c.o
[ 58%] Building C object src/Cedar/CMakeFiles/cedar.dir/Proto.c.o
/home/tomoyan/work/SoftEtherVPN/src/Cedar/Proto.c: 関数 ‘ProtoLog’ 内:
/home/tomoyan/work/SoftEtherVPN/src/Cedar/Proto.c:20:29: 警告: passing argument 1 of ‘CopyStrToUni’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
   20 |   proto_name = CopyStrToUni(session->Impl->Name());
      |                             ^~~~~~~~~~~~~~~~~~~~~
In file included from /home/tomoyan/work/SoftEtherVPN/src/./Mayaqua/Mayaqua.h:249,
                 from /home/tomoyan/work/SoftEtherVPN/src/Cedar/CedarPch.h:18,
                 from /home/tomoyan/work/SoftEtherVPN/src/Cedar/Proto.c:1:
/home/tomoyan/work/SoftEtherVPN/src/./Mayaqua/Internat.h:69:29: 備考: expected ‘char *’ but argument is of type ‘const char *’
   69 | wchar_t *CopyStrToUni(char *str);
      |                       ~~~~~~^~~
/home/tomoyan/work/SoftEtherVPN/src/Cedar/Proto.c: 関数 ‘ProtoContainerCompare’ 内:
/home/tomoyan/work/SoftEtherVPN/src/Cedar/Proto.c:72:28: 警告: passing argument 1 of ‘StrCmpi’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
   72 |  return StrCmpi(container_1->Name, container_2->Name);
      |                 ~~~~~~~~~~~^~~~~~
In file included from /home/tomoyan/work/SoftEtherVPN/src/./Mayaqua/Mayaqua.h:246,
                 from /home/tomoyan/work/SoftEtherVPN/src/Cedar/CedarPch.h:18,
                 from /home/tomoyan/work/SoftEtherVPN/src/Cedar/Proto.c:1:
/home/tomoyan/work/SoftEtherVPN/src/./Mayaqua/Str.h:39:19: 備考: expected ‘char *’ but argument is of type ‘const char *’
   39 | int StrCmpi(char *str1, char *str2);
      |             ~~~~~~^~~~
/home/tomoyan/work/SoftEtherVPN/src/Cedar/Proto.c:72:47: 警告: passing argument 2 of ‘StrCmpi’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
   72 |  return StrCmpi(container_1->Name, container_2->Name);
      |                                    ~~~~~~~~~~~^~~~~~
In file included from /home/tomoyan/work/SoftEtherVPN/src/./Mayaqua/Mayaqua.h:246,
                 from /home/tomoyan/work/SoftEtherVPN/src/Cedar/CedarPch.h:18,
                 from /home/tomoyan/work/SoftEtherVPN/src/Cedar/Proto.c:1:
/home/tomoyan/work/SoftEtherVPN/src/./Mayaqua/Str.h:39:31: 備考: expected ‘char *’ but argument is of type ‘const char *’
   39 | int StrCmpi(char *str1, char *str2);
      |                         ~~~~~~^~~~
/home/tomoyan/work/SoftEtherVPN/src/Cedar/Proto.c: 関数 ‘ProtoSessionNew’ 内:
/home/tomoyan/work/SoftEtherVPN/src/Cedar/Proto.c:405:26: 警告: passing argument 2 of ‘CopyIP’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  405 |  CopyIP(&session->SrcIp, src_ip);
      |                          ^~~~~~
In file included from /home/tomoyan/work/SoftEtherVPN/src/./Mayaqua/Mayaqua.h:270,
                 from /home/tomoyan/work/SoftEtherVPN/src/Cedar/CedarPch.h:18,
                 from /home/tomoyan/work/SoftEtherVPN/src/Cedar/Proto.c:1:
/home/tomoyan/work/SoftEtherVPN/src/./Mayaqua/Network.h:1263:26: 備考: expected ‘IP *’ but argument is of type ‘const IP *’
 1263 | void CopyIP(IP *dst, IP *src);
      |                      ~~~~^~~
/home/tomoyan/work/SoftEtherVPN/src/Cedar/Proto.c:407:26: 警告: passing argument 2 of ‘CopyIP’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  407 |  CopyIP(&session->DstIp, dst_ip);
      |                          ^~~~~~
In file included from /home/tomoyan/work/SoftEtherVPN/src/./Mayaqua/Mayaqua.h:270,
                 from /home/tomoyan/work/SoftEtherVPN/src/Cedar/CedarPch.h:18,
                 from /home/tomoyan/work/SoftEtherVPN/src/Cedar/Proto.c:1:
/home/tomoyan/work/SoftEtherVPN/src/./Mayaqua/Network.h:1263:26: 備考: expected ‘IP *’ but argument is of type ‘const IP *’
 1263 | void CopyIP(IP *dst, IP *src);
      |                      ~~~~^~~
/home/tomoyan/work/SoftEtherVPN/src/Cedar/Proto.c: 関数 ‘ProtoSetListenIP’ 内:
/home/tomoyan/work/SoftEtherVPN/src/Cedar/Proto.c:456:38: 警告: passing argument 2 of ‘Copy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  456 |  Copy(&proto->UdpListener->ListenIP, ip, sizeof(proto->UdpListener->ListenIP));
      |                                      ^~
In file included from /home/tomoyan/work/SoftEtherVPN/src/./Mayaqua/Mayaqua.h:243,
                 from /home/tomoyan/work/SoftEtherVPN/src/Cedar/CedarPch.h:18,
                 from /home/tomoyan/work/SoftEtherVPN/src/Cedar/Proto.c:1:
/home/tomoyan/work/SoftEtherVPN/src/./Mayaqua/Memory.h:182:28: 備考: expected ‘void *’ but argument is of type ‘const IP *’
  182 | void Copy(void *dst, void *src, UINT size);
      |                      ~~~~~~^~~
/home/tomoyan/work/SoftEtherVPN/src/Cedar/Proto.c: 関数 ‘ProtoHandleConnection’ 内:
/home/tomoyan/work/SoftEtherVPN/src/Cedar/Proto.c:511:19: 警告: passing argument 1 of ‘StrCmp’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  511 |     if (StrCmp(build->Name, protocol) == 0)
      |                ~~~^~~~~~
In file included from /home/tomoyan/work/SoftEtherVPN/src/./Mayaqua/Mayaqua.h:246,
                 from /home/tomoyan/work/SoftEtherVPN/src/Cedar/CedarPch.h:18,
                 from /home/tomoyan/work/SoftEtherVPN/src/Cedar/Proto.c:1:
/home/tomoyan/work/SoftEtherVPN/src/./Mayaqua/Str.h:38:18: 備考: expected ‘char *’ but argument is of type ‘const char * const’
   38 | int StrCmp(char *str1, char *str2);
      |            ~~~~~~^~~~
/home/tomoyan/work/SoftEtherVPN/src/Cedar/Proto.c:511:27: 警告: passing argument 2 of ‘StrCmp’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  511 |     if (StrCmp(build->Name, protocol) == 0)
      |                           ^~~~~~~~
In file included from /home/tomoyan/work/SoftEtherVPN/src/./Mayaqua/Mayaqua.h:246,
                 from /home/tomoyan/work/SoftEtherVPN/src/Cedar/CedarPch.h:18,
                 from /home/tomoyan/work/SoftEtherVPN/src/Cedar/Proto.c:1:
/home/tomoyan/work/SoftEtherVPN/src/./Mayaqua/Str.h:38:30: 備考: expected ‘char *’ but argument is of type ‘const char *’
   38 | int StrCmp(char *str1, char *str2);
      |                        ~~~~~~^~~~
/home/tomoyan/work/SoftEtherVPN/src/Cedar/Proto.c:556:38: 警告: passing argument 1 of ‘CopyStrToUni’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  556 |   proto_name = CopyStrToUni(container->Name);
      |                             ~~~~~~~~~^~~~~~
In file included from /home/tomoyan/work/SoftEtherVPN/src/./Mayaqua/Mayaqua.h:249,
                 from /home/tomoyan/work/SoftEtherVPN/src/Cedar/CedarPch.h:18,
                 from /home/tomoyan/work/SoftEtherVPN/src/Cedar/Proto.c:1:
/home/tomoyan/work/SoftEtherVPN/src/./Mayaqua/Internat.h:69:29: 備考: expected ‘char *’ but argument is of type ‘const char * const’
   69 | wchar_t *CopyStrToUni(char *str);
      |                       ~~~~~~^~~
/home/tomoyan/work/SoftEtherVPN/src/Cedar/Proto.c:649:38: 警告: passing argument 1 of ‘CopyStrToUni’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  649 |   wchar_t *proto_name = CopyStrToUni(impl->Name());
      |                                      ^~~~~~~~~~~~
In file included from /home/tomoyan/work/SoftEtherVPN/src/./Mayaqua/Mayaqua.h:249,
                 from /home/tomoyan/work/SoftEtherVPN/src/Cedar/CedarPch.h:18,
                 from /home/tomoyan/work/SoftEtherVPN/src/Cedar/Proto.c:1:
/home/tomoyan/work/SoftEtherVPN/src/./Mayaqua/Internat.h:69:29: 備考: expected ‘char *’ but argument is of type ‘const char *’
   69 | wchar_t *CopyStrToUni(char *str);
      |                       ~~~~~~^~~
[ 59%] Building C object src/Cedar/CMakeFiles/cedar.dir/Proto_EtherIP.c.o
[ 60%] Building C object src/Cedar/CMakeFiles/cedar.dir/Proto_IKE.c.o
[ 61%] Building C object src/Cedar/CMakeFiles/cedar.dir/Proto_IPsec.c.o
[ 62%] Building C object src/Cedar/CMakeFiles/cedar.dir/Proto_IkePacket.c.o
[ 63%] Building C object src/Cedar/CMakeFiles/cedar.dir/Proto_L2TP.c.o
[ 64%] Building C object src/Cedar/CMakeFiles/cedar.dir/Proto_OpenVPN.c.o
/home/tomoyan/work/SoftEtherVPN/src/Cedar/Proto_OpenVPN.c: 関数 ‘OvsIsPacketForMe’ 内:
/home/tomoyan/work/SoftEtherVPN/src/Cedar/Proto_OpenVPN.c:88:43: 警告: passing argument 1 of ‘OvsParsePacket’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
   88 |   OPENVPN_PACKET *packet = OvsParsePacket(data, size);
      |                                           ^~~~
In file included from /home/tomoyan/work/SoftEtherVPN/src/./Cedar/Cedar.h:1044,
                 from /home/tomoyan/work/SoftEtherVPN/src/Cedar/CedarPch.h:19,
                 from /home/tomoyan/work/SoftEtherVPN/src/Cedar/Proto_OpenVPN.c:8:
/home/tomoyan/work/SoftEtherVPN/src/./Cedar/Proto_OpenVPN.h:235:39: 備考: expected ‘UCHAR *’ {aka ‘unsigned char *’} but argument is of type ‘const UCHAR *’ {aka ‘const unsigned char *’}
  235 | OPENVPN_PACKET *OvsParsePacket(UCHAR *data, UINT size);
      |                                ~~~~~~~^~~~
[ 65%] Building C object src/Cedar/CMakeFiles/cedar.dir/Proto_PPP.c.o
[ 66%] Building C object src/Cedar/CMakeFiles/cedar.dir/Proto_SSTP.c.o
/home/tomoyan/work/SoftEtherVPN/src/Cedar/Proto_SSTP.c: 関数 ‘NewSstpServer’ 内:
/home/tomoyan/work/SoftEtherVPN/src/Cedar/Proto_SSTP.c:1012:55: 警告: passing argument 3 of ‘StrCpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
 1012 |  StrCpy(s->ClientHostName, sizeof(s->ClientHostName), hostname);
      |                                                       ^~~~~~~~
In file included from /home/tomoyan/work/SoftEtherVPN/src/./Mayaqua/Mayaqua.h:246,
                 from /home/tomoyan/work/SoftEtherVPN/src/Cedar/CedarPch.h:18,
                 from /home/tomoyan/work/SoftEtherVPN/src/Cedar/Proto_SSTP.c:8:
/home/tomoyan/work/SoftEtherVPN/src/./Mayaqua/Str.h:30:41: 備考: expected ‘char *’ but argument is of type ‘const char *’
   30 | UINT StrCpy(char *dst, UINT size, char *src);
      |                                   ~~~~~~^~~
/home/tomoyan/work/SoftEtherVPN/src/Cedar/Proto_SSTP.c:1013:59: 警告: passing argument 3 of ‘StrCpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
 1013 |  StrCpy(s->ClientCipherName, sizeof(s->ClientCipherName), cipher);
      |                                                           ^~~~~~
In file included from /home/tomoyan/work/SoftEtherVPN/src/./Mayaqua/Mayaqua.h:246,
                 from /home/tomoyan/work/SoftEtherVPN/src/Cedar/CedarPch.h:18,
                 from /home/tomoyan/work/SoftEtherVPN/src/Cedar/Proto_SSTP.c:8:
/home/tomoyan/work/SoftEtherVPN/src/./Mayaqua/Str.h:30:41: 備考: expected ‘char *’ but argument is of type ‘const char *’
   30 | UINT StrCpy(char *dst, UINT size, char *src);
      |                                   ~~~~~~^~~
[ 66%] Building C object src/Cedar/CMakeFiles/cedar.dir/Proto_Win7.c.o
[ 67%] Building C object src/Cedar/CMakeFiles/cedar.dir/Protocol.c.o
[ 68%] Building C object src/Cedar/CMakeFiles/cedar.dir/Radius.c.o
[ 69%] Building C object src/Cedar/CMakeFiles/cedar.dir/Remote.c.o
[ 70%] Building C object src/Cedar/CMakeFiles/cedar.dir/SM.c.o
[ 71%] Building C object src/Cedar/CMakeFiles/cedar.dir/SW.c.o
[ 72%] Building C object src/Cedar/CMakeFiles/cedar.dir/Sam.c.o
[ 73%] Building C object src/Cedar/CMakeFiles/cedar.dir/SeLowUser.c.o
[ 74%] Building C object src/Cedar/CMakeFiles/cedar.dir/SecureInfo.c.o
[ 74%] Building C object src/Cedar/CMakeFiles/cedar.dir/SecureNAT.c.o
[ 75%] Building C object src/Cedar/CMakeFiles/cedar.dir/Server.c.o
/home/tomoyan/work/SoftEtherVPN/src/Cedar/Server.c: 関数 ‘SiLoadProtoCfg’ 内:
/home/tomoyan/work/SoftEtherVPN/src/Cedar/Server.c:6284:41: 警告: passing argument 2 of ‘CfgGetFolder’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
 6284 |   FOLDER *ff = CfgGetFolder(f, container->Name);
      |                                ~~~~~~~~~^~~~~~
In file included from /home/tomoyan/work/SoftEtherVPN/src/./Mayaqua/Mayaqua.h:264,
                 from /home/tomoyan/work/SoftEtherVPN/src/Cedar/CedarPch.h:18,
                 from /home/tomoyan/work/SoftEtherVPN/src/Cedar/Server.c:8:
/home/tomoyan/work/SoftEtherVPN/src/./Mayaqua/Cfg.h:98:44: 備考: expected ‘char *’ but argument is of type ‘const char * const’
   98 | FOLDER *CfgGetFolder(FOLDER *parent, char *name);
      |                                      ~~~~~~^~~~
/home/tomoyan/work/SoftEtherVPN/src/Cedar/Server.c: 関数 ‘SiWriteProtoCfg’ 内:
/home/tomoyan/work/SoftEtherVPN/src/Cedar/Server.c:6338:44: 警告: passing argument 2 of ‘CfgCreateFolder’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
 6338 |   FOLDER *ff = CfgCreateFolder(f, container->Name);
      |                                   ~~~~~~~~~^~~~~~
In file included from /home/tomoyan/work/SoftEtherVPN/src/./Mayaqua/Mayaqua.h:264,
                 from /home/tomoyan/work/SoftEtherVPN/src/Cedar/CedarPch.h:18,
                 from /home/tomoyan/work/SoftEtherVPN/src/Cedar/Server.c:8:
/home/tomoyan/work/SoftEtherVPN/src/./Mayaqua/Cfg.h:84:47: 備考: expected ‘char *’ but argument is of type ‘const char * const’
   84 | FOLDER *CfgCreateFolder(FOLDER *parent, char *name);
      |                                         ~~~~~~^~~~
/home/tomoyan/work/SoftEtherVPN/src/Cedar/Server.c: 関数 ‘SiRebootServerThread’ 内:
/home/tomoyan/work/SoftEtherVPN/src/Cedar/Server.c:6701:16: 警告: ポインタから異なるサイズの整数へのキャストです [-Wpointer-to-int-cast]
 6701 |  StStartServer((bool)param);
      |                ^
In file included from /home/tomoyan/work/SoftEtherVPN/src/./Mayaqua/Mayaqua.h:258,
                 from /home/tomoyan/work/SoftEtherVPN/src/Cedar/CedarPch.h:18,
                 from /home/tomoyan/work/SoftEtherVPN/src/Cedar/Server.c:8:
/home/tomoyan/work/SoftEtherVPN/src/Cedar/Server.c: 関数 ‘SiRebootServerEx’ 内:
/home/tomoyan/work/SoftEtherVPN/src/Cedar/Server.c:6715:38: 警告: 異なるサイズの整数からポインタへのキャストです [-Wint-to-pointer-cast]
 6715 |  t = NewThread(SiRebootServerThread, (void *)bridge);
      |                                      ^
/home/tomoyan/work/SoftEtherVPN/src/./Mayaqua/Kernel.h:70:70: 備考: in definition of macro ‘NewThread’
   70 | #define NewThread(thread_proc, param) NewThreadNamed((thread_proc), (param), (#thread_proc))
      |                                                                      ^~~~~
/home/tomoyan/work/SoftEtherVPN/src/Cedar/Server.c: 関数 ‘SiCalledDeleteIpTable’ 内:
/home/tomoyan/work/SoftEtherVPN/src/Cedar/Server.c:7639:28: 警告: 異なるサイズの整数からポインタへのキャストです [-Wint-to-pointer-cast]
 7639 |   if (IsInList(h->IpTable, (void *)key))
      |                            ^
/home/tomoyan/work/SoftEtherVPN/src/Cedar/Server.c:7641:24: 警告: 異なるサイズの整数からポインタへのキャストです [-Wint-to-pointer-cast]
 7641 |    IP_TABLE_ENTRY *e = (IP_TABLE_ENTRY *)key;
      |                        ^
[ 76%] Building C object src/Cedar/CMakeFiles/cedar.dir/Session.c.o
[ 77%] Building C object src/Cedar/CMakeFiles/cedar.dir/UT.c.o
[ 78%] Building C object src/Cedar/CMakeFiles/cedar.dir/UdpAccel.c.o
[ 79%] Building C object src/Cedar/CMakeFiles/cedar.dir/VG.c.o
[ 80%] Building C object src/Cedar/CMakeFiles/cedar.dir/VLan.c.o
[ 81%] Building C object src/Cedar/CMakeFiles/cedar.dir/VLanUnix.c.o
[ 82%] Building C object src/Cedar/CMakeFiles/cedar.dir/VLanWin32.c.o
[ 83%] Building C object src/Cedar/CMakeFiles/cedar.dir/Virtual.c.o
[ 83%] Building C object src/Cedar/CMakeFiles/cedar.dir/WaterMark.c.o
[ 84%] Building C object src/Cedar/CMakeFiles/cedar.dir/WebUI.c.o
[ 85%] Building C object src/Cedar/CMakeFiles/cedar.dir/WinUi.c.o
[ 86%] Building C object src/Cedar/CMakeFiles/cedar.dir/Wpc.c.o
[ 87%] Linking C shared library ../../libcedar.so
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' から出ます
[ 87%] Built target cedar
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' に入ります
Scanning dependencies of target hamcorebuilder
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' から出ます
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' に入ります
[ 88%] Building C object src/hamcorebuilder/CMakeFiles/hamcorebuilder.dir/hamcorebuilder.c.o
[ 89%] Linking C executable hamcorebuilder
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' から出ます
[ 89%] Built target hamcorebuilder
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' に入ります
Scanning dependencies of target hamcore-archive-build
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' から出ます
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' に入ります
[ 89%] Building hamcore.se2 archive file...
hamcore.se2 Build Utility
Copyright (c) SoftEther VPN Project. All Rights Reserved.

Src Dir: '/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/'
Dest Filename: '/home/tomoyan/work/SoftEtherVPN/build/hamcore.se2'

Processing...
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/authors.txt: 4327 -> 1808
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/backup_dir_readme.txt: 314 -> 130
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/empty.config: 37 -> 42
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/empty_sevpnclient.config: 1919 -> 867
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/eula.txt: 3587 -> 1671
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/lang.config: 698 -> 409
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/languages.txt: 584 -> 473
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/languages_wine.txt: 260 -> 223
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/legal.txt: 37618 -> 10947
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/openvpn_readme.pdf: 490556 -> 479129
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/openvpn_readme.txt: 13030 -> 5081
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/openvpn_sample.ovpn: 5311 -> 1880
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/root_certs.dat: 400489 -> 275260
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/SOURCES_OF_BINARY_FILES.TXT: 5380 -> 2239
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/strtable_cn.stb: 572389 -> 153795
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/strtable_en.stb: 655422 -> 148721
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/strtable_ja.stb: 820299 -> 158720
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/strtable_ko.stb: 690683 -> 147484
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/strtable_pt_br.stb: 643131 -> 151940
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/strtable_ru.stb: 650365 -> 149839
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/strtable_tw.stb: 562327 -> 154116
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/vpnserver_api_doc.html: 612506 -> 53395
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/vpnweb_sample_cn.htm: 3964 -> 1576
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/vpnweb_sample_en.htm: 3964 -> 1576
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/vpnweb_sample_ja.htm: 4856 -> 1978
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/vpnweb_sample_ko.htm: 4386 -> 1894
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/vpnweb_sample_tw.htm: 3893 -> 1571
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/warning_cn.txt: 30803 -> 11079
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/warning_en.txt: 36296 -> 11401
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/warning_ja.txt: 50698 -> 13122
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/warning_ko.txt: 42927 -> 12154
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/warning_ru.txt: 36157 -> 11376
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/warning_tw.txt: 30756 -> 11147
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/webui/cryptcom.cgi: 1729 -> 865
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/webui/edituser.cgi: 1495 -> 723
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/webui/error.cgi: 279 -> 243
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/webui/hub.cgi: 2633 -> 893
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/webui/license.cgi: 1852 -> 895
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/webui/listener.cgi: 465 -> 329
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/webui/localbridge.cgi: 1876 -> 918
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/webui/login.cgi: 767 -> 499
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/webui/newhub.cgi: 807 -> 473
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/webui/redirect.cgi: 254 -> 177
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/webui/securenat.cgi: 3169 -> 1125
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/webui/server.cgi: 2367 -> 960
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/webui/session.cgi: 979 -> 546
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/webui/user.cgi: 951 -> 533
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/webui/webui.css: 30 -> 38
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/wwwroot/admin/index.html: 259 -> 176
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/wwwroot/admin/README.md: 1148 -> 551
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/wwwroot/admin/default/.gitignore: 14 -> 22
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/wwwroot/admin/default/hub.html: 630 -> 334
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/wwwroot/admin/default/include_footer.html: 102 -> 91
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/wwwroot/admin/default/include_head.html: 683 -> 294
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/wwwroot/admin/default/include_menu.html: 1435 -> 487
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/wwwroot/admin/default/index.html: 2833 -> 1188
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/wwwroot/admin/default/package-lock.json: 166563 -> 37811
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/wwwroot/admin/default/package.json: 581 -> 294
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/wwwroot/admin/default/theme.css: 255 -> 161
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/wwwroot/admin/default/tsconfig.json: 5382 -> 1830
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/wwwroot/admin/default/tsconfig_webpack.json: 5373 -> 1831
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/wwwroot/admin/default/tslint.json: 504 -> 220
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/wwwroot/admin/default/webpack.config.js: 795 -> 368
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/wwwroot/admin/default/.vscode/launch.json: 439 -> 221
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/wwwroot/admin/default/.vscode/settings.json: 78 -> 72
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/wwwroot/admin/default/.vscode/tasks.json: 1154 -> 324
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/wwwroot/admin/default/out_webpack/bundle.js: 2619957 -> 613814
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/wwwroot/admin/default/out_webpack/ts/index.d.ts: 533 -> 252
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/wwwroot/admin/default/out_webpack/ts/index.d.ts.map: 555 -> 242
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/wwwroot/admin/default/out_webpack/ts/main.d.ts: 610 -> 260
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/wwwroot/admin/default/out_webpack/ts/main.d.ts.map: 624 -> 256
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/wwwroot/admin/default/out_webpack/ts/vpnadmin.d.ts: 49 -> 57
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/wwwroot/admin/default/out_webpack/ts/vpnadmin.d.ts.map: 116 -> 98
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/wwwroot/admin/default/src/ts/main.ts: 5461 -> 1723
authors.txt: offset: 2997
backup_dir_readme.txt: offset: 4805
empty.config: offset: 4935
empty_sevpnclient.config: offset: 4977
eula.txt: offset: 5844
lang.config: offset: 7515
languages.txt: offset: 7924
languages_wine.txt: offset: 8397
legal.txt: offset: 8620
openvpn_readme.pdf: offset: 19567
openvpn_readme.txt: offset: 498696
openvpn_sample.ovpn: offset: 503777
root_certs.dat: offset: 505657
SOURCES_OF_BINARY_FILES.TXT: offset: 780917
strtable_cn.stb: offset: 783156
strtable_en.stb: offset: 936951
strtable_ja.stb: offset: 1085672
strtable_ko.stb: offset: 1244392
strtable_pt_br.stb: offset: 1391876
strtable_ru.stb: offset: 1543816
strtable_tw.stb: offset: 1693655
vpnserver_api_doc.html: offset: 1847771
vpnweb_sample_cn.htm: offset: 1901166
vpnweb_sample_en.htm: offset: 1902742
vpnweb_sample_ja.htm: offset: 1904318
vpnweb_sample_ko.htm: offset: 1906296
vpnweb_sample_tw.htm: offset: 1908190
warning_cn.txt: offset: 1909761
warning_en.txt: offset: 1920840
warning_ja.txt: offset: 1932241
warning_ko.txt: offset: 1945363
warning_ru.txt: offset: 1957517
warning_tw.txt: offset: 1968893
webui\cryptcom.cgi: offset: 1980040
webui\edituser.cgi: offset: 1980905
webui\error.cgi: offset: 1981628
webui\hub.cgi: offset: 1981871
webui\license.cgi: offset: 1982764
webui\listener.cgi: offset: 1983659
webui\localbridge.cgi: offset: 1983988
webui\login.cgi: offset: 1984906
webui\newhub.cgi: offset: 1985405
webui\redirect.cgi: offset: 1985878
webui\securenat.cgi: offset: 1986055
webui\server.cgi: offset: 1987180
webui\session.cgi: offset: 1988140
webui\user.cgi: offset: 1988686
webui\webui.css: offset: 1989219
wwwroot\admin\default\.gitignore: offset: 1989257
wwwroot\admin\default\.vscode\launch.json: offset: 1989279
wwwroot\admin\default\.vscode\settings.json: offset: 1989500
wwwroot\admin\default\.vscode\tasks.json: offset: 1989572
wwwroot\admin\default\hub.html: offset: 1989896
wwwroot\admin\default\include_footer.html: offset: 1990230
wwwroot\admin\default\include_head.html: offset: 1990321
wwwroot\admin\default\include_menu.html: offset: 1990615
wwwroot\admin\default\index.html: offset: 1991102
wwwroot\admin\default\out_webpack\bundle.js: offset: 1992290
wwwroot\admin\default\out_webpack\ts\index.d.ts: offset: 2606104
wwwroot\admin\default\out_webpack\ts\index.d.ts.map: offset: 2606356
wwwroot\admin\default\out_webpack\ts\main.d.ts: offset: 2606598
wwwroot\admin\default\out_webpack\ts\main.d.ts.map: offset: 2606858
wwwroot\admin\default\out_webpack\ts\vpnadmin.d.ts: offset: 2607114
wwwroot\admin\default\out_webpack\ts\vpnadmin.d.ts.map: offset: 2607171
wwwroot\admin\default\package-lock.json: offset: 2607269
wwwroot\admin\default\package.json: offset: 2645080
wwwroot\admin\default\src\ts\main.ts: offset: 2645374
wwwroot\admin\default\theme.css: offset: 2647097
wwwroot\admin\default\tsconfig.json: offset: 2647258
wwwroot\admin\default\tsconfig_webpack.json: offset: 2649088
wwwroot\admin\default\tslint.json: offset: 2650919
wwwroot\admin\default\webpack.config.js: offset: 2651139
wwwroot\admin\index.html: offset: 2651507
wwwroot\admin\README.md: offset: 2651683
Writing /home/tomoyan/work/SoftEtherVPN/build/hamcore.se2...

Done.
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' から出ます
[ 89%] Built target hamcore-archive-build
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' に入ります
Scanning dependencies of target list_cpu_features
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' から出ます
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' に入ります
[ 90%] Building C object src/Mayaqua/3rdparty/cpu_features/CMakeFiles/list_cpu_features.dir/src/utils/list_cpu_features.c.o
[ 91%] Linking C executable list_cpu_features
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' から出ます
[ 91%] Built target list_cpu_features
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' に入ります
Scanning dependencies of target vpnserver
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' から出ます
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' に入ります
[ 92%] Building C object src/vpnserver/CMakeFiles/vpnserver.dir/vpnserver.c.o
[ 93%] Linking C executable ../../vpnserver
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' から出ます
[ 93%] Built target vpnserver
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' に入ります
Scanning dependencies of target vpnclient
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' から出ます
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' に入ります
[ 94%] Building C object src/vpnclient/CMakeFiles/vpnclient.dir/vpncsvc.c.o
[ 95%] Linking C executable ../../vpnclient
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' から出ます
[ 95%] Built target vpnclient
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' に入ります
Scanning dependencies of target vpnbridge
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' から出ます
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' に入ります
[ 95%] Building C object src/vpnbridge/CMakeFiles/vpnbridge.dir/vpnbridge.c.o
[ 96%] Linking C executable ../../vpnbridge
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' から出ます
[ 96%] Built target vpnbridge
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' に入ります
Scanning dependencies of target vpncmd
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' から出ます
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' に入ります
[ 97%] Building C object src/vpncmd/CMakeFiles/vpncmd.dir/vpncmd.c.o
[ 98%] Linking C executable ../../vpncmd
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' から出ます
[ 98%] Built target vpncmd
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' に入ります
Scanning dependencies of target vpntest
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' から出ます
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' に入ります
[ 99%] Building C object src/vpntest/CMakeFiles/vpntest.dir/vpntest.c.o
[100%] Linking C executable ../../vpntest
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' から出ます
[100%] Built target vpntest
make[1]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' から出ます
make: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' から出ます

インストール

$ sudo make -C build install
make: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' に入ります
make[1]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' に入ります
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' に入ります
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' から出ます
[ 12%] Built target cpu_features
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' に入ります
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' から出ます
[ 33%] Built target mayaqua
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' に入ります
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' から出ます
[ 87%] Built target cedar
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' に入ります
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' から出ます
[ 89%] Built target hamcorebuilder
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' に入ります
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' から出ます
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' に入ります
[ 89%] Building hamcore.se2 archive file...
hamcore.se2 Build Utility
Copyright (c) SoftEther VPN Project. All Rights Reserved.

Src Dir: '/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/'
Dest Filename: '/home/tomoyan/work/SoftEtherVPN/build/hamcore.se2'

Processing...
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/authors.txt: 4327 -> 1808
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/backup_dir_readme.txt: 314 -> 130
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/empty.config: 37 -> 42
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/empty_sevpnclient.config: 1919 -> 867
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/eula.txt: 3587 -> 1671
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/lang.config: 698 -> 409
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/languages.txt: 584 -> 473
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/languages_wine.txt: 260 -> 223
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/legal.txt: 37618 -> 10947
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/openvpn_readme.pdf: 490556 -> 479129
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/openvpn_readme.txt: 13030 -> 5081
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/openvpn_sample.ovpn: 5311 -> 1880
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/root_certs.dat: 400489 -> 275260
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/SOURCES_OF_BINARY_FILES.TXT: 5380 -> 2239
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/strtable_cn.stb: 572389 -> 153795
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/strtable_en.stb: 655422 -> 148721
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/strtable_ja.stb: 820299 -> 158720
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/strtable_ko.stb: 690683 -> 147484
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/strtable_pt_br.stb: 643131 -> 151940
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/strtable_ru.stb: 650365 -> 149839
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/strtable_tw.stb: 562327 -> 154116
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/vpnserver_api_doc.html: 612506 -> 53395
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/vpnweb_sample_cn.htm: 3964 -> 1576
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/vpnweb_sample_en.htm: 3964 -> 1576
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/vpnweb_sample_ja.htm: 4856 -> 1978
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/vpnweb_sample_ko.htm: 4386 -> 1894
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/vpnweb_sample_tw.htm: 3893 -> 1571
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/warning_cn.txt: 30803 -> 11079
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/warning_en.txt: 36296 -> 11401
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/warning_ja.txt: 50698 -> 13122
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/warning_ko.txt: 42927 -> 12154
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/warning_ru.txt: 36157 -> 11376
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/warning_tw.txt: 30756 -> 11147
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/webui/cryptcom.cgi: 1729 -> 865
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/webui/edituser.cgi: 1495 -> 723
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/webui/error.cgi: 279 -> 243
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/webui/hub.cgi: 2633 -> 893
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/webui/license.cgi: 1852 -> 895
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/webui/listener.cgi: 465 -> 329
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/webui/localbridge.cgi: 1876 -> 918
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/webui/login.cgi: 767 -> 499
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/webui/newhub.cgi: 807 -> 473
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/webui/redirect.cgi: 254 -> 177
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/webui/securenat.cgi: 3169 -> 1125
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/webui/server.cgi: 2367 -> 960
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/webui/session.cgi: 979 -> 546
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/webui/user.cgi: 951 -> 533
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/webui/webui.css: 30 -> 38
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/wwwroot/admin/index.html: 259 -> 176
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/wwwroot/admin/README.md: 1148 -> 551
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/wwwroot/admin/default/.gitignore: 14 -> 22
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/wwwroot/admin/default/hub.html: 630 -> 334
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/wwwroot/admin/default/include_footer.html: 102 -> 91
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/wwwroot/admin/default/include_head.html: 683 -> 294
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/wwwroot/admin/default/include_menu.html: 1435 -> 487
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/wwwroot/admin/default/index.html: 2833 -> 1188
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/wwwroot/admin/default/package-lock.json: 166563 -> 37811
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/wwwroot/admin/default/package.json: 581 -> 294
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/wwwroot/admin/default/theme.css: 255 -> 161
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/wwwroot/admin/default/tsconfig.json: 5382 -> 1830
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/wwwroot/admin/default/tsconfig_webpack.json: 5373 -> 1831
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/wwwroot/admin/default/tslint.json: 504 -> 220
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/wwwroot/admin/default/webpack.config.js: 795 -> 368
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/wwwroot/admin/default/.vscode/launch.json: 439 -> 221
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/wwwroot/admin/default/.vscode/settings.json: 78 -> 72
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/wwwroot/admin/default/.vscode/tasks.json: 1154 -> 324
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/wwwroot/admin/default/out_webpack/bundle.js: 2619957 -> 613814
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/wwwroot/admin/default/out_webpack/ts/index.d.ts: 533 -> 252
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/wwwroot/admin/default/out_webpack/ts/index.d.ts.map: 555 -> 242
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/wwwroot/admin/default/out_webpack/ts/main.d.ts: 610 -> 260
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/wwwroot/admin/default/out_webpack/ts/main.d.ts.map: 624 -> 256
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/wwwroot/admin/default/out_webpack/ts/vpnadmin.d.ts: 49 -> 57
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/wwwroot/admin/default/out_webpack/ts/vpnadmin.d.ts.map: 116 -> 98
/home/tomoyan/work/SoftEtherVPN/src/bin/hamcore/wwwroot/admin/default/src/ts/main.ts: 5461 -> 1723
authors.txt: offset: 2997
backup_dir_readme.txt: offset: 4805
empty.config: offset: 4935
empty_sevpnclient.config: offset: 4977
eula.txt: offset: 5844
lang.config: offset: 7515
languages.txt: offset: 7924
languages_wine.txt: offset: 8397
legal.txt: offset: 8620
openvpn_readme.pdf: offset: 19567
openvpn_readme.txt: offset: 498696
openvpn_sample.ovpn: offset: 503777
root_certs.dat: offset: 505657
SOURCES_OF_BINARY_FILES.TXT: offset: 780917
strtable_cn.stb: offset: 783156
strtable_en.stb: offset: 936951
strtable_ja.stb: offset: 1085672
strtable_ko.stb: offset: 1244392
strtable_pt_br.stb: offset: 1391876
strtable_ru.stb: offset: 1543816
strtable_tw.stb: offset: 1693655
vpnserver_api_doc.html: offset: 1847771
vpnweb_sample_cn.htm: offset: 1901166
vpnweb_sample_en.htm: offset: 1902742
vpnweb_sample_ja.htm: offset: 1904318
vpnweb_sample_ko.htm: offset: 1906296
vpnweb_sample_tw.htm: offset: 1908190
warning_cn.txt: offset: 1909761
warning_en.txt: offset: 1920840
warning_ja.txt: offset: 1932241
warning_ko.txt: offset: 1945363
warning_ru.txt: offset: 1957517
warning_tw.txt: offset: 1968893
webui\cryptcom.cgi: offset: 1980040
webui\edituser.cgi: offset: 1980905
webui\error.cgi: offset: 1981628
webui\hub.cgi: offset: 1981871
webui\license.cgi: offset: 1982764
webui\listener.cgi: offset: 1983659
webui\localbridge.cgi: offset: 1983988
webui\login.cgi: offset: 1984906
webui\newhub.cgi: offset: 1985405
webui\redirect.cgi: offset: 1985878
webui\securenat.cgi: offset: 1986055
webui\server.cgi: offset: 1987180
webui\session.cgi: offset: 1988140
webui\user.cgi: offset: 1988686
webui\webui.css: offset: 1989219
wwwroot\admin\default\.gitignore: offset: 1989257
wwwroot\admin\default\.vscode\launch.json: offset: 1989279
wwwroot\admin\default\.vscode\settings.json: offset: 1989500
wwwroot\admin\default\.vscode\tasks.json: offset: 1989572
wwwroot\admin\default\hub.html: offset: 1989896
wwwroot\admin\default\include_footer.html: offset: 1990230
wwwroot\admin\default\include_head.html: offset: 1990321
wwwroot\admin\default\include_menu.html: offset: 1990615
wwwroot\admin\default\index.html: offset: 1991102
wwwroot\admin\default\out_webpack\bundle.js: offset: 1992290
wwwroot\admin\default\out_webpack\ts\index.d.ts: offset: 2606104
wwwroot\admin\default\out_webpack\ts\index.d.ts.map: offset: 2606356
wwwroot\admin\default\out_webpack\ts\main.d.ts: offset: 2606598
wwwroot\admin\default\out_webpack\ts\main.d.ts.map: offset: 2606858
wwwroot\admin\default\out_webpack\ts\vpnadmin.d.ts: offset: 2607114
wwwroot\admin\default\out_webpack\ts\vpnadmin.d.ts.map: offset: 2607171
wwwroot\admin\default\package-lock.json: offset: 2607269
wwwroot\admin\default\package.json: offset: 2645080
wwwroot\admin\default\src\ts\main.ts: offset: 2645374
wwwroot\admin\default\theme.css: offset: 2647097
wwwroot\admin\default\tsconfig.json: offset: 2647258
wwwroot\admin\default\tsconfig_webpack.json: offset: 2649088
wwwroot\admin\default\tslint.json: offset: 2650919
wwwroot\admin\default\webpack.config.js: offset: 2651139
wwwroot\admin\index.html: offset: 2651507
wwwroot\admin\README.md: offset: 2651683
Writing /home/tomoyan/work/SoftEtherVPN/build/hamcore.se2...

Done.
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' から出ます
[ 89%] Built target hamcore-archive-build
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' に入ります
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' から出ます
[ 91%] Built target list_cpu_features
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' に入ります
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' から出ます
[ 93%] Built target vpnserver
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' に入ります
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' から出ます
[ 95%] Built target vpnclient
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' に入ります
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' から出ます
[ 96%] Built target vpnbridge
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' に入ります
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' から出ます
[ 98%] Built target vpncmd
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' に入ります
make[2]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' から出ます
[100%] Built target vpntest
make[1]: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' から出ます
Install the project...
-- Install configuration: "RelWithDebInfo"

----------------------------------------------------------------------------------------------------------------------------
Build completed successfully.

Execute 'vpnserver start' to run the SoftEther VPN Server background service.
Execute 'vpnbridge start' to run the SoftEther VPN Bridge background service.
Execute 'vpnclient start' to run the SoftEther VPN Client background service.
Execute 'vpncmd' to run the SoftEther VPN Command-Line Utility to configure VPN Server, VPN Bridge or VPN Client.
----------------------------------------------------------------------------------------------------------------------------

-- Installing: /usr/local/lib64/libcedar.so
-- Installing: /usr/local/lib64/libmayaqua.so
-- Installing: /usr/local/lib64/libcpu_features.a
-- Up-to-date: /usr/local/include/cpu_features/cpuinfo_aarch64.h
-- Up-to-date: /usr/local/include/cpu_features/cpuinfo_arm.h
-- Up-to-date: /usr/local/include/cpu_features/cpuinfo_mips.h
-- Up-to-date: /usr/local/include/cpu_features/cpuinfo_ppc.h
-- Up-to-date: /usr/local/include/cpu_features/cpuinfo_x86.h
-- Up-to-date: /usr/local/include/cpu_features/cpu_features_macros.h
-- Installing: /usr/local/bin/list_cpu_features
-- Up-to-date: /usr/local/lib64/cmake/CpuFeatures/CpuFeaturesTargets.cmake
-- Installing: /usr/local/lib64/cmake/CpuFeatures/CpuFeaturesTargets-relwithdebinfo.cmake
-- Up-to-date: /usr/local/lib64/cmake/CpuFeatures/CpuFeaturesConfig.cmake
-- Up-to-date: /usr/local/lib64/cmake/CpuFeatures/CpuFeaturesConfigVersion.cmake
-- Installing: /usr/local/libexec/softether/vpnserver/vpnserver
-- Set runtime path of "/usr/local/libexec/softether/vpnserver/vpnserver" to ""
-- Installing: /usr/local/libexec/softether/vpnserver/hamcore.se2
-- Installing: /usr/local/bin/vpnserver
-- Installing: /lib/systemd/system/softether-vpnserver.service
-- Installing: /usr/local/libexec/softether/vpnclient/vpnclient
-- Set runtime path of "/usr/local/libexec/softether/vpnclient/vpnclient" to ""
-- Installing: /usr/local/libexec/softether/vpnclient/hamcore.se2
-- Installing: /usr/local/bin/vpnclient
-- Installing: /lib/systemd/system/softether-vpnclient.service
-- Installing: /usr/local/libexec/softether/vpnbridge/vpnbridge
-- Set runtime path of "/usr/local/libexec/softether/vpnbridge/vpnbridge" to ""
-- Installing: /usr/local/libexec/softether/vpnbridge/hamcore.se2
-- Installing: /usr/local/bin/vpnbridge
-- Installing: /lib/systemd/system/softether-vpnbridge.service
-- Installing: /usr/local/libexec/softether/vpncmd/vpncmd
-- Set runtime path of "/usr/local/libexec/softether/vpncmd/vpncmd" to ""
-- Installing: /usr/local/libexec/softether/vpncmd/hamcore.se2
-- Installing: /usr/local/bin/vpncmd
make: ディレクトリ '/home/tomoyan/work/SoftEtherVPN/build' から出ます

サービスの起動

$ sudo systemctl daemon-reload
$ sudo systemctl start softether-vpnserver.service

トラブルシューティング

SoftEther VPN Server が起動しない (Failed to start SoftEther VPN Server.)

$ sudo systemctl start softether-vpnserver.service
Job for softether-vpnserver.service failed because the control process exited with error code.
See "systemctl status softether-vpnserver.service" and "journalctl -xe" for details.
$ systemctl status softether-vpnserver
● softether-vpnserver.service - SoftEther VPN Server
     Loaded: loaded (/usr/lib/systemd/system/softether-vpnserver.service; enabled; vendor preset: disabled)
     Active: failed (Result: exit-code) since Tue 2020-10-27 09:49:06 JST; 5min ago
    Process: 383413 ExecStart=/usr/local/libexec/softether/vpnserver/vpnserver start (code=exited, status=127)
        CPU: 4ms

10月 27 09:49:06 skv001.monsters-g.com systemd[1]: softether-vpnserver.service: Control process exited, code=exited, st>
10月 27 09:49:06 skv001.monsters-g.com systemd[1]: softether-vpnserver.service: Failed with result 'exit-code'.
10月 27 09:49:06 skv001.monsters-g.com systemd[1]: Failed to start SoftEther VPN Server.
10月 27 09:49:06 skv001.monsters-g.com systemd[1]: softether-vpnserver.service: Scheduled restart job, restart counter >
10月 27 09:49:06 skv001.monsters-g.com systemd[1]: Stopped SoftEther VPN Server.
10月 27 09:49:06 skv001.monsters-g.com systemd[1]: softether-vpnserver.service: Start request repeated too quickly.
10月 27 09:49:06 skv001.monsters-g.com systemd[1]: softether-vpnserver.service: Failed with result 'exit-code'.
10月 27 09:49:06 skv001.monsters-g.com systemd[1]: Failed to start SoftEther VPN Server.

systemdservice 定義を調べる。

$ cat /lib/systemd/system/softether-vpnserver.service
[Unit]
Description=SoftEther VPN Server
After=network.target auditd.service
ConditionPathExists=!/usr/local/libexec/softether/vpnserver/do_not_run

[Service]
Type=forking
TasksMax=16777216
EnvironmentFile=-/usr/local/libexec/softether/vpnserver
ExecStart=/usr/local/libexec/softether/vpnserver/vpnserver start
ExecStop=/usr/local/libexec/softether/vpnserver/vpnserver stop
KillMode=process
Restart=on-failure

# Hardening
PrivateTmp=yes
ProtectHome=yes
ProtectSystem=full
ReadOnlyDirectories=/
ReadWriteDirectories=-/usr/local/libexec/softether/vpnserver
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_BROADCAST CAP_NET_RAW CAP_SYS_NICE CAP_SYSLOG CAP_SETUID

[Install]
WantedBy=multi-user.target

プロセスを直接起動してみる。

$ /usr/local/libexec/softether/vpnserver/vpnserver start
/usr/local/libexec/softether/vpnserver/vpnserver: error while loading shared libraries: libcedar.so: cannot open shared object file: No such file or directory

この問題は SoftEther VPN が共有ライブラリをロードできない問題として報告されている。
libcedar.so not found automatically · Issue #766 · SoftEtherVPN/SoftEtherVPN · GitHub
RPATH handling · Wiki · CMake / Community · GitLab

対処方法

CMake の RPATH を設定するように SoftEtherVPN/CMakeLists.txt を修正して再ビルド&再インストールを行う。

$ cp CMakeLists.txt CMakeLists.txt.org
$ vi CMakeLists.txt
CMakeLists.txt
if(NOT ${PROJECT_VERSION} VERSION_EQUAL "${CurrentBuild_MAJOR}.${CurrentBuild_MINOR}.${CurrentBuild_BUILD}")
  message (FATAL_ERROR "PROJECT_VERSION does not match to src/CurrentBuild.txt")
endif()
 
if(UNIX)
  include(GNUInstallDirs)
 
  include(CheckIncludeFile)
  Check_Include_File(sys/auxv.h HAVE_SYS_AUXV)
  if(EXISTS "/lib/systemd/system")
    set(CMAKE_INSTALL_SYSTEMD_UNITDIR "/lib/systemd/system" CACHE STRING "Where to install systemd unit files")
  endif()
endif()


CMakeLists.txt
if(NOT ${PROJECT_VERSION} VERSION_EQUAL "${CurrentBuild_MAJOR}.${CurrentBuild_MINOR}.${CurrentBuild_BUILD}")
  message (FATAL_ERROR "PROJECT_VERSION does not match to src/CurrentBuild.txt")
endif()
 
if(UNIX)
  include(GNUInstallDirs)
  set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}")
 
  include(CheckIncludeFile)
  Check_Include_File(sys/auxv.h HAVE_SYS_AUXV)
  if(EXISTS "/lib/systemd/system")
    set(CMAKE_INSTALL_SYSTEMD_UNITDIR "/lib/systemd/system" CACHE STRING "Where to install systemd unit files")
  endif()
endif()

include(GNUInstallDirs) の次の行に
set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}") を追記する。

build ディレクトリを再作成する。

$ rm -rf build
$ ./configure

再ビルド&再インストールする。

$ make -C build
$ sudo make -C build install

サービスを起動してステータスを確認する。

$ sudo systemctl daemon-reload
$ sudo systemctl start softether-vpnserver.service
$ systemctl status softether-vpnserver.service
● softether-vpnserver.service - SoftEther VPN Server
     Loaded: loaded (/usr/lib/systemd/system/softether-vpnserver.service; enabled; vendor preset: disabled)
     Active: active (running) since Wed 2020-10-28 11:23:32 JST; 15s ago
    Process: 429798 ExecStart=/usr/local/libexec/softether/vpnserver/vpnserver start (code=exited, status=0/SUCCESS)
   Main PID: 429800 (vpnserver)
      Tasks: 32 (limit: 16777216)
     Memory: 26.8M
        CPU: 451ms
     CGroup: /system.slice/softether-vpnserver.service
             ├─429800 /usr/local/libexec/softether/vpnserver/vpnserver execsvc
             └─429801 /usr/local/libexec/softether/vpnserver/vpnserver execsvc

10月 28 11:23:32 skv001.monsters-g.com systemd[1]: Starting SoftEther VPN Server...
10月 28 11:23:32 skv001.monsters-g.com vpnserver[429798]: The SoftEther VPN Server service has been started.
10月 28 11:23:32 skv001.monsters-g.com systemd[1]: Started SoftEther VPN Server.
linux/softether_vpn/build.txt · 最終更新: 2020/10/28 12:06 by ともやん