In an effort to incorporate the Erlang module into my RPM builds, I get the following errors and compilation fails on Fedora 21 X86_64:

make[1]: Entering directory '/builddir/build/BUILD/kamailio-4.2.5/modules/erlang'
Makefile.defs defs skipped
Makefile.defs defs skipped
gcc -fPIC -DPIC -g -funroll-loops -Wcast-align -m64 -minline-all-stringops -falign-loops -ftree-vectorize -fno-strict-overflow -Wall    -DNAME='"kamailio"' -DVERSION='"4.3.0-pre2"' -DARCH='"x86_64"' -DOS='linux_' -DOS_QUOTED='"linux"' -DCOMPILER='"gcc 4.9.2"' -D__CPU_x86_64 -D__OS_linux -DSER_VER=4003000 -DCFG_DIR='"/etc/kamailio/"' -DRUN_DIR='"/var/run/kamailio/"' -DPKG_MALLOC -DSHM_MEM -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 -DF_MALLOC -DDBG_F_MALLOC -DMEM_JOIN_FREE -DUSE_TLS -DTLS_HOOKS -DUSE_CORE_STATS -DSTATISTICS -DMALLOC_STATS -DWITH_AS_SUPPORT -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 -DUSE_RAW_SOCKS -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FU
 TEX -DHA
 VE_SELECT  -I/usr/lib64/erlang/usr/include -DKAMAILIO_MOD_INTERFACE -D_REENTRANT -DMOD_NAME='"erlang"' -c erl_helpers.c -o erl_helpers.o -MMD -MP
gcc -fPIC -DPIC -g -funroll-loops -Wcast-align -m64 -minline-all-stringops -falign-loops -ftree-vectorize -fno-strict-overflow -Wall    -DNAME='"kamailio"' -DVERSION='"4.3.0-pre2"' -DARCH='"x86_64"' -DOS='linux_' -DOS_QUOTED='"linux"' -DCOMPILER='"gcc 4.9.2"' -D__CPU_x86_64 -D__OS_linux -DSER_VER=4003000 -DCFG_DIR='"/etc/kamailio/"' -DRUN_DIR='"/var/run/kamailio/"' -DPKG_MALLOC -DSHM_MEM -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 -DF_MALLOC -DDBG_F_MALLOC -DMEM_JOIN_FREE -DUSE_TLS -DTLS_HOOKS -DUSE_CORE_STATS -DSTATISTICS -DMALLOC_STATS -DWITH_AS_SUPPORT -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 -DUSE_RAW_SOCKS -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FU
 TEX -DHA
 VE_SELECT  -I/usr/lib64/erlang/usr/include -DKAMAILIO_MOD_INTERFACE -D_REENTRANT -DMOD_NAME='"erlang"' -c handle_emsg.c -o handle_emsg.o -MMD -MP
gcc -fPIC -DPIC -g -funroll-loops -Wcast-align -m64 -minline-all-stringops -falign-loops -ftree-vectorize -fno-strict-overflow -Wall    -DNAME='"kamailio"' -DVERSION='"4.3.0-pre2"' -DARCH='"x86_64"' -DOS='linux_' -DOS_QUOTED='"linux"' -DCOMPILER='"gcc 4.9.2"' -D__CPU_x86_64 -D__OS_linux -DSER_VER=4003000 -DCFG_DIR='"/etc/kamailio/"' -DRUN_DIR='"/var/run/kamailio/"' -DPKG_MALLOC -DSHM_MEM -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 -DF_MALLOC -DDBG_F_MALLOC -DMEM_JOIN_FREE -DUSE_TLS -DTLS_HOOKS -DUSE_CORE_STATS -DSTATISTICS -DMALLOC_STATS -DWITH_AS_SUPPORT -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 -DUSE_RAW_SOCKS -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FU
 TEX -DHA
 VE_SELECT  -I/usr/lib64/erlang/usr/include -DKAMAILIO_MOD_INTERFACE -D_REENTRANT -DMOD_NAME='"erlang"' -c handle_rpc.c -o handle_rpc.o -MMD -MP
