Hello,<br>I am trying to compile CARRIERROUTE module, I am getting errors below;<br><br>Kamailio 1.4<br><br>make prefix=/usr modules=modules/carrierroute modules<br><br>make[1]: Entering directory `/usr/local/src/kamailio/sip-server/modules/carrierroute&#39;<br>
Compiling carrierroute.c<br>gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -falign-loops -ftree-vectorize -mtune=prescott -Wold-style-definition -Wmissing-field-initializers -Wredundant-decls -DMOD_NAME=&#39;&quot;carrierroute&quot;&#39;    -DNAME=&#39;&quot;kamailio&quot;&#39; -DVERSION=&#39;&quot;1.4.3-notls&quot;&#39; -DARCH=&#39;&quot;i386&quot;&#39; -DOS=&#39;&quot;linux&quot;&#39; -DCOMPILER=&#39;&quot;gcc 4.3.2&quot;&#39; -D__CPU_i386 -D__OS_linux -D__SMP_yes -DCFG_DIR=&#39;&quot;/usr/etc/kamailio/&quot;&#39; -DPKG_MALLOC -DSHM_MEM  -DSHM_MMAP -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DSTATISTICS -DCHANGEABLE_DEBUG_LEVEL -DF_MALLOC  -DSVNREVISION=&#39;&quot;2:5452M&quot;&#39;  -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024  -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_EPOLL -DHAVE_SIGIO_RT -DHAVE_SELECT -I/usr/local/include -c carrierroute.c -o carrierroute.o<br>
In file included from carrierroute.c:30:<br>../../sr_module.h:48:19: error: dlfcn.h: No such file or directory<br>In file included from /usr/lib/gcc/i486-linux-gnu/4.3.2/include-fixed/syslimits.h:7,<br>                 from /usr/lib/gcc/i486-linux-gnu/4.3.2/include-fixed/limits.h:11,<br>
                 from ../../parser/../flags.h:32,<br>                 from ../../parser/msg_parser.h:46,<br>                 from ../../sr_module.h:50,<br>                 from carrierroute.c:30:<br>/usr/lib/gcc/i486-linux-gnu/4.3.2/include-fixed/limits.h:122:61: error: limits.h: No such file or directory<br>
In file included from ../../parser/msg_parser.h:47,<br>                 from ../../sr_module.h:50,<br>                 from carrierroute.c:30:<br>../../parser/../ip_addr.h:38:20: error: string.h: No such file or directory<br>
../../parser/../ip_addr.h:39:23: error: sys/types.h: No such file or directory<br>../../parser/../ip_addr.h:40:24: error: sys/socket.h: No such file or directory<br>../../parser/../ip_addr.h:41:24: error: netinet/in.h: No such file or directory<br>
../../parser/../ip_addr.h:42:19: error: netdb.h: No such file or directory<br>In file included from ../../parser/../ip_addr.h:46,<br>                 from ../../parser/msg_parser.h:47,<br>                 from ../../sr_module.h:50,<br>
                 from carrierroute.c:30:<br>../../parser/../dprint.h:54:20: error: syslog.h: No such file or directory<br>../../parser/../dprint.h:55:18: error: time.h: No such file or directory<br>In file included from ../../parser/../ip_addr.h:46,<br>
                 from ../../parser/msg_parser.h:47,<br>                 from ../../sr_module.h:50,<br>                 from carrierroute.c:30:<br><br>any idea ? <br><br><br>Thanks in advance.<br><br>Asim<br><br>