I did install libconfuse rpm for centos 5 but
still same compile results
[root@r sip-server]# rpm -qa | grep confuse
*libconfuse-2.5-4.el5*
[root@r sip-server]#
On Thu, Aug 7, 2008 at 3:30 PM, Daniel-Constantin Mierla <
miconda(a)gmail.com> wrote:
You need libconfuse, don't know exactly the
name of the package on
centos.
http://www.kamailio.net/docs/modules/1.3.x/carrierroute.html#AEN53
Cheers,
Daniel
PS. Please note that the new mailing list address is
users(a)lists.kamailio.net
On 08/07/08 22:25, Mouncif Benniane wrote:
I am compiling version openser 1.3.2 on centos
realease 5
getting compile error stooping at carrierroute module see below:
make[1]: Entering directory
`/usr/local/src/openser-1.3.2/sip-server/modules/carrierroute'
make[1]: Leaving directory
`/usr/local/src/openser-1.3.2/sip-server/modules/carrierroute'
make[1]: Entering directory
`/usr/local/src/openser-1.3.2/sip-server/modules/carrierroute'
Compiling carrierroute.c
Compiling carrier_tree.c
Compiling load_data.c
Compiling route_config.c
route_config.c:39:21: error: confuse.h: No such file or directory
route_config.c:50: error: expected declaration specifiers or â...â
before âFILEâ
route_config.c:52: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before â*â token
route_config.c:63: error: expected â)â before â*â token
route_config.c: In function âload_configâ:
route_config.c:81: error: âcfg_tâ undeclared (first use in this
function)
route_config.c:81: error: (Each undeclared identifier is reported only
once
route_config.c:81: error: for each function it appears in.)
route_config.c:81: error: âcfgâ undeclared (first use in this function)
route_config.c:83: error: âdâ undeclared (first use in this function)
route_config.c:83: error: âpâ undeclared (first use in this function)
route_config.c:83: warning: left-hand operand of comma expression has no
effect
route_config.c:83: error: âtâ undeclared (first use in this function)
route_config.c:83: warning: left-hand operand of comma expression has no
effect
route_config.c:93: warning: implicit declaration of function
âparse_configâ
route_config.c:104: warning: implicit declaration of function âcfg_sizeâ
route_config.c:112: warning: implicit declaration of function
âcfg_getnsecâ
route_config.c:113: warning: implicit declaration of function
âcfg_titleâ
route_config.c:113: warning: assignment makes pointer from integer
without a cast
route_config.c:118: warning: assignment makes pointer from integer
without a cast
route_config.c:123: warning: implicit declaration of function
âcfg_getintâ
route_config.c:127: warning: assignment makes pointer from integer
without a cast
route_config.c:132: warning: implicit declaration of function
âcfg_getfloatâ
route_config.c:134: warning: implicit declaration of function
âcfg_getstrâ
route_config.c:134: warning: assignment makes pointer from integer
without a cast
route_config.c:135: warning: assignment makes pointer from integer
without a cast
route_config.c:137: warning: assignment makes pointer from integer
without a cast
route_config.c:145: warning: implicit declaration of function
âcfg_getnintâ
route_config.c:169: warning: implicit declaration of function âcfg_freeâ
route_config.c: At top level:
route_config.c:178: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before â*â token
route_config.c: In function âsave_configâ:
route_config.c:234: error: âFILEâ undeclared (first use in this
function)
route_config.c:234: error: âoutfileâ undeclared (first use in this
function)
route_config.c:241: warning: implicit declaration of function âfopenâ
route_config.c:249: warning: implicit declaration of function âfprintfâ
route_config.c:249: warning: incompatible implicit declaration of
built-in function âfprintfâ
route_config.c:251: error: too many arguments to function
âsave_route_data_recursorâ
route_config.c:257: warning: implicit declaration of function âfcloseâ
route_config.c: At top level:
route_config.c:274: error: expected declaration specifiers or â...â
before âFILEâ
route_config.c: In function âsave_route_data_recursorâ:
route_config.c:280: warning: incompatible implicit declaration of
built-in function âfprintfâ
route_config.c:280: error: âoutfileâ undeclared (first use in this
function)
route_config.c:326: error: too many arguments to function
âsave_route_data_recursorâ
route_config.c: In function âbackup_configâ:
route_config.c:335: error: âFILEâ undeclared (first use in this
function)
route_config.c:335: error: âfromâ undeclared (first use in this
function)
route_config.c:335: error: âtoâ undeclared (first use in this function)
route_config.c:335: warning: left-hand operand of comma expression has
no effect
route_config.c:364: warning: implicit declaration of function âfeofâ
route_config.c:365: warning: implicit declaration of function âfgetcâ
route_config.c:366: warning: implicit declaration of function âferrorâ
route_config.c:370: warning: implicit declaration of function âfputcâ
route_config.c:377: error: âEOFâ undeclared (first use in this function)
make[1]: *** [route_config.o] Error 1
make[1]: Leaving directory
`/usr/local/src/openser-1.3.0/sip-server/modules/carrierroute'
make: *** [modules] Error 2
any ideas? thank you
------------------------------------------------------------------------
_______________________________________________
Users mailing list
Users(a)lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
--
Daniel-Constantin Mierla
http://www.asipto.com
_______________________________________________
Users mailing list
Users(a)lists.kamailio.org