我曾尝试在 SoftEtherVPN github 和他们自己的论坛上寻求帮助,但没有得到任何回复,所以我想这里的 Unix 或 BSD 专家可以加入进来,阐明这个链接阶段出了什么问题。谢谢。干杯
makefile 输出的详细信息如下:
Jays-Mac-mini:SoftEtherVPN_Stable jayko$ make
cc tmp/as/vpnserver.a -O2 -fsigned-char -m64 -lm -lpthread -lssl -lcrypto -liconv
-lreadline -lncurses -lz -lpcap -v -o bin/vpnserver/vpnserver
Apple LLVM version 8.0.0 (clang-800.0.38)
Target: x86_64-apple-darwin16.7.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.x
ctoolchain/usr/bin
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/us
r/bin/ld" -demangle -dynamic -arch x86_64 -macosx_version_min 10.12.0 -o bin/vpnse
rver/vpnserver tmp/as/vpnserver.a -lm -lpthread -lssl -lcrypto -liconv -lreadline
-lncurses -lz -lpcap -lSystem /Applications/Xcode.app/Contents/Developer/Toolchain
s/XcodeDefault.xctoolchain/usr/bin/../lib/clang/8.0.0/lib/darwin/libclang_rt.osx.a
ld: archive has no table of contents file 'tmp/as/vpnserver.a' for architecture x8
6_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [bin/vpnserver/vpnserver] Error 1
Jays-Mac-mini:SoftEtherVPN_Stable jayko$