gcc -fPIC -DPIC -g -funroll-loops -Wcast-align -m64 -minline-all-stringops -falign-loops -ftree-vectorize -fno-strict-overflow -Wall    -DNAME='"kamailio"' -DVERSION='"4.3.0-pre2"' -DARCH='"x86_64"' -DOS='linux_' -DOS_QUOTED='"linux"' -DCOMPILER='"gcc 4.9.2"' -D__CPU_x86_64 -D__OS_linux -DSER_VER=4003000 -DCFG_DIR='"/etc/kamailio/"' -DRUN_DIR='"/var/run/kamailio/"' -DPKG_MALLOC -DSHM_MEM -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 -DF_MALLOC -DDBG_F_MALLOC -DMEM_JOIN_FREE -DUSE_TLS -DTLS_HOOKS -DUSE_CORE_STATS -DSTATISTICS -DMALLOC_STATS -DWITH_AS_SUPPORT -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 -DUSE_RAW_SOCKS -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FU
 TEX -DHA
 VE_SELECT  -I/usr/lib64/erlang/usr/include -DKAMAILIO_MOD_INTERFACE -D_REENTRANT -DMOD_NAME='"erlang"' -c pv_list.c -o pv_list.o -MMD -MP
gcc -fPIC -DPIC -g -funroll-loops -Wcast-align -m64 -minline-all-stringops -falign-loops -ftree-vectorize -fno-strict-overflow -Wall    -DNAME='"kamailio"' -DVERSION='"4.3.0-pre2"' -DARCH='"x86_64"' -DOS='linux_' -DOS_QUOTED='"linux"' -DCOMPILER='"gcc 4.9.2"' -D__CPU_x86_64 -D__OS_linux -DSER_VER=4003000 -DCFG_DIR='"/etc/kamailio/"' -DRUN_DIR='"/var/run/kamailio/"' -DPKG_MALLOC -DSHM_MEM -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 -DF_MALLOC -DDBG_F_MALLOC -DMEM_JOIN_FREE -DUSE_TLS -DTLS_HOOKS -DUSE_CORE_STATS -DSTATISTICS -DMALLOC_STATS -DWITH_AS_SUPPORT -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 -DUSE_RAW_SOCKS -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FU
 TEX -DHA
 VE_SELECT  -I/usr/lib64/erlang/usr/include -DKAMAILIO_MOD_INTERFACE -D_REENTRANT -DMOD_NAME='"erlang"' -c cnode.c -o cnode.o -MMD -MP
gcc -fPIC -DPIC -g -funroll-loops -Wcast-align -m64 -minline-all-stringops -falign-loops -ftree-vectorize -fno-strict-overflow -Wall    -DNAME='"kamailio"' -DVERSION='"4.3.0-pre2"' -DARCH='"x86_64"' -DOS='linux_' -DOS_QUOTED='"linux"' -DCOMPILER='"gcc 4.9.2"' -D__CPU_x86_64 -D__OS_linux -DSER_VER=4003000 -DCFG_DIR='"/etc/kamailio/"' -DRUN_DIR='"/var/run/kamailio/"' -DPKG_MALLOC -DSHM_MEM -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 -DF_MALLOC -DDBG_F_MALLOC -DMEM_JOIN_FREE -DUSE_TLS -DTLS_HOOKS -DUSE_CORE_STATS -DSTATISTICS -DMALLOC_STATS -DWITH_AS_SUPPORT -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 -DUSE_RAW_SOCKS -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FU
 TEX -DHA
 VE_SELECT  -I/usr/lib64/erlang/usr/include -DKAMAILIO_MOD_INTERFACE -D_REENTRANT -DMOD_NAME='"erlang"' -c pv_pid.c -o pv_pid.o -MMD -MP
