Am Mittwoch, 6. Februar 2019, 17:17:45 CET schrieb Federico Cabiddu:
Module: kamailio
Branch: master
Commit: a8e5f411c4ab46b3c418533440e523d69a88aeb7
URL:
https://github.com/kamailio/kamailio/commit/a8e5f411c4ab46b3c418533440e523d
69a88aeb7
Author: Federico Cabiddu <federico.cabiddu(a)gmail.com>
Committer: Federico Cabiddu <federico.cabiddu(a)gmail.com>
Date: 2019-02-06T17:16:18+01:00
http_async_client: add parameters to enable/set tcp keepalive
Hi,
this broke the jenkins auto-build for ubuntu precise distribution. It seems
that the curl does not support this functionality here. The precise
distribution is already end of life, maybe just deactive the auto-build for
it? Otherwise maybe it could be enclosed in an #ifdef.
04:56:57 gcc -fPIC -DPIC -funroll-loops -Wcast-align -m64 -minline-all-
stringops -falign-loops -ftree-vectorize -fno-strict-overflow -mtune=generic -
Wall -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -
Wformat -Wformat-security -Werror=format-security -DVERSION_NODATE -
DNAME='"kamailio"' -DVERSION='"5.3.0-dev2"'
-DARCH='"x86_64"' -DOS='linux_' -
DOS_QUOTED='"linux"' -DCOMPILER='"gcc 4.6.3"'
-D__CPU_x86_64 -D__OS_linux -
DVERSIONVAL=5003000 -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_BLACKLIST -DUSE_NAPTR -DWITH_XAVP
-DMEM_JOIN_FREE -DF_MALLOC -DQ_MALLOC -DTLSF_MALLOC -DDBG_SR_MEMORY -DUSE_TLS
-DTLS_HOOKS -DUSE_CORE_STATS -DSTATISTICS -DMALLOC_STATS -DWITH_AS_SUPPORT -
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_WORKARROUND -DUSE_FUTEX -DHAVE_SELECT -
DMOD_NAME='"http_async_client"' -c http_multi.c -o http_multi.o -MMD
-MP
04:56:57 http_multi.c: In function 'new_request':
04:56:57 http_multi.c:533:3: error: 'CURLOPT_TCP_KEEPALIVE' undeclared (first
use in this function)
04:56:57 http_multi.c:533:3: note: each undeclared identifier is reported only
once for each function it appears in
04:56:57 http_multi.c:536:4: error: 'CURLOPT_TCP_KEEPIDLE' undeclared (first
use in this function)
04:56:57 http_multi.c:541:4: error: 'CURLOPT_TCP_KEEPINTVL' undeclared (first
use in this function)
04:56:58 make[3]: *** [http_multi.o] Error 1
Best regards,
Henning
--
Henning Westerholt -
https://skalatan.de/blog/
Kamailio services -
https://skalatan.de/services
Kamailio security assessment -
https://skalatan.de/de/assessment