I have tried to build a module on CentOS 8 Stream and got an error

CC (gcc) [M auth_identity.so]           auth_crypt.o
CC (gcc) [M auth_identity.so]           auth_dynstr.o
LD (gcc) [M auth_identity.so]           auth_identity.so
Makefile:65: sources = tls_util.c tls_domain.c tls_rand.c tls_map.c tls_cfg.c tls_select.c tls_dump_vf.c tls_init.c tls_bio.c tls_config.c tls_server.c tls_rpc.c tls_ct_wrq.c tls_wolfssl_mod.c tls_verify.c     , auto_gen = , objs = tls_util.o tls_domain.o tls_rand.o tls_map.o tls_cfg.o tls_select.o tls_dump_vf.o tls_init.o tls_bio.o tls_config.o tls_server.o tls_rpc.o tls_ct_wrq.o tls_wolfssl_mod.o tls_verify.o
Makefile:65: sources = tls_util.c tls_domain.c tls_rand.c tls_map.c tls_cfg.c tls_select.c tls_dump_vf.c tls_init.c tls_bio.c tls_config.c tls_server.c tls_rpc.c tls_ct_wrq.c tls_wolfssl_mod.c tls_verify.c     , auto_gen = , objs = tls_util.o tls_domain.o tls_rand.o tls_map.o tls_cfg.o tls_select.o tls_dump_vf.o tls_init.o tls_bio.o tls_config.o tls_server.o tls_rpc.o tls_ct_wrq.o tls_wolfssl_mod.o tls_verify.o
CC (gcc) [M tls_wolfssl.so]             tls_util.o
In file included from tls_util.c:36:
tls_util.h:37:12: error: unknown type name 'SSL'
   char *s, SSL *ssl, tls_domains_cfg_t **tls_domains_cfg)
            ^~~
make[2]: *** [../../Makefile.rules:100: tls_util.o] Error 1
make[1]: *** [Makefile:508: modules] Error 1
make[1]: Leaving directory '/root/rpmbuild/BUILD/kamailio-5.8.0-dev1/src'
make: *** [Makefile:34: every-module] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.y2gQNv (%build)
    Bad exit status from /var/tmp/rpm-tmp.y2gQNv (%build)

I used wolfssl 5.6.3. Should I update to wolfssl 5.6.4?

Hi @sergey-safarov,

I'm facing the same issue when building for CentOS 7.
I'm using the wolfssl-devel package available on kamailio repo: v5.6.3.
Can you please update the version for CentOS 7?


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/pull/3592/c2210681596@github.com>