gcc -fPIC -DPIC -g -funroll-loops -Wcast-align -m64 -minline-all-stringops -falign-loops -ftree-vectorize -fno-strict-overflow -Wall    -DNAME='"kamailio"' -DVERSION='"4.3.0-pre2"' -DARCH='"x86_64"' -DOS='linux_' -DOS_QUOTED='"linux"' -DCOMPILER='"gcc 4.9.2"' -D__CPU_x86_64 -D__OS_linux -DSER_VER=4003000 -DCFG_DIR='"/etc/kamailio/"' -DRUN_DIR='"/var/run/kamailio/"' -DPKG_MALLOC -DSHM_MEM -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 -DF_MALLOC -DDBG_F_MALLOC -DMEM_JOIN_FREE -DUSE_TLS -DTLS_HOOKS -DUSE_CORE_STATS -DSTATISTICS -DMALLOC_STATS -DWITH_AS_SUPPORT -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 -DUSE_RAW_SOCKS -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FU
 TEX -DHA
 VE_SELECT  -I/usr/lib64/erlang/usr/include -DKAMAILIO_MOD_INTERFACE -D_REENTRANT -DMOD_NAME='"erlang"' -c pv_tuple.c -o pv_tuple.o -MMD -MP
gcc -fPIC -DPIC -g -funroll-loops -Wcast-align -m64 -minline-all-stringops -falign-loops -ftree-vectorize -fno-strict-overflow -Wall    -DNAME='"kamailio"' -DVERSION='"4.3.0-pre2"' -DARCH='"x86_64"' -DOS='linux_' -DOS_QUOTED='"linux"' -DCOMPILER='"gcc 4.9.2"' -D__CPU_x86_64 -D__OS_linux -DSER_VER=4003000 -DCFG_DIR='"/etc/kamailio/"' -DRUN_DIR='"/var/run/kamailio/"' -DPKG_MALLOC -DSHM_MEM -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 -DF_MALLOC -DDBG_F_MALLOC -DMEM_JOIN_FREE -DUSE_TLS -DTLS_HOOKS -DUSE_CORE_STATS -DSTATISTICS -DMALLOC_STATS -DWITH_AS_SUPPORT -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 -DUSE_RAW_SOCKS -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FU
 TEX -DHA
 VE_SELECT  -I/usr/lib64/erlang/usr/include -DKAMAILIO_MOD_INTERFACE -D_REENTRANT -DMOD_NAME='"erlang"' -c pv_xbuff.c -o pv_xbuff.o -MMD -MP
gcc -fPIC -DPIC -g -funroll-loops -Wcast-align -m64 -minline-all-stringops -falign-loops -ftree-vectorize -fno-strict-overflow -Wall    -DNAME='"kamailio"' -DVERSION='"4.3.0-pre2"' -DARCH='"x86_64"' -DOS='linux_' -DOS_QUOTED='"linux"' -DCOMPILER='"gcc 4.9.2"' -D__CPU_x86_64 -D__OS_linux -DSER_VER=4003000 -DCFG_DIR='"/etc/kamailio/"' -DRUN_DIR='"/var/run/kamailio/"' -DPKG_MALLOC -DSHM_MEM -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 -DF_MALLOC -DDBG_F_MALLOC -DMEM_JOIN_FREE -DUSE_TLS -DTLS_HOOKS -DUSE_CORE_STATS -DSTATISTICS -DMALLOC_STATS -DWITH_AS_SUPPORT -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 -DUSE_RAW_SOCKS -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FU
 TEX -DHA
 VE_SELECT  -I/usr/lib64/erlang/usr/include -DKAMAILIO_MOD_INTERFACE -D_REENTRANT -DMOD_NAME='"erlang"' -c pv_atom.c -o pv_atom.o -MMD -MP
