srsrsr59 created an issue (kamailio/kamailio#4773)
db_redis won't build with redis cluster support.
Tried both towards latest release (6.1.3) and master branch.
```
[9/9] RUN cd /tmp/src/modules/db_redis && export WITH_HIREDIS_CLUSTER && make
Q=0:
0.250 config.mak included
0.420 make -wC ../.. cfg-defs
0.421 make[1]: Entering directory '/tmp/src'
0.422 normal Makefile.defs exec
0.452 target architecture <x86_64>, host architecture <x86_64>
0.482 making config...
0.489 make[1]: Leaving directory '/tmp/src'
0.491 config.mak included
0.577 make: --libs: No such file or directory
0.591 make: --libs: No such file or directory
0.635 config.mak included
0.725 make: --libs: No such file or directory
0.742 make: --libs: No such file or directory
0.780 gcc -fPIC -DPIC -g -pthread -funroll-loops -Wcast-align -m64
-minline-all-stringops -falign-loops -ftree-vectorize -fno-strict-overflow
-mtune=generic -DKSR_PTHREAD_MUTEX_SHARED -Wall -DNAME='"kamailio"'
-DVERSION='"6.1.3"' -DARCH='"x86_64"' -DOS='linux_' -DOS_QUOTED='"linux"'
-DCOMPILER='"gcc 14.2.0"' -D__CPU_x86_64 -D__OS_linux -DVERSIONVAL=6001003
-DCFG_DIR='"/usr/local/etc/kamailio/"'
-DSHARE_DIR='"/usr/local/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
-I/usr/include/hiredis -D_FILE_OFFSET_BITS=64 -DWITH_SSL
-DWITH_HIREDIS_CLUSTER -I/usr/local/include/hiredis_cluster
-D_FILE_OFFSET_BITS=64 -DWITH_SSL -DMOD_NAME='"db_redis"'
-DMOD_NAMEID='db_redis' -c db_redis_mod.c -o db_redis_mod.o -MMD -MP
0.870 In file included from redis_connection.h:29,
0.870 from redis_table.h:29,
0.870 from db_redis_mod.c:32:
0.870 /usr/local/include/hiredis_cluster/hircluster.h:50:27: error: expected
identifier before numeric constant
0.870 50 | #define REDIS_ROLE_MASTER 1
0.870 | ^
0.870 redis_sentinels.h:48:9: note: in expansion of macro 'REDIS_ROLE_MASTER'
0.870 48 | REDIS_ROLE_MASTER,
0.870 | ^~~~~~~~~~~~~~~~~
0.880 make: *** [../../Makefile.rules:100: db_redis_mod.o] Error 1
```
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4773
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/[email protected]>
_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the
sender!