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