This broke the build on jammy
https://kamailio.sipwise.com/job/kamailiodev-nightly-binaries/architecture=…
**libwolfssl32_5.2.0-2_amd64.deb**
```
gcc -fPIC -DPIC -funroll-loops -Wcast-align -m64 -minline-all-stringops -falign-loops
-ftree-vectorize -fno-strict-overflow -mtune=generic -pthread -DKSR_PTHREAD_MUTEX_SHARED
-Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
-ffile-prefix-map=/build/kamailio-5.8.0~dev2+ubuntu22.04.20240130005413.2609=. -flto=auto
-ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat
-Werror=format-security -DVERSION_NODATE -DNAME='"kamailio"'
-DVERSION='"5.8.0-dev2"' -DARCH='"x86_64"'
-DOS='linux_' -DOS_QUOTED='"linux"' -DCOMPILER='"gcc
11.4.0"' -D__CPU_x86_64 -D__OS_linux -DVERSIONVAL=5008000
-DCFG_DIR='"/etc/kamailio/"'
-DSHARE_DIR='"/usr/share/kamailio/"'
-DRUN_DIR='"/var/run/kamailio/"' -DPKG_MALLOC -DSHM_MMAP -DDNS_IP_HACK
-DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER
-DUSE_DST_BLOCKLIST -DUSE_NAPTR -DMEM_JOIN_FREE -DF_MALLOC -DQ_MALLOC -DTLSF_MALLOC
-DDBG_SR_MEMORY -DUSE_TLS -DTLS_HOOKS -DUSE_CORE_STATS -DSTATISTICS -DMALLOC_STATS
-DUSE_SCTP -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM
-DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL
-DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_SCHED_SETSCHEDULER
-DHAVE_IP_MREQN -DUSE_RAW_SOCKS -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKAROUND
-DUSE_FUTEX -DHAVE_SELECT -DMOD_NAME='"tls_wolfssl"'
-DMOD_NAMEID='tls_wolfssl' -c tls_domain.c -o tls_domain.o -MMD -MP
tls_domain.c: In function 'set_ssl_options':
tls_domain.c:731:19: error: 'WOLFSSL_OP_ALL' undeclared (first use in this
function); did you mean 'SSL_OP_ALL'?
731 | options = WOLFSSL_OP_ALL; /* all the bug workarounds by default */
| ^~~~~~~~~~~~~~
| SSL_OP_ALL
tls_domain.c:731:19: note: each undeclared identifier is reported only once for each
function it appears in
tls_domain.c:732:20: error: 'WOLFSSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION'
undeclared (first use in this function); did you mean
'SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION'?
732 | options |= WOLFSSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION
make[3]: *** [../../Makefile.rules:100: tls_domain.o] Error 1
make[2]: *** [Makefile:508: modules] Error 1
make[2]: Leaving directory
'/build/kamailio-5.8.0~dev2+ubuntu22.04.20240130005413.2609/src'
make[1]: *** [Makefile:34: every-module] Error 2
make[1]: Leaving directory
'/build/kamailio-5.8.0~dev2+ubuntu22.04.20240130005413.2609'
make: *** [debian/rules:133: build_tls_wolfssl] Error 2
```
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/commit/3d0e7521c6de4023b6595685fc30612…
You are receiving this because you are subscribed to this thread.
Message ID:
<kamailio/kamailio/commit/3d0e7521c6de4023b6595685fc306129ef57b8ac/138041657(a)github.com>