gcc -fPIC -DPIC -g -funroll-loops -Wcast-align -m64 -minline-all-stringops -falign-loops -ftree-vectorize -fno-strict-overflow -Wall    -DNAME='"kamailio"' -DVERSION='"4.3.0-pre2"' -DARCH='"x86_64"' -DOS='linux_' -DOS_QUOTED='"linux"' -DCOMPILER='"gcc 4.9.2"' -D__CPU_x86_64 -D__OS_linux -DSER_VER=4003000 -DCFG_DIR='"/etc/kamailio/"' -DRUN_DIR='"/var/run/kamailio/"' -DPKG_MALLOC -DSHM_MEM -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 -DF_MALLOC -DDBG_F_MALLOC -DMEM_JOIN_FREE -DUSE_TLS -DTLS_HOOKS -DUSE_CORE_STATS -DSTATISTICS -DMALLOC_STATS -DWITH_AS_SUPPORT -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 -DUSE_RAW_SOCKS -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FU
 TEX -DHA
 VE_SELECT  -I/usr/lib64/erlang/usr/include -DKAMAILIO_MOD_INTERFACE -D_REENTRANT -DMOD_NAME='"erlang"' -c pv_ref.c -o pv_ref.o -MMD -MP
pv_pid.c: In function 'pv_pid_parse_name':
pv_pid.c:60:4: warning: format '%d' expects argument of type 'int', but argument 12 has type 'long int' [-Wformat=]
    LM_ERR("invalid character in var name %.*s at %d\n",STR_FMT(in),p-in->s);
    ^
pv_pid.c:60:4: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
pv_pid.c:60:1218: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
    LM_ERR("invalid character in var name %.*s at %d\n",STR_FMT(in),p-in->s);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
         
                                                                                                                                                                                                                             ^
pv_pid.c:60:1672: warning: format '%d' expects argument of type 'int', but argument 8 has type 'long int' [-Wformat=]
    LM_ERR("invalid character in var name %.*s at %d\n",STR_FMT(in),p-in->s);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
         
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   ^
pv_pid.c:98:4: warning: format '%d' expects argument of type 'int', but argument 12 has type 'long int' [-Wformat=]
    LM_ERR("invalid operator (expected =>) for accessing attribute in token %.*s at position %d\n",STR_FMT(in),p-in->s);
    ^
pv_pid.c:98:4: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
pv_pid.c:98:1304: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
    LM_ERR("invalid operator (expected =>) for accessing attribute in token %.*s at position %d\n",STR_FMT(in),p-in->s);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
         
                                                                                                                                                                                                                                                                                                                   ^
pv_pid.c:98:1801: warning: format '%d' expects argument of type 'int', but argument 8 has type 'long int' [-Wformat=]
    LM_ERR("invalid operator (expected =>) for accessing attribute in token %.*s at position %d\n",STR_FMT(in),p-in->s);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
         
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^
pv_pid.c:106:5: warning: format '%d' expects argument of type 'int', but argument 12 has type 'long int' [-Wformat=]
     LM_ERR("invalid character in attribute name in token %.*s at %d\n",STR_FMT(in),p-in->s);
     ^
pv_pid.c:106:5: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
pv_pid.c:106:1251: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
     LM_ERR("invalid character in attribute name in token %.*s at %d\n",STR_FMT(in),p-in->s);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
         
                                                                                                                                                                                                                                                              ^
pv_pid.c:106:1721: warning: format '%d' expects argument of type 'int', but argument 8 has type 'long int' [-Wformat=]
     LM_ERR("invalid character in attribute name in token %.*s at %d\n",STR_FMT(in),p-in->s);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
         
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^
pv_pid.c:131:3: warning: format '%d' expects argument of type 'int', but argument 12 has type 'long int' [-Wformat=]
   LM_ERR("unexpected token in %.*s at %d\n",STR_FMT(in),p-in->s);
   ^
pv_pid.c:131:3: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
pv_pid.c:131:1199: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
   LM_ERR("unexpected token in %.*s at %d\n",STR_FMT(in),p-in->s);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
         
                                                                                                                                                                                                          ^
