jntass / TASSL-1.1.1k

此仓库已停止维护,请移步https://github.com/jntass/TASSL-1.1.1
Other
54 stars 16 forks source link

make failed on Linux and macOS #25

Closed johnshajiang closed 2 years ago

johnshajiang commented 2 years ago

刚才使用最新的代码进行make,出现了如下错误。

crypto/dso/dso_dlfcn.c:101:17: error: use of undeclared identifier 'RTLD_DEEPBIND'
    int flags = DLOPEN_FLAG;
                ^
crypto/dso/dso_dlfcn.c:88:35: note: expanded from macro 'DLOPEN_FLAG'
#  define DLOPEN_FLAG (RTLD_NOW | RTLD_DEEPBIND)  /* Hope this works everywhere else */
                                  ^
1 error generated.
make[1]: *** [crypto/dso/dso_dlfcn.o] Error 1
make: *** [all] Error 2

另外,之前config时可以使用的选项enable-gmssl,现在已经不支持了,那是不是说,默认就开启了gmssl?

is-xuwei commented 2 years ago

同样的错误,macOS 12.3

jntass commented 2 years ago

参考#3

默认就开启了gmssl?

是的

johnshajiang commented 2 years ago

参考 https://github.com/jntass/TASSL-1.1.1k/issues/3 的方法,已经可以成功构建了。