[OpenSIPS-Users] Failed builing rev 5182
Joan
aseques at gmail.com
Wed Jan 21 12:10:47 CET 2009
> 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?
>
After some trying I removed the whole svn dir and I did a new checkout
from trunk.
There are errors still, this morning the error was on carrierroute
module, but now with the rev 5185 the error is on drouting module.
This is the affected part:
Compiling drouting.c
gcc -fPIC -DPIC -Wall -g -O2 -Wcast-align -DMOD_NAME='"drouting"'
-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:5185M"' -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 -c drouting.c -o drouting.o
drouting.c:56:19: error: dr_bl.h: No such file or directory
drouting.c:181: error: 'set_dr_bl' undeclared here (not in a function)
drouting.c: In function 'dr_reload_data':
drouting.c:249: warning: implicit declaration of function 'populate_dr_bls'
drouting.c: In function 'dr_init':
drouting.c:333: warning: implicit declaration of function 'init_dr_bls'
drouting.c: In function 'dr_exit':
drouting.c:452: warning: implicit declaration of function 'destroy_dr_bls'
make[3]: *** [drouting.o] Error 1
make[3]: Leaving directory `/root/Sources/opensips_head/modules/drouting'
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
As you can see, it is trying to read the dr_bl.h file which doesn't exist.
Something must be broken in the svn repository, in my drouting.c I've
got a line with:
#include "dr_bl.h"
While in the websvn from sourceforge there's no such line.
This is my svn info output that looks pretty normal:
Path: .
URL: https://opensips.svn.sourceforge.net/svnroot/opensips/trunk/modules/drouting
Repository Root: https://opensips.svn.sourceforge.net/svnroot/opensips
Repository UUID: 689a6050-402a-0410-94f2-e92a70836424
Revision: 5185
Node Kind: directory
Schedule: normal
Last Changed Author: bogdan_iancu
Last Changed Rev: 5185
Last Changed Date: 2009-01-21 10:03:23 +0100 (dc, 21 gen 2009)
More information about the Users
mailing list