pv_pid.c:131:1644: warning: format '%d' expects argument of type 'int', but argument 8 has type 'long int' [-Wformat=]
   LM_ERR("unexpected token in %.*s at %d\n",STR_FMT(in),p-in->s);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
         
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       ^
gcc -fPIC -DPIC -g -funroll-loops -Wcast-align -m64 -minline-all-stringops -falign-loops -ftree-vectorize -fno-strict-overflow -Wall    -DNAME='"kamailio"' -DVERSION='"4.3.0-pre2"' -DARCH='"x86_64"' -DOS='linux_' -DOS_QUOTED='"linux"' -DCOMPILER='"gcc 4.9.2"' -D__CPU_x86_64 -D__OS_linux -DSER_VER=4003000 -DCFG_DIR='"/etc/kamailio/"' -DRUN_DIR='"/var/run/kamailio/"' -DPKG_MALLOC -DSHM_MEM -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 -DF_MALLOC -DDBG_F_MALLOC -DMEM_JOIN_FREE -DUSE_TLS -DTLS_HOOKS -DUSE_CORE_STATS -DSTATISTICS -DMALLOC_STATS -DWITH_AS_SUPPORT -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 -DUSE_RAW_SOCKS -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FU
 TEX -DHA
 VE_SELECT  -I/usr/lib64/erlang/usr/include -DKAMAILIO_MOD_INTERFACE -D_REENTRANT -DMOD_NAME='"erlang"' -c mod_erlang.c -o mod_erlang.o -MMD -MP
erl_helpers.c: In function 'erl_init_ec':
erl_helpers.c:238:6: warning: variable 'port' set but not used [-Wunused-but-set-variable]
  int port;
      ^
gcc -fPIC -DPIC -g -funroll-loops -Wcast-align -m64 -minline-all-stringops -falign-loops -ftree-vectorize -fno-strict-overflow -Wall    -DNAME='"kamailio"' -DVERSION='"4.3.0-pre2"' -DARCH='"x86_64"' -DOS='linux_' -DOS_QUOTED='"linux"' -DCOMPILER='"gcc 4.9.2"' -D__CPU_x86_64 -D__OS_linux -DSER_VER=4003000 -DCFG_DIR='"/etc/kamailio/"' -DRUN_DIR='"/var/run/kamailio/"' -DPKG_MALLOC -DSHM_MEM -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 -DF_MALLOC -DDBG_F_MALLOC -DMEM_JOIN_FREE -DUSE_TLS -DTLS_HOOKS -DUSE_CORE_STATS -DSTATISTICS -DMALLOC_STATS -DWITH_AS_SUPPORT -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 -DUSE_RAW_SOCKS -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FU
 TEX -DHA
 VE_SELECT  -I/usr/lib64/erlang/usr/include -DKAMAILIO_MOD_INTERFACE -D_REENTRANT -DMOD_NAME='"erlang"' -c epmd.c -o epmd.o -MMD -MP
pv_atom.c: In function 'pv_atom_parse_name':
pv_atom.c:57:4: warning: format '%d' expects argument of type 'int', but argument 12 has type 'long int' [-Wformat=]
    LM_ERR("invalid character in var name %.*s at %d\n",STR_FMT(in),p-in->s);
    ^
pv_atom.c:57:4: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
pv_atom.c:57:1220: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
    LM_ERR("invalid character in var name %.*s at %d\n",STR_FMT(in),p-in->s);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
         
                                                                                                                                                                                                                               ^
pv_atom.c:57:1675: warning: format '%d' expects argument of type 'int', but argument 8 has type 'long int' [-Wformat=]
    LM_ERR("invalid character in var name %.*s at %d\n",STR_FMT(in),p-in->s);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
         
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      ^
pv_atom.c:95:4: warning: format '%d' expects argument of type 'int', but argument 12 has type 'long int' [-Wformat=]
    LM_ERR("invalid operator (expected =>) for accessing attribute in token %.*s at position %d\n",STR_FMT(in),p-in->s);
    ^
pv_atom.c:95:4: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
pv_atom.c:95:1306: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
    LM_ERR("invalid operator (expected =>) for accessing attribute in token %.*s at position %d\n",STR_FMT(in),p-in->s);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
         
                                                                                                                                                                                                                                                                                                                     ^
