<div dir="ltr">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>