[sr-dev] Compilation issues with IMS modules

Olle E. Johansson oej at edvina.net
Sat Jan 19 19:36:39 CET 2013


Compiling on FreeBSD. Should IMS moduels really be part of default build?

/O

CC (gcc) [M ims_auth.so]		cxdx_avp.o
cxdx_avp.c: In function 'cxdx_get_capabilities':
cxdx_avp.c:433: warning: format '%lx' expects type 'long unsigned int', but argument 7 has type 'unsigned int'
cxdx_avp.c:433: warning: format '%lx' expects type 'long unsigned int', but argument 5 has type 'unsigned int'
cxdx_avp.c:433: warning: format '%lx' expects type 'long unsigned int', but argument 6 has type 'unsigned int'
cxdx_avp.c:433: warning: format '%lx' expects type 'long unsigned int', but argument 4 has type 'unsigned int'
cxdx_avp.c:433: warning: format '%lx' expects type 'long unsigned int', but argument 4 has type 'unsigned int'
cxdx_avp.c:439: warning: format '%lx' expects type 'long unsigned int', but argument 7 has type 'unsigned int'
cxdx_avp.c:439: warning: format '%lx' expects type 'long unsigned int', but argument 5 has type 'unsigned int'
cxdx_avp.c:439: warning: format '%lx' expects type 'long unsigned int', but argument 6 has type 'unsigned int'
cxdx_avp.c:439: warning: format '%lx' expects type 'long unsigned int', but argument 4 has type 'unsigned int'
cxdx_avp.c:439: warning: format '%lx' expects type 'long unsigned int', but argument 4 has type 'unsigned int'
cxdx_avp.c:445: warning: format '%lx' expects type 'long unsigned int', but argument 7 has type 'unsigned int'
cxdx_avp.c:445: warning: format '%lx' expects type 'long unsigned int', but argument 5 has type 'unsigned int'
cxdx_avp.c:445: warning: format '%lx' expects type 'long unsigned int', but argument 6 has type 'unsigned int'
cxdx_avp.c:445: warning: format '%lx' expects type 'long unsigned int', but argument 4 has type 'unsigned int'
cxdx_avp.c:445: warning: format '%lx' expects type 'long unsigned int', but argument 4 has type 'unsigned int'
CC (gcc) [M ims_auth.so]		cxdx_mar.o
CC (gcc) [M ims_auth.so]		rfc2617.o
CC (gcc) [M ims_auth.so]		stats.o
CC (gcc) [M ims_auth.so]		utils.o
gmake[2]: `libkcore.so.1.0' is up to date.
CC (gcc) [L libkamailio_ims.so.0.1]		ims_getters.o
ims_getters.c: In function 'cscf_get_max_expires':
ims_getters.c:260: warning: dereferencing type-punned pointer will break strict-aliasing rules
ims_getters.c: In function 'cscf_get_last_via':
ims_getters.c:763: warning: format '%lx' expects type 'long unsigned int', but argument 7 has type 'unsigned int'
ims_getters.c:763: warning: format '%lx' expects type 'long unsigned int', but argument 5 has type 'unsigned int'
ims_getters.c:763: warning: format '%lx' expects type 'long unsigned int', but argument 6 has type 'unsigned int'
ims_getters.c:763: warning: format '%lx' expects type 'long unsigned int', but argument 4 has type 'unsigned int'
ims_getters.c:763: warning: format '%lx' expects type 'long unsigned int', but argument 4 has type 'unsigned int'
LD (gcc) [L libkamailio_ims.so.0.1]		libkamailio_ims.so.0.1
LD (gcc) [M ims_auth.so]		ims_auth.so
CC (gcc) [M ims_icscf.so]		cxdx_avp.o
cxdx_avp.c: In function 'cxdx_get_capabilities':
cxdx_avp.c:431: warning: format '%lx' expects type 'long unsigned int', but argument 7 has type 'unsigned int'
cxdx_avp.c:431: warning: format '%lx' expects type 'long unsigned int', but argument 5 has type 'unsigned int'
cxdx_avp.c:431: warning: format '%lx' expects type 'long unsigned int', but argument 6 has type 'unsigned int'
cxdx_avp.c:431: warning: format '%lx' expects type 'long unsigned int', but argument 4 has type 'unsigned int'
cxdx_avp.c:431: warning: format '%lx' expects type 'long unsigned int', but argument 4 has type 'unsigned int'
cxdx_avp.c:437: warning: format '%lx' expects type 'long unsigned int', but argument 7 has type 'unsigned int'
cxdx_avp.c:437: warning: format '%lx' expects type 'long unsigned int', but argument 5 has type 'unsigned int'
cxdx_avp.c:437: warning: format '%lx' expects type 'long unsigned int', but argument 6 has type 'unsigned int'
cxdx_avp.c:437: warning: format '%lx' expects type 'long unsigned int', but argument 4 has type 'unsigned int'
cxdx_avp.c:437: warning: format '%lx' expects type 'long unsigned int', but argument 4 has type 'unsigned int'
cxdx_avp.c:443: warning: format '%lx' expects type 'long unsigned int', but argument 7 has type 'unsigned int'
cxdx_avp.c:443: warning: format '%lx' expects type 'long unsigned int', but argument 5 has type 'unsigned int'
cxdx_avp.c:443: warning: format '%lx' expects type 'long unsigned int', but argument 6 has type 'unsigned int'
cxdx_avp.c:443: warning: format '%lx' expects type 'long unsigned int', but argument 4 has type 'unsigned int'
cxdx_avp.c:443: warning: format '%lx' expects type 'long unsigned int', but argument 4 has type 'unsigned int'
CC (gcc) [M ims_icscf.so]		cxdx_lir.o
In file included from registration.h:49,
                 from mod.h:68,
                 from cxdx_lir.c:51:
scscf_list.h:53:20: warning: values.h: No such file or directory
cxdx_lir.c: In function 'async_cdp_lir_callback':
cxdx_lir.c:181: error: 'MAXINT' undeclared (first use in this function)
cxdx_lir.c:181: error: (Each undeclared identifier is reported only once
cxdx_lir.c:181: error: for each function it appears in.)
gmake[1]: *** [cxdx_lir.o] Error 1
gmake: *** [modules] Error 1
jarl# 




More information about the sr-dev mailing list