pv_atom.c:95:1804: warning: format '%d' expects argument of type 'int', but argument 8 has type 'long int' [-Wformat=]
    LM_ERR("invalid operator (expected =>) for accessing attribute in token %.*s at position %d\n",STR_FMT(in),p-in->s);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
         
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       ^
pv_atom.c:103:5: warning: format '%d' expects argument of type 'int', but argument 12 has type 'long int' [-Wformat=]
     LM_ERR("invalid character in attribute name in token %.*s at %d\n",STR_FMT(in),p-in->s);
     ^
pv_atom.c:103:5: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
pv_atom.c:103:1253: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
     LM_ERR("invalid character in attribute name in token %.*s at %d\n",STR_FMT(in),p-in->s);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
         
                                                                                                                                                                                                                                                                ^
pv_atom.c:103:1724: warning: format '%d' expects argument of type 'int', but argument 8 has type 'long int' [-Wformat=]
     LM_ERR("invalid character in attribute name in token %.*s at %d\n",STR_FMT(in),p-in->s);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
         
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       ^
pv_atom.c:128:3: warning: format '%d' expects argument of type 'int', but argument 12 has type 'long int' [-Wformat=]
   LM_ERR("unexpected token in %.*s at %d\n",STR_FMT(in),p-in->s);
   ^
pv_atom.c:128:3: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
pv_atom.c:128:1201: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
   LM_ERR("unexpected token in %.*s at %d\n",STR_FMT(in),p-in->s);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
         
                                                                                                                                                                                                            ^
pv_atom.c:128:1647: warning: format '%d' expects argument of type 'int', but argument 8 has type 'long int' [-Wformat=]
   LM_ERR("unexpected token in %.*s at %d\n",STR_FMT(in),p-in->s);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
         
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ^
gcc -fPIC -DPIC -g -funroll-loops -Wcast-align -m64 -minline-all-stringops -falign-loops -ftree-vectorize -fno-strict-overflow -Wall    -DNAME='"kamailio"' -DVERSION='"4.3.0-pre2"' -DARCH='"x86_64"' -DOS='linux_' -DOS_QUOTED='"linux"' -DCOMPILER='"gcc 4.9.2"' -D__CPU_x86_64 -D__OS_linux -DSER_VER=4003000 -DCFG_DIR='"/etc/kamailio/"' -DRUN_DIR='"/var/run/kamailio/"' -DPKG_MALLOC -DSHM_MEM -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 -DF_MALLOC -DDBG_F_MALLOC -DMEM_JOIN_FREE -DUSE_TLS -DTLS_HOOKS -DUSE_CORE_STATS -DSTATISTICS -DMALLOC_STATS -DWITH_AS_SUPPORT -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 -DUSE_RAW_SOCKS -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FU
 TEX -DHA
 VE_SELECT  -I/usr/lib64/erlang/usr/include -DKAMAILIO_MOD_INTERFACE -D_REENTRANT -DMOD_NAME='"erlang"' -c erl_api.c -o erl_api.o -MMD -MP
gcc -fPIC -DPIC -g -funroll-loops -Wcast-align -m64 -minline-all-stringops -falign-loops -ftree-vectorize -fno-strict-overflow -Wall    -DNAME='"kamailio"' -DVERSION='"4.3.0-pre2"' -DARCH='"x86_64"' -DOS='linux_' -DOS_QUOTED='"linux"' -DCOMPILER='"gcc 4.9.2"' -D__CPU_x86_64 -D__OS_linux -DSER_VER=4003000 -DCFG_DIR='"/etc/kamailio/"' -DRUN_DIR='"/var/run/kamailio/"' -DPKG_MALLOC -DSHM_MEM -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 -DF_MALLOC -DDBG_F_MALLOC -DMEM_JOIN_FREE -DUSE_TLS -DTLS_HOOKS -DUSE_CORE_STATS -DSTATISTICS -DMALLOC_STATS -DWITH_AS_SUPPORT -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 -DUSE_RAW_SOCKS -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FU
 TEX -DHA
 VE_SELECT  -I/usr/lib64/erlang/usr/include -DKAMAILIO_MOD_INTERFACE -D_REENTRANT -DMOD_NAME='"erlang"' -c worker.c -o worker.o -MMD -MP
