Trying to build kamailio on Amazon Linux 2023.
The json-c-devel package was installed,
Unlike older versions of json, the json.h is located here:
/usr/include/json-c/json.h
This is correctly identified by pkg-config:
# pkg-config --cflags json-c
-I/usr/include/json-c
Kamailio source code was installed under:
/usr/local/src/kamailio
Build directory:
/usr/local/src/kamailio_build
Configure the build:
# cmake -S /usr/local/src/kamailio -B /usr/local/src/kamailio_build
-DINCLUDE_MODULES="json" -DEXCLUDE_MODULES="async auth benchmark blst
cfg_rpc cfgutils corex counters ctl debugger diversion enum exec ipops kex
mangler maxfwd mediaproxy mqueue nat_traversal nathelper path pike pv
ratelimit rr rtimer rtpproxy sanity sdpops siputils sl statistics textops
textopsx tm tmx topoh xlog rtpengine stun sipt tcpops auth_xkeys smsops
tsilo cfgt statsc topos topos_htable sipdump pv_headers kemix avp
auth_diameter call_control call_obj dmq domainpolicy msrp carrierroute pdb
qos sca seas sms sst timer tmrec uac_redirect xhttp xhttp_rpc xprint
jsonrpcs nosip dmq_usrloc statsd rtjson log_custom keepalive ss7ops
acc_diameter evrexec file_out sipjson lrkproxy math posops xhttp_prom dlgs
sworker influxdbc acc alias_db auth_db avpops cfg_db db_text db_flatstore
db_cluster dialog dispatcher domain drouting group htable imc matrix
mohqueue msilo mtree p_usrloc pdt permissions pipelimit prefix_route
registrar sipcapture siptrace speeddial sqlops uac uri_db userblocklist
usrloc secfilter db2_ops uid_auth_db uid_avp_db uid_domain uid_gflags
uid_uri_db misctest app_jsdt" -DVERBOSE=ON
-- The C compiler identification is GNU 11.4.1
-- The CXX compiler identification is GNU 11.4.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- PROJECT_VERSION: 6.0.0
-- RELEASE: 6.0.0-pre0
-- VERSIONVAL: 6000000
-- Setting build type to 'Debug' as none was specified.
-- OS: Linux
-- OS version: 6.1.119-129.201.amzn2023.x86_64
-- Host Processor: x86_64
-- Target Processor: x86_64
-- Target Processor Alias: x86_64
-- Fast lock available: YES
-- Configuring for Linux
-- Cross compile: FALSE
-- CMAKE_INSTALL_PREFIX: /usr/local
-- CMAKE_INSTALL_LIBDIR: /usr/local/lib64
-- CMAKE_INSTALL_BINDIR: /usr/local/bin
-- CMAKE_INSTALL_SBINDIR: /usr/local/sbin
-- CMAKE_INSTALL_SYSCONFDIR: /usr/local/etc
-- CMAKE_INSTALL_LOCALSTATEDIR:/usr/local/var/run/kamailio
-- CMAKE_INSTALL_DATADIR: /usr/local/share
-- CMAKE_INSTALL_DOCDIR: /usr/local/share/doc/kamailio
-- CMAKE_INSTALL_MANDIR: /usr/local/share/man
-- CMAKE_C_COMPILER: /usr/bin/cc
-- CMAKE_C_COMPILER_ID: GNU
-- CMAKE_C_COMPILER_VERSION: 11.4.1
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Compile definitions for common:
FAST_LOCK;ADAPTIVE_WAIT;ADAPTIVE_WAIT_LOOPS=1024;USE_TCP;USE_TLS;TLS_HOOKS;USE_NAPTR;USE_DNS_CACHE;F_MALLOC;Q_MALLOC;TLSF_MALLOC;MALLOC_STATS;DBG_SR_MEMORY;USE_DNS_FAILOVER;USE_DST_BLOCKLIST;HAVE_RESOLV_RES;USE_MCAST;DISABLE_NAGLE;DNS_IP_HACK;SHM_MMAP;PKG_MALLOC;RAW_SOCKS;KSR_PTHREAD_MUTEX_SHARED;FMSTATS;KMSTATS;HAVE_GETHOSTBYNAME2;HAVE_UNION_SEMUN;HAVE_SCHED_YIELD;HAVE_MSG_NOSIGNAL;HAVE_MSGHDR_MSG_CONTROL;HAVE_ALLOCA_H;HAVE_TIMEGM;HAVE_SCHED_SETSCHEDULER;HAVE_IP_MREQN;USE_RAW_SOCKS;HAVE_SELECT;HAVE_EPOLL;HAVE_SIGIO_RT;SIGINFO64_WORKAROUND;NAME="kamailio";VERSION="6.0.0-pre0";ARCH="x86_64";OS=Linux;OS_QUOTED="Linux";COMPILER="gcc
11.4.1";__CPU_x86_64;__OS_linux;VERSIONVAL=6000000;CFG_DIR="/usr/local/etc/kamailio/";SHARE_DIR="/usr/local/share/kamailio/";RUN_DIR="/run/kamailio";$<$<BOOL:ON>:USE_SCTP>;$<$<BOOL:ON>:STATISTICS>
-- Compile options for common: MY_INTERFACE_OPTIONS-NOTFOUND
-- Found FLEX: /usr/bin/flex (found version "2.6.4")
-- Found BISON: /usr/bin/bison (found version "3.7.4")
-- Found LibXml2: /usr/lib64/libxml2.so (found version "2.10.4")
-- Building groups: DEFAULT
-- xsltproc or lynx not found but required for doc generation.
-- DOCS_XSL_VAIDATION=OFFDisabling xsl validation when generating
documentation
-- Extra modules (if module already included already from group is ignored):
json
-- Excluded modules (exlcude even if in included modules):
async;auth;benchmark;blst;cfg_rpc;cfgutils;corex;counters;ctl;debugger;diversion;enum;exec;ipops;kex;mangler;maxfwd;mediaproxy;mqueue;nat_traversal;nathelper;path;pike;pv;ratelimit;rr;rtimer;rtpproxy;sanity;sdpops;siputils;sl;statistics;textops;textopsx;tm;tmx;topoh;xlog;rtpengine;stun;sipt;tcpops;auth_xkeys;smsops;tsilo;cfgt;statsc;topos;topos_htable;sipdump;pv_headers;kemix;avp;auth_diameter;call_control;call_obj;dmq;domainpolicy;msrp;carrierroute;pdb;qos;sca;seas;sms;sst;timer;tmrec;uac_redirect;xhttp;xhttp_rpc;xprint;jsonrpcs;nosip;dmq_usrloc;statsd;rtjson;log_custom;keepalive;ss7ops;acc_diameter;evrexec;file_out;sipjson;lrkproxy;math;posops;xhttp_prom;dlgs;sworker;influxdbc;acc;alias_db;auth_db;avpops;cfg_db;db_text;db_flatstore;db_cluster;dialog;dispatcher;domain;drouting;group;htable;imc;matrix;mohqueue;msilo;mtree;p_usrloc;pdt;permissions;pipelimit;prefix_route;registrar;sipcapture;siptrace;speeddial;sqlops;uac;uri_db;userblocklist;usrloc;secfilter;db2_ops;uid_auth_db;uid_avp_db;uid_domain;uid_gflags;uid_uri_db;misctest;app_jsdt
-- Modules in MODULE_GROUP_DEFAULT:
async;auth;benchmark;blst;cfg_rpc;cfgutils;corex;counters;ctl;debugger;diversion;enum;exec;ipops;kex;mangler;maxfwd;mediaproxy;mqueue;nat_traversal;nathelper;path;pike;pv;ratelimit;rr;rtimer;rtpproxy;sanity;sdpops;siputils;sl;statistics;textops;textopsx;tm;tmx;topoh;xlog;rtpengine;stun;sipt;tcpops;auth_xkeys;smsops;tsilo;cfgt;statsc;topos;topos_htable;sipdump;pv_headers;kemix;avp;auth_diameter;call_control;call_obj;dmq;domainpolicy;msrp;carrierroute;pdb;qos;sca;seas;sms;sst;timer;tmrec;uac_redirect;xhttp;xhttp_rpc;xprint;jsonrpcs;nosip;dmq_usrloc;statsd;rtjson;log_custom;keepalive;ss7ops;acc_diameter;evrexec;file_out;sipjson;lrkproxy;math;posops;xhttp_prom;dlgs;sworker;influxdbc;acc;alias_db;auth_db;avpops;cfg_db;db_text;db_flatstore;db_cluster;dialog;dispatcher;domain;drouting;group;htable;imc;matrix;mohqueue;msilo;mtree;p_usrloc;pdt;permissions;pipelimit;prefix_route;registrar;sipcapture;siptrace;speeddial;sqlops;uac;uri_db;userblocklist;usrloc;secfilter;db2_ops;uid_auth_db;uid_avp_db;uid_domain;uid_gflags;uid_uri_db;misctest;app_jsdt
-- Module async is excluded. Skipping...
-- Module auth is excluded. Skipping...
-- Module benchmark is excluded. Skipping...
-- Module blst is excluded. Skipping...
-- Module cfg_rpc is excluded. Skipping...
-- Module cfgutils is excluded. Skipping...
-- Module corex is excluded. Skipping...
-- Module counters is excluded. Skipping...
-- Module ctl is excluded. Skipping...
-- Module debugger is excluded. Skipping...
-- Module diversion is excluded. Skipping...
-- Module enum is excluded. Skipping...
-- Module exec is excluded. Skipping...
-- Module ipops is excluded. Skipping...
-- Module kex is excluded. Skipping...
-- Module mangler is excluded. Skipping...
-- Module maxfwd is excluded. Skipping...
-- Module mediaproxy is excluded. Skipping...
-- Module mqueue is excluded. Skipping...
-- Module nat_traversal is excluded. Skipping...
-- Module nathelper is excluded. Skipping...
-- Module path is excluded. Skipping...
-- Module pike is excluded. Skipping...
-- Module pv is excluded. Skipping...
-- Module ratelimit is excluded. Skipping...
-- Module rr is excluded. Skipping...
-- Module rtimer is excluded. Skipping...
-- Module rtpproxy is excluded. Skipping...
-- Module sanity is excluded. Skipping...
-- Module sdpops is excluded. Skipping...
-- Module siputils is excluded. Skipping...
-- Module sl is excluded. Skipping...
-- Module statistics is excluded. Skipping...
-- Module textops is excluded. Skipping...
-- Module textopsx is excluded. Skipping...
-- Module tm is excluded. Skipping...
-- Module tmx is excluded. Skipping...
-- Module topoh is excluded. Skipping...
-- Module xlog is excluded. Skipping...
-- Module rtpengine is excluded. Skipping...
-- Module stun is excluded. Skipping...
-- Module sipt is excluded. Skipping...
-- Module tcpops is excluded. Skipping...
-- Module auth_xkeys is excluded. Skipping...
-- Module smsops is excluded. Skipping...
-- Module tsilo is excluded. Skipping...
-- Module cfgt is excluded. Skipping...
-- Module statsc is excluded. Skipping...
-- Module topos is excluded. Skipping...
-- Module topos_htable is excluded. Skipping...
-- Module sipdump is excluded. Skipping...
-- Module pv_headers is excluded. Skipping...
-- Module kemix is excluded. Skipping...
-- Module avp is excluded. Skipping...
-- Module auth_diameter is excluded. Skipping...
-- Module call_control is excluded. Skipping...
-- Module call_obj is excluded. Skipping...
-- Module dmq is excluded. Skipping...
-- Module domainpolicy is excluded. Skipping...
-- Module msrp is excluded. Skipping...
-- Module carrierroute is excluded. Skipping...
-- Module pdb is excluded. Skipping...
-- Module qos is excluded. Skipping...
-- Module sca is excluded. Skipping...
-- Module seas is excluded. Skipping...
-- Module sms is excluded. Skipping...
-- Module sst is excluded. Skipping...
-- Module timer is excluded. Skipping...
-- Module tmrec is excluded. Skipping...
-- Module uac_redirect is excluded. Skipping...
-- Module xhttp is excluded. Skipping...
-- Module xhttp_rpc is excluded. Skipping...
-- Module xprint is excluded. Skipping...
-- Module jsonrpcs is excluded. Skipping...
-- Module nosip is excluded. Skipping...
-- Module dmq_usrloc is excluded. Skipping...
-- Module statsd is excluded. Skipping...
-- Module rtjson is excluded. Skipping...
-- Module log_custom is excluded. Skipping...
-- Module keepalive is excluded. Skipping...
-- Module ss7ops is excluded. Skipping...
-- Module acc_diameter is excluded. Skipping...
-- Module evrexec is excluded. Skipping...
-- Module file_out is excluded. Skipping...
-- Module sipjson is excluded. Skipping...
-- Module lrkproxy is excluded. Skipping...
-- Module math is excluded. Skipping...
-- Module posops is excluded. Skipping...
-- Module xhttp_prom is excluded. Skipping...
-- Module dlgs is excluded. Skipping...
-- Module sworker is excluded. Skipping...
-- Module influxdbc is excluded. Skipping...
-- Module acc is excluded. Skipping...
-- Module alias_db is excluded. Skipping...
-- Module auth_db is excluded. Skipping...
-- Module avpops is excluded. Skipping...
-- Module cfg_db is excluded. Skipping...
-- Module db_text is excluded. Skipping...
-- Module db_flatstore is excluded. Skipping...
-- Module db_cluster is excluded. Skipping...
-- Module dialog is excluded. Skipping...
-- Module dispatcher is excluded. Skipping...
-- Module domain is excluded. Skipping...
-- Module drouting is excluded. Skipping...
-- Module group is excluded. Skipping...
-- Module htable is excluded. Skipping...
-- Module imc is excluded. Skipping...
-- Module matrix is excluded. Skipping...
-- Module mohqueue is excluded. Skipping...
-- Module msilo is excluded. Skipping...
-- Module mtree is excluded. Skipping...
-- Module p_usrloc is excluded. Skipping...
-- Module pdt is excluded. Skipping...
-- Module permissions is excluded. Skipping...
-- Module pipelimit is excluded. Skipping...
-- Module prefix_route is excluded. Skipping...
-- Module registrar is excluded. Skipping...
-- Module sipcapture is excluded. Skipping...
-- Module siptrace is excluded. Skipping...
-- Module speeddial is excluded. Skipping...
-- Module sqlops is excluded. Skipping...
-- Module uac is excluded. Skipping...
-- Module uri_db is excluded. Skipping...
-- Module userblocklist is excluded. Skipping...
-- Module usrloc is excluded. Skipping...
-- Module secfilter is excluded. Skipping...
-- Module db2_ops is excluded. Skipping...
-- Module uid_auth_db is excluded. Skipping...
-- Module uid_avp_db is excluded. Skipping...
-- Module uid_domain is excluded. Skipping...
-- Module uid_gflags is excluded. Skipping...
-- Module uid_uri_db is excluded. Skipping...
-- Module misctest is excluded. Skipping...
-- Module app_jsdt is excluded. Skipping...
-- Modules to be built: json
-- xsltproc is not found. Skip dbschema target.
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.0")
-- Checking for module 'readline'
-- Found readline, version 8.1
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/local/src/kamailio_build
Building:
# cmake --build /usr/local/src/kamailio_build
/usr/bin/cmake -S/usr/local/src/kamailio -B/usr/local/src/kamailio_build
--check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start
/usr/local/src/kamailio_build/CMakeFiles
/usr/local/src/kamailio_build//CMakeFiles/progress.marks
/usr/bin/gmake -f CMakeFiles/Makefile2 all
gmake[1]: Entering directory '/usr/local/src/kamailio_build'
/usr/bin/gmake -f src/core/CMakeFiles/GenerateParser.dir/build.make
src/core/CMakeFiles/GenerateParser.dir/depend
gmake[2]: Entering directory '/usr/local/src/kamailio_build'
cd /usr/local/src/kamailio_build && /usr/bin/cmake -E cmake_depends "Unix
Makefiles" /usr/local/src/kamailio /usr/local/src/kamailio/src/core
/usr/local/src/kamailio_build /usr/local/src/kamailio_build/src/core
/usr/local/src/kamailio_build/src/core/CMakeFiles/GenerateParser.dir/DependInfo.cmake
--color=
gmake[2]: Leaving directory '/usr/local/src/kamailio_build'
/usr/bin/gmake -f src/core/CMakeFiles/GenerateParser.dir/build.make
src/core/CMakeFiles/GenerateParser.dir/build
gmake[2]: Entering directory '/usr/local/src/kamailio_build'
[ 0%] Generating cfg.tab.c and cfg.tab.h from cfg.y
cd /usr/local/src/kamailio_build/src/core && /usr/bin/bison -d -b cfg -o
/usr/local/src/kamailio_build/src/core/cfg.tab.c
/usr/local/src/kamailio/src/core/cfg.y
[ 1%] Generating lex.yy.c from cfg.lex
cd /usr/local/src/kamailio_build/src/core && /usr/bin/flex -o
/usr/local/src/kamailio_build/src/core/lex.yy.c
/usr/local/src/kamailio/src/core/cfg.lex
[ 1%] Generating parser source files
gmake[2]: Leaving directory '/usr/local/src/kamailio_build'
[ 1%] Built target GenerateParser
/usr/bin/gmake -f src/CMakeFiles/kamailio.dir/build.make
src/CMakeFiles/kamailio.dir/depend
gmake[2]: Entering directory '/usr/local/src/kamailio_build'
cd /usr/local/src/kamailio_build && /usr/bin/cmake -E cmake_depends "Unix
Makefiles" /usr/local/src/kamailio /usr/local/src/kamailio/src
/usr/local/src/kamailio_build /usr/local/src/kamailio_build/src
/usr/local/src/kamailio_build/src/CMakeFiles/kamailio.dir/DependInfo.cmake
--color=
gmake[2]: Leaving directory '/usr/local/src/kamailio_build'
/usr/bin/gmake -f src/CMakeFiles/kamailio.dir/build.make
src/CMakeFiles/kamailio.dir/build
gmake[2]: Entering directory '/usr/local/src/kamailio_build'
[ 2%] Building C object src/CMakeFiles/kamailio.dir/main.c.o
cd /usr/local/src/kamailio_build/src && /usr/bin/cc -DADAPTIVE_WAIT
-DADAPTIVE_WAIT_LOOPS=1024 -DARCH=\"x86_64\" -DCC_GCC_LIKE_ASM
-DCFG_DIR=\"/usr/local/etc/kamailio/\" -DCOMPILER="\"gcc
11.4.1\""
-DDBG_SR_MEMORY -DDISABLE_NAGLE -DDNS_IP_HACK -DFAST_LOCK -DFMSTATS
-DF_MALLOC -DHAVE_ALLOCA_H -DHAVE_EPOLL -DHAVE_GETHOSTBYNAME2
-DHAVE_IP_MREQN -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_MSG_NOSIGNAL
-DHAVE_RESOLV_RES -DHAVE_SCHED_SETSCHEDULER -DHAVE_SCHED_YIELD
-DHAVE_SELECT -DHAVE_SIGIO_RT -DHAVE_TIMEGM -DHAVE_UNION_SEMUN -DKMSTATS
-DKSR_PTHREAD_MUTEX_SHARED -DMALLOC_STATS
-DMODS_DIR=\"/usr/local/lib64/kamailio/modules\" -DNAME=\"kamailio\"
-DOS=Linux -DOS_QUOTED=\"Linux\" -DPKG_MALLOC -DQ_MALLOC -DRAW_SOCKS
-DRUN_DIR=\"/run/kamailio\"
-DSHARE_DIR=\"/usr/local/share/kamailio/\"
-DSHM_MMAP -DSIGINFO64_WORKAROUND -DSTATISTICS -DTLSF_MALLOC -DTLS_HOOKS
-DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLOCKLIST -DUSE_MCAST
-DUSE_NAPTR -DUSE_RAW_SOCKS -DUSE_SCTP -DUSE_TCP -DUSE_TLS
-DVERSION=\"6.0.0-pre0\" -DVERSIONVAL=6000000 -D__CPU_x86_64 -D__OS_linux
-Dkamailio_EXPORTS -I/usr/local/src/kamailio/src/core -g
-ffile-prefix-map=/usr/local/src/kamailio/src/= -Wall -funroll-loops
-Wcast-align -Werror=implicit-function-declaration -Werror=implicit-int
-m64 -minline-all-stringops -falign-loops -ftree-vectorize
-fno-strict-overflow -mtune=generic -std=gnu11 -MD -MT
src/CMakeFiles/kamailio.dir/main.c.o -MF CMakeFiles/kamailio.dir/main.c.o.d
-o CMakeFiles/kamailio.dir/main.c.o -c /usr/local/src/kamailio/src/main.c
...
[ 91%] Linking C executable kamailio
cd /usr/local/src/kamailio_build/src && /usr/bin/cmake -E cmake_link_script
CMakeFiles/kamailio.dir/link.txt --verbose=1
/usr/bin/cc -g -Wl,--export-dynamic -rdynamic -m64
CMakeFiles/kamailio.dir/main.c.o
CMakeFiles/kamailio.dir/lib/ims/ims_getters.c.o
CMakeFiles/kamailio.dir/lib/srdb1/db.c.o
CMakeFiles/kamailio.dir/lib/srdb1/db_id.c.o
CMakeFiles/kamailio.dir/lib/srdb1/db_pool.c.o
CMakeFiles/kamailio.dir/lib/srdb1/db_query.c.o
CMakeFiles/kamailio.dir/lib/srdb1/db_res.c.o
CMakeFiles/kamailio.dir/lib/srdb1/db_row.c.o
CMakeFiles/kamailio.dir/lib/srdb1/db_ut.c.o
CMakeFiles/kamailio.dir/lib/srdb1/db_val.c.o
CMakeFiles/kamailio.dir/lib/srdb2/db.c.o
CMakeFiles/kamailio.dir/lib/srdb2/db_cmd.c.o
CMakeFiles/kamailio.dir/lib/srdb2/db_con.c.o
CMakeFiles/kamailio.dir/lib/srdb2/db_ctx.c.o
CMakeFiles/kamailio.dir/lib/srdb2/db_drv.c.o
CMakeFiles/kamailio.dir/lib/srdb2/db_fld.c.o
CMakeFiles/kamailio.dir/lib/srdb2/db_gen.c.o
CMakeFiles/kamailio.dir/lib/srdb2/db_pool.c.o
CMakeFiles/kamailio.dir/lib/srdb2/db_rec.c.o
CMakeFiles/kamailio.dir/lib/srdb2/db_res.c.o
CMakeFiles/kamailio.dir/lib/srdb2/db_uri.c.o
CMakeFiles/kamailio.dir/lib/trie/dtrie.c.o
CMakeFiles/kamailio.dir/core/action.c.o
CMakeFiles/kamailio.dir/core/async_task.c.o
CMakeFiles/kamailio.dir/core/atomic_ops.c.o
CMakeFiles/kamailio.dir/core/basex.c.o
CMakeFiles/kamailio.dir/core/bit_count.c.o
CMakeFiles/kamailio.dir/core/bit_scan.c.o
CMakeFiles/kamailio.dir/core/cfg/cfg.c.o
CMakeFiles/kamailio.dir/core/cfg/cfg_ctx.c.o
CMakeFiles/kamailio.dir/core/cfg/cfg_script.c.o
CMakeFiles/kamailio.dir/core/cfg/cfg_select.c.o
CMakeFiles/kamailio.dir/core/cfg/cfg_struct.c.o
CMakeFiles/kamailio.dir/core/cfg_core.c.o
CMakeFiles/kamailio.dir/core/cfg_parser.c.o
CMakeFiles/kamailio.dir/core/core_cmd.c.o
CMakeFiles/kamailio.dir/core/counters.c.o
CMakeFiles/kamailio.dir/core/crc.c.o
CMakeFiles/kamailio.dir/core/crypto/md5.c.o
CMakeFiles/kamailio.dir/core/crypto/md5utils.c.o
CMakeFiles/kamailio.dir/core/crypto/rijndael.c.o
CMakeFiles/kamailio.dir/core/crypto/sha256.c.o
CMakeFiles/kamailio.dir/core/crypto/shautils.c.o
CMakeFiles/kamailio.dir/core/daemonize.c.o
CMakeFiles/kamailio.dir/core/data_lump.c.o
CMakeFiles/kamailio.dir/core/data_lump_rpl.c.o
CMakeFiles/kamailio.dir/core/dns_cache.c.o
CMakeFiles/kamailio.dir/core/dns_func.c.o
CMakeFiles/kamailio.dir/core/dprint.c.o
CMakeFiles/kamailio.dir/core/dset.c.o
CMakeFiles/kamailio.dir/core/dst_blocklist.c.o
CMakeFiles/kamailio.dir/core/endianness.c.o
CMakeFiles/kamailio.dir/core/error.c.o
CMakeFiles/kamailio.dir/core/events.c.o
CMakeFiles/kamailio.dir/core/flags.c.o
CMakeFiles/kamailio.dir/core/fmsg.c.o
CMakeFiles/kamailio.dir/core/forward.c.o
CMakeFiles/kamailio.dir/core/hash_func.c.o
CMakeFiles/kamailio.dir/core/id.c.o
CMakeFiles/kamailio.dir/core/io_wait.c.o
CMakeFiles/kamailio.dir/core/ip_addr.c.o
CMakeFiles/kamailio.dir/core/kemi.c.o
CMakeFiles/kamailio.dir/core/kemiexec.c.o
CMakeFiles/kamailio.dir/core/local_timer.c.o
CMakeFiles/kamailio.dir/core/lock_ops.c.o
CMakeFiles/kamailio.dir/core/locking.c.o
CMakeFiles/kamailio.dir/core/lvalue.c.o
CMakeFiles/kamailio.dir/core/mem/f_malloc.c.o
CMakeFiles/kamailio.dir/core/mem/memtest.c.o
CMakeFiles/kamailio.dir/core/mem/pkg.c.o
CMakeFiles/kamailio.dir/core/mem/q_malloc.c.o
CMakeFiles/kamailio.dir/core/mem/shm.c.o
CMakeFiles/kamailio.dir/core/mem/tlsf_malloc.c.o
CMakeFiles/kamailio.dir/core/mod_fix.c.o
CMakeFiles/kamailio.dir/core/modparam.c.o
CMakeFiles/kamailio.dir/core/msg_translator.c.o
CMakeFiles/kamailio.dir/core/nonsip_hooks.c.o
CMakeFiles/kamailio.dir/core/onsend.c.o
CMakeFiles/kamailio.dir/core/parser/contact/contact.c.o
CMakeFiles/kamailio.dir/core/parser/contact/parse_contact.c.o
CMakeFiles/kamailio.dir/core/parser/digest/digest.c.o
CMakeFiles/kamailio.dir/core/parser/digest/digest_parser.c.o
CMakeFiles/kamailio.dir/core/parser/digest/param_parser.c.o
CMakeFiles/kamailio.dir/core/parser/hf.c.o
CMakeFiles/kamailio.dir/core/parser/msg_parser.c.o
CMakeFiles/kamailio.dir/core/parser/parse_addr_spec.c.o
CMakeFiles/kamailio.dir/core/parser/parse_allow.c.o
CMakeFiles/kamailio.dir/core/parser/parse_body.c.o
CMakeFiles/kamailio.dir/core/parser/parse_content.c.o
CMakeFiles/kamailio.dir/core/parser/parse_cseq.c.o
CMakeFiles/kamailio.dir/core/parser/parse_date.c.o
CMakeFiles/kamailio.dir/core/parser/parse_disposition.c.o
CMakeFiles/kamailio.dir/core/parser/parse_diversion.c.o
CMakeFiles/kamailio.dir/core/parser/parse_event.c.o
CMakeFiles/kamailio.dir/core/parser/parse_expires.c.o
CMakeFiles/kamailio.dir/core/parser/parse_fline.c.o
CMakeFiles/kamailio.dir/core/parser/parse_from.c.o
CMakeFiles/kamailio.dir/core/parser/parse_hname2.c.o
CMakeFiles/kamailio.dir/core/parser/parse_identity.c.o
CMakeFiles/kamailio.dir/core/parser/parse_identityinfo.c.o
CMakeFiles/kamailio.dir/core/parser/parse_methods.c.o
CMakeFiles/kamailio.dir/core/parser/parse_nameaddr.c.o
CMakeFiles/kamailio.dir/core/parser/parse_option_tags.c.o
CMakeFiles/kamailio.dir/core/parser/parse_param.c.o
CMakeFiles/kamailio.dir/core/parser/parse_ppi_pai.c.o
CMakeFiles/kamailio.dir/core/parser/parse_privacy.c.o
CMakeFiles/kamailio.dir/core/parser/parse_refer_to.c.o
CMakeFiles/kamailio.dir/core/parser/parse_require.c.o
CMakeFiles/kamailio.dir/core/parser/parse_retry_after.c.o
CMakeFiles/kamailio.dir/core/parser/parse_rpid.c.o
CMakeFiles/kamailio.dir/core/parser/parse_rr.c.o
CMakeFiles/kamailio.dir/core/parser/parse_sipifmatch.c.o
CMakeFiles/kamailio.dir/core/parser/parse_subscription_state.c.o
CMakeFiles/kamailio.dir/core/parser/parse_supported.c.o
CMakeFiles/kamailio.dir/core/parser/parse_to.c.o
CMakeFiles/kamailio.dir/core/parser/parse_uri.c.o
CMakeFiles/kamailio.dir/core/parser/parse_via.c.o
CMakeFiles/kamailio.dir/core/parser/parser_f.c.o
CMakeFiles/kamailio.dir/core/parser/sdp/sdp.c.o
CMakeFiles/kamailio.dir/core/parser/sdp/sdp_helpr_funcs.c.o
CMakeFiles/kamailio.dir/core/pass_fd.c.o
CMakeFiles/kamailio.dir/core/ppcfg.c.o
CMakeFiles/kamailio.dir/core/proxy.c.o CMakeFiles/kamailio.dir/core/pt.c.o
CMakeFiles/kamailio.dir/core/pv_core.c.o
CMakeFiles/kamailio.dir/core/pvapi.c.o
CMakeFiles/kamailio.dir/core/qvalue.c.o
CMakeFiles/kamailio.dir/core/rand/cryptorand.c.o
CMakeFiles/kamailio.dir/core/rand/fastrand.c.o
CMakeFiles/kamailio.dir/core/rand/fortuna/fortuna.c.o
CMakeFiles/kamailio.dir/core/rand/fortuna/random.c.o
CMakeFiles/kamailio.dir/core/rand/isaac/rand.c.o
CMakeFiles/kamailio.dir/core/raw_listener.c.o
CMakeFiles/kamailio.dir/core/raw_sock.c.o
CMakeFiles/kamailio.dir/core/re.c.o
CMakeFiles/kamailio.dir/core/receive.c.o
CMakeFiles/kamailio.dir/core/resolve.c.o
CMakeFiles/kamailio.dir/core/route.c.o
CMakeFiles/kamailio.dir/core/route_struct.c.o
CMakeFiles/kamailio.dir/core/rpc_lookup.c.o
CMakeFiles/kamailio.dir/core/rvalue.c.o
CMakeFiles/kamailio.dir/core/script_cb.c.o
CMakeFiles/kamailio.dir/core/sctp_core.c.o
CMakeFiles/kamailio.dir/core/select.c.o
CMakeFiles/kamailio.dir/core/select_buf.c.o
CMakeFiles/kamailio.dir/core/select_core.c.o
CMakeFiles/kamailio.dir/core/shm_init.c.o
CMakeFiles/kamailio.dir/core/signals.c.o
CMakeFiles/kamailio.dir/core/sip_msg_clone.c.o
CMakeFiles/kamailio.dir/core/sock_ut.c.o
CMakeFiles/kamailio.dir/core/socket_info.c.o
CMakeFiles/kamailio.dir/core/sr_compat.c.o
CMakeFiles/kamailio.dir/core/sr_module.c.o
CMakeFiles/kamailio.dir/core/srapi.c.o CMakeFiles/kamailio.dir/core/str.c.o
CMakeFiles/kamailio.dir/core/str_list.c.o
CMakeFiles/kamailio.dir/core/strutils.c.o
CMakeFiles/kamailio.dir/core/stun.c.o
CMakeFiles/kamailio.dir/core/switch.c.o
CMakeFiles/kamailio.dir/core/tcp_main.c.o
CMakeFiles/kamailio.dir/core/tcp_options.c.o
CMakeFiles/kamailio.dir/core/tcp_read.c.o
CMakeFiles/kamailio.dir/core/tcp_stats.c.o
CMakeFiles/kamailio.dir/core/timer.c.o
CMakeFiles/kamailio.dir/core/timer_proc.c.o
CMakeFiles/kamailio.dir/core/tls_hooks.c.o
CMakeFiles/kamailio.dir/core/tsend.c.o
CMakeFiles/kamailio.dir/core/udp_server.c.o
CMakeFiles/kamailio.dir/core/usr_avp.c.o
CMakeFiles/kamailio.dir/core/ut.c.o
CMakeFiles/kamailio.dir/core/utils/srjson.c.o
CMakeFiles/kamailio.dir/core/utils/sruid.c.o
CMakeFiles/kamailio.dir/core/utils/tmrec.c.o
CMakeFiles/kamailio.dir/core/ver.c.o CMakeFiles/kamailio.dir/core/xavp.c.o
CMakeFiles/kamailio.dir/core/lex.yy.c.o
CMakeFiles/kamailio.dir/core/cfg.tab.c.o -o kamailio -lm -ldl -lresolv
gmake[2]: Leaving directory '/usr/local/src/kamailio_build'
[ 91%] Built target kamailio
/usr/bin/gmake -f src/modules/json/CMakeFiles/json.dir/build.make
src/modules/json/CMakeFiles/json.dir/depend
gmake[2]: Entering directory '/usr/local/src/kamailio_build'
cd /usr/local/src/kamailio_build && /usr/bin/cmake -E cmake_depends "Unix
Makefiles" /usr/local/src/kamailio /usr/local/src/kamailio/src/modules/json
/usr/local/src/kamailio_build
/usr/local/src/kamailio_build/src/modules/json
/usr/local/src/kamailio_build/src/modules/json/CMakeFiles/json.dir/DependInfo.cmake
--color=
gmake[2]: Leaving directory '/usr/local/src/kamailio_build'
/usr/bin/gmake -f src/modules/json/CMakeFiles/json.dir/build.make
src/modules/json/CMakeFiles/json.dir/build
gmake[2]: Entering directory '/usr/local/src/kamailio_build'
[ 92%] Building C object src/modules/json/CMakeFiles/json.dir/json_funcs.c.o
cd /usr/local/src/kamailio_build/src/modules/json && /usr/bin/cc
-DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DARCH=\"x86_64\"
-DCC_GCC_LIKE_ASM -DCFG_DIR=\"/usr/local/etc/kamailio/\"
-DCOMPILER="\"gcc
11.4.1\"" -DDBG_SR_MEMORY -DDISABLE_NAGLE -DDNS_IP_HACK -DFAST_LOCK
-DFMSTATS -DF_MALLOC -DHAVE_ALLOCA_H -DHAVE_EPOLL -DHAVE_GETHOSTBYNAME2
-DHAVE_IP_MREQN -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_MSG_NOSIGNAL
-DHAVE_RESOLV_RES -DHAVE_SCHED_SETSCHEDULER -DHAVE_SCHED_YIELD
-DHAVE_SELECT -DHAVE_SIGIO_RT -DHAVE_TIMEGM -DHAVE_UNION_SEMUN -DKMSTATS
-DKSR_PTHREAD_MUTEX_SHARED -DMALLOC_STATS -DMOD_NAME=\"json\"
-DMOD_NAMEID=json -DNAME=\"kamailio\" -DOS=Linux
-DOS_QUOTED=\"Linux\"
-DPKG_MALLOC -DQ_MALLOC -DRAW_SOCKS -DRUN_DIR=\"/run/kamailio\"
-DSHARE_DIR=\"/usr/local/share/kamailio/\" -DSHM_MMAP
-DSIGINFO64_WORKAROUND -DSTATISTICS -DTLSF_MALLOC -DTLS_HOOKS
-DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLOCKLIST -DUSE_MCAST
-DUSE_NAPTR -DUSE_RAW_SOCKS -DUSE_SCTP -DUSE_TCP -DUSE_TLS
-DVERSION=\"6.0.0-pre0\" -DVERSIONVAL=6000000 -D__CPU_x86_64 -D__OS_linux
-Djson_EXPORTS -g -fPIC
-ffile-prefix-map=/usr/local/src/kamailio/src/modules/json/= -fPIC -Wall
-funroll-loops -Wcast-align -Werror=implicit-function-declaration
-Werror=implicit-int -m64 -minline-all-stringops -falign-loops
-ftree-vectorize -fno-strict-overflow -mtune=generic -std=gnu11 -MD -MT
src/modules/json/CMakeFiles/json.dir/json_funcs.c.o -MF
CMakeFiles/json.dir/json_funcs.c.o.d -o CMakeFiles/json.dir/json_funcs.c.o
-c /usr/local/src/kamailio/src/modules/json/json_funcs.c
/usr/local/src/kamailio/src/modules/json/json_funcs.c:26:10: fatal error:
json.h: No such file or directory
26 | #include <json.h>
| ^~~~~~~~
compilation terminated.
gmake[2]: *** [src/modules/json/CMakeFiles/json.dir/build.make:79:
src/modules/json/CMakeFiles/json.dir/json_funcs.c.o] Error 1
gmake[2]: Leaving directory '/usr/local/src/kamailio_build'
gmake[1]: *** [CMakeFiles/Makefile2:633:
src/modules/json/CMakeFiles/json.dir/all] Error 2
gmake[1]: Leaving directory '/usr/local/src/kamailio_build'
gmake: *** [Makefile:159: all] Error 2
-ovidiu
Show replies by date