[Kamailio-Users] Error compiling CARRIERROUTE module

Asim Riaz ariaz78 at gmail.com
Tue Feb 24 19:25:13 CET 2009


Its fixed now.
I made some changes couple of days ago, it removed the packedges required to
compile Kamailio so i couldnt re-compile the module.


Thanks,
Asim

On Tue, Feb 24, 2009 at 2:38 PM, Asim Riaz <ariaz78 at gmail.com> wrote:

> Hello,
> I am trying to compile CARRIERROUTE module, I am getting errors below;
>
> Kamailio 1.4
>
> make prefix=/usr modules=modules/carrierroute modules
>
> make[1]: Entering directory
> `/usr/local/src/kamailio/sip-server/modules/carrierroute'
> Compiling carrierroute.c
> 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='"carrierroute"'    -DNAME='"kamailio"' -DVERSION='"1.4.3-notls"'
> -DARCH='"i386"' -DOS='"linux"' -DCOMPILER='"gcc 4.3.2"' -D__CPU_i386
> -D__OS_linux -D__SMP_yes -DCFG_DIR='"/usr/etc/kamailio/"' -DPKG_MALLOC
> -DSHM_MEM  -DSHM_MMAP -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE
> -DHAVE_RESOLV_RES -DSTATISTICS -DCHANGEABLE_DEBUG_LEVEL -DF_MALLOC
> -DSVNREVISION='"2:5452M"'  -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
> In file included from carrierroute.c:30:
> ../../sr_module.h:48:19: error: dlfcn.h: No such file or directory
> In file included from
> /usr/lib/gcc/i486-linux-gnu/4.3.2/include-fixed/syslimits.h:7,
>                  from
> /usr/lib/gcc/i486-linux-gnu/4.3.2/include-fixed/limits.h:11,
>                  from ../../parser/../flags.h:32,
>                  from ../../parser/msg_parser.h:46,
>                  from ../../sr_module.h:50,
>                  from carrierroute.c:30:
> /usr/lib/gcc/i486-linux-gnu/4.3.2/include-fixed/limits.h:122:61: error:
> limits.h: No such file or directory
> In file included from ../../parser/msg_parser.h:47,
>                  from ../../sr_module.h:50,
>                  from carrierroute.c:30:
> ../../parser/../ip_addr.h:38:20: error: string.h: No such file or directory
> ../../parser/../ip_addr.h:39:23: error: sys/types.h: No such file or
> directory
> ../../parser/../ip_addr.h:40:24: error: sys/socket.h: No such file or
> directory
> ../../parser/../ip_addr.h:41:24: error: netinet/in.h: No such file or
> directory
> ../../parser/../ip_addr.h:42:19: error: netdb.h: No such file or directory
> In file included from ../../parser/../ip_addr.h:46,
>                  from ../../parser/msg_parser.h:47,
>                  from ../../sr_module.h:50,
>                  from carrierroute.c:30:
> ../../parser/../dprint.h:54:20: error: syslog.h: No such file or directory
> ../../parser/../dprint.h:55:18: error: time.h: No such file or directory
> In file included from ../../parser/../ip_addr.h:46,
>                  from ../../parser/msg_parser.h:47,
>                  from ../../sr_module.h:50,
>                  from carrierroute.c:30:
>
> any idea ?
>
>
> Thanks in advance.
>
> Asim
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20090224/f4aa1840/attachment.htm>


More information about the sr-users mailing list