pv_ref.c: In function 'pv_ref_parse_name':
pv_ref.c:60:4: warning: format '%d' expects argument of type 'int', but argument 12 has type 'long int' [-Wformat=]
    LM_ERR("invalid character in var name %.*s at %d\n",STR_FMT(in),p-in->s);
    ^
pv_ref.c:60:4: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
pv_ref.c:60:1218: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
    LM_ERR("invalid character in var name %.*s at %d\n",STR_FMT(in),p-in->s);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
         
                                                                                                                                                                                                                             ^
pv_ref.c:60:1672: warning: format '%d' expects argument of type 'int', but argument 8 has type 'long int' [-Wformat=]
    LM_ERR("invalid character in var name %.*s at %d\n",STR_FMT(in),p-in->s);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
         
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   ^
pv_ref.c:98:4: warning: format '%d' expects argument of type 'int', but argument 12 has type 'long int' [-Wformat=]
    LM_ERR("invalid operator (expected =>) for accessing attribute in token %.*s at position %d\n",STR_FMT(in),p-in->s);
    ^
pv_ref.c:98:4: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
pv_ref.c:98:1304: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
    LM_ERR("invalid operator (expected =>) for accessing attribute in token %.*s at position %d\n",STR_FMT(in),p-in->s);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
         
                                                                                                                                                                                                                                                                                                                   ^
pv_ref.c:98:1801: warning: format '%d' expects argument of type 'int', but argument 8 has type 'long int' [-Wformat=]
    LM_ERR("invalid operator (expected =>) for accessing attribute in token %.*s at position %d\n",STR_FMT(in),p-in->s);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
         
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^
pv_ref.c:106:5: warning: format '%d' expects argument of type 'int', but argument 12 has type 'long int' [-Wformat=]
     LM_ERR("invalid character in attribute name in token %.*s at %d\n",STR_FMT(in),p-in->s);
     ^
pv_ref.c:106:5: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
pv_ref.c:106:1251: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
     LM_ERR("invalid character in attribute name in token %.*s at %d\n",STR_FMT(in),p-in->s);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
         
                                                                                                                                                                                                                                                              ^
pv_ref.c:106:1721: warning: format '%d' expects argument of type 'int', but argument 8 has type 'long int' [-Wformat=]
     LM_ERR("invalid character in attribute name in token %.*s at %d\n",STR_FMT(in),p-in->s);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
         
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^
pv_ref.c:131:3: warning: format '%d' expects argument of type 'int', but argument 12 has type 'long int' [-Wformat=]
   LM_ERR("unexpected token in %.*s at %d\n",STR_FMT(in),p-in->s);
   ^
pv_ref.c:131:3: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
pv_ref.c:131:1199: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
   LM_ERR("unexpected token in %.*s at %d\n",STR_FMT(in),p-in->s);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
         
                                                                                                                                                                                                          ^
pv_ref.c:131:1644: warning: format '%d' expects argument of type 'int', but argument 8 has type 'long int' [-Wformat=]
   LM_ERR("unexpected token in %.*s at %d\n",STR_FMT(in),p-in->s);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
         
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       ^
make[2]: Entering directory '/builddir/build/BUILD/kamailio-4.2.5/lib/kcore'
Makefile.defs defs skipped
pv_xbuff.c: In function 'pv_xbuff_parse_name':
pv_xbuff.c:204:4: warning: format '%d' expects argument of type 'int', but argument 12 has type 'long int' [-Wformat=]
    LM_ERR("invalid character in var name %.*s at %d\n",STR_FMT(in),p-in->s);
    ^
