Hi @miconda ,
Now it's compiling successfully and kamailio doesn't seem to crash anymore but it's not starting either. Those are the errors from the log file:
``` Nov 28 16:20:26 k1-dev k1-dev[24701]: INFO: nats [nats_mod.c:439]: nats_init_connection(): adding server [nats://192.168.1.1:4222] [1] Nov 28 16:20:26 k1-dev k1-dev[24701]: ERROR: nats [nats_mod.c:458]: nats_init_connection(): could not create nats options [System Error] Nov 28 16:20:26 k1-dev k1-dev[24701]: ERROR: nats [nats_mod.c:232]: init_worker(): failed to init nat connections Nov 28 16:20:26 k1-dev k1-dev[24701]: ERROR: nats [nats_mod.c:348]: mod_child_init(): failed to init struct for worker [0] Nov 28 16:20:26 k1-dev k1-dev[24701]: ERROR: <core> [core/sr_module.c:903]: init_mod_child(): error while initializing module nats (/usr/local/lib64/kamailio/modules/nats.so) (idx: 0 rank: -127 desc: [main]) Nov 28 16:20:26 k1-dev k1-dev[24701]: ERROR: <core> [main.c:1665]: main_loop(): error in init_child(PROC_INT) -- exiting Nov 28 16:20:26 k1-dev kamailio: ERROR: <core> [core/daemonize.c:303]: daemonize(): Main process exited before writing to pipe ```
OS: CentOS 7 X64, Kernel: 3.10.0-1160.76.1.el7.x86_64, gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)