Files
ocs/mss/pps/build_redis.txt
2025-03-03 11:01:26 +08:00

17 lines
866 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
1)ppsm.h: #define OCS_USE_REDIS_DB 1
2)pps/src/main/Makefile
pps_OBJ = ... pps_redis.o
pps_redis.o:pps_redis.c
$(COMPILE.c) -c pps_redis.c $(INCLUDES)
3)pps/src/object/makefile
ar r ... pps_redis.o
4)mss/main/Makefile
-lhiredis
5)gnutls版本不兼容因为diameter没有用到tls所以注释掉这几行tls代码
../../plat/diameter/lib//libdiameter.a(config.o): In function `fd_conf_parse':
/root/build/OCS_CRM/plat/diameter/libfdcore/config.c:473: undefined reference to `gnutls_certificate_get_x509_cas'
/root/build/OCS_CRM/plat/diameter/libfdcore/config.c:474: undefined reference to `gnutls_certificate_get_x509_crls'
../../plat/diameter/lib//libdiameter.a(sctp3436.o): In function `set_sess_transport':
/root/build/OCS_CRM/plat/diameter/libfdcore/sctp3436.c:284: undefined reference to `gnutls_transport_set_lowat'