[OpenSIPS-Users] Failed builing rev 5182
Joan
aseques at gmail.com
Tue Jan 20 22:21:56 CET 2009
2009/1/20 Bogdan-Andrei Iancu <bogdan at voice-system.ro>:
> Hi Joan,
>
> This is strange as indeed, I made some changes in the patches used for debs,
> but it was a fix and the patch applied perfectly for me - I was able to
> generate packages for 1.5.
>
> Are you sure you have updated sources?
>
Yes, I did an "svn up" as usual ...
It seems to me that same patches were applied to the config, but they
couldn't be reverted.
Well, since I didn't have many custom modifications I'm trying with a
new checkout.
This time I get a bit further, but I cannot compile the file
route_fifo.c from carrierroute module. It would seem related to the
changes to mi/mi.h commited on rev 5181
Compiling route_fifo.c
gcc -fPIC -DPIC -Wall -g -O2 -Wcast-align -DMOD_NAME='"carrierroute"'
-DNAME='"opensips"' -DVERSION='"1.5.0dev3-tls"' -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:5182M"' -DUSE_TLS -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/ssl/include -I/usr/local/include
-I/usr/include/openssl -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 `/root/Sources/opensips_head/modules/carrierroute'
make[2]: *** [modules] Error 2
make[2]: Leaving directory `/root/Sources/opensips_head'
make[1]: *** [build-stamp] Error 2
make[1]: Leaving directory `/root/Sources/opensips_head'
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
make: *** [deb] Error 2
Kind regards
More information about the Users
mailing list