[OpenSIPS-Users] Failed builing rev 5182

Joan aseques at gmail.com
Wed Jan 21 12:46:45 CET 2009


2009/1/21 Bogdan-Andrei Iancu <bogdan at voice-system.ro>:
> Hi Joan,
>
> The compiling of Drouting module should be fixed now - update and try again.
>
Good, I compile again and now drouting is fine. There's still the
error on carrierroute module tough, I cannot compile route_fifo.c
This is the output:

Compiling route_fifo.c
gcc -fPIC -DPIC -Wall -g -O2 -Wcast-align -DMOD_NAME='"carrierroute"'
    -DNAME='"opensips"' -DVERSION='"1.5.0dev3-notls"'
-DARCH='"x86_64"' -DOS='"linux"' -DCOMPILER='"gcc 4.2.4"'
-D__CPU_x86_64 -D__OS_linux -D__SMP_yes -DCFG_DIR='"/etc/opensips/"'
-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:5186M"'
-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/include -c route_fifo.c -o route_fifo.o
In file included from route_fifo.h:55,
                 from route_fifo.c:30:
../../mi/mi.h:80: error: 'NULL' undeclared here (not in a function)
make[3]: *** [route_fifo.o] Error 1
make[3]: Leaving directory `/tmp/opensips_head/modules/carrierroute'
make[2]: *** [modules] Error 2
make[2]: Leaving directory `/tmp/opensips_head'
make[1]: *** [build-stamp] Error 2
make[1]: Leaving directory `/tmp/opensips_head'
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
make: *** [deb] Error 2


Oh, and I am using ubuntu 8.04 with gcc 4.2.4 just in case you need to know.
Kind regards



More information about the Users mailing list