OpenSSL编译错误+CMake
编译调用出现错误
# warning: gethostbyname is obsolescent, use getnameinfo() instead.
# undefined reference to `getcontext'
# undefined reference to `setcontext'
# undefined reference to `makecontext'
解决方案
#cmake添加如下编译选择
ADD_DEFINITIONS (-DOPENSSL_NO_ASYNC)
ADD_DE
原创
2021-10-18 10:26:46 ·
688 阅读 ·
0 评论