pv_xbuff.c:204:4: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
pv_xbuff.c:204:1224: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
    LM_ERR("invalid character in var name %.*s at %d\n",STR_FMT(in),p-in->s);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
         
                                                                                                                                                                                                                                   ^
pv_xbuff.c:204:1681: warning: format '%d' expects argument of type 'int', but argument 8 has type 'long int' [-Wformat=]
    LM_ERR("invalid character in var name %.*s at %d\n",STR_FMT(in),p-in->s);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
         
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^
pv_xbuff.c:242:4: warning: format '%d' expects argument of type 'int', but argument 12 has type 'long int' [-Wformat=]
    LM_ERR("invalid operator (expected =>) for accessing attribute in token %.*s at position %d\n",STR_FMT(in),p-in->s);
    ^
pv_xbuff.c:242:4: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
pv_xbuff.c:242:1310: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
    LM_ERR("invalid operator (expected =>) for accessing attribute in token %.*s at position %d\n",STR_FMT(in),p-in->s);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
         
                                                                                                                                                                                                                                                                                                                         ^
pv_xbuff.c:242:1810: warning: format '%d' expects argument of type 'int', but argument 8 has type 'long int' [-Wformat=]
    LM_ERR("invalid operator (expected =>) for accessing attribute in token %.*s at position %d\n",STR_FMT(in),p-in->s);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
         
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
pv_xbuff.c:250:5: warning: format '%d' expects argument of type 'int', but argument 12 has type 'long int' [-Wformat=]
     LM_ERR("invalid character in attribute name in token %.*s at %d\n",STR_FMT(in),p-in->s);
     ^
pv_xbuff.c:250:5: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
pv_xbuff.c:250:1255: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
     LM_ERR("invalid character in attribute name in token %.*s at %d\n",STR_FMT(in),p-in->s);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
         
                                                                                                                                                                                                                                                                  ^
pv_xbuff.c:250:1727: warning: format '%d' expects argument of type 'int', but argument 8 has type 'long int' [-Wformat=]
     LM_ERR("invalid character in attribute name in token %.*s at %d\n",STR_FMT(in),p-in->s);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
         
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ^
pv_xbuff.c:279:3: warning: format '%d' expects argument of type 'int', but argument 12 has type 'long int' [-Wformat=]
   LM_ERR("unexpected token in %.*s at %d\n",STR_FMT(in),p-in->s);
   ^
pv_xbuff.c:279:3: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
pv_xbuff.c:279:1203: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
   LM_ERR("unexpected token in %.*s at %d\n",STR_FMT(in),p-in->s);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
         
                                                                                                                                                                                                              ^
pv_xbuff.c:279:1650: warning: format '%d' expects argument of type 'int', but argument 8 has type 'long int' [-Wformat=]
   LM_ERR("unexpected token in %.*s at %d\n",STR_FMT(in),p-in->s);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
         
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
make[2]: 'libkcore.so.1.0' is up to date.
make[2]: Leaving directory '/builddir/build/BUILD/kamailio-4.2.5/lib/kcore'
gcc -shared  -m64 -Wl,-O2 -Wl,-E    handle_emsg.o pv_xbuff.o cnode.o erl_api.o epmd.o erl_helpers.o pv_pid.o pv_atom.o worker.o handle_rpc.o pv_list.o pv_tuple.o pv_ref.o mod_erlang.o  -L/usr/local/lib/erlang/usr/lib -lei -lpthread  -L../../lib/kcore/ -lkcore -Wl,-rpath,/builddir/build/BUILD/kamailio-4.2.5/lib/kcore -o erlang.so
/usr/bin/ld: cannot find -lei
collect2: error: ld returned 1 exit status
../../Makefile.rules:188: recipe for target 'erlang.so' failed
make[1]: Leaving directory '/builddir/build/BUILD/kamailio-4.2.5/modules/erlang'
make[1]: *** [erlang.so] Error 1
Makefile:511: recipe for target 'modules' failed


Reply to this email directly or view it on GitHub.