[Serusers] Problems compiling SER 0.9.3 with lcr module

Alberto Cruz acruz at tekbrain.com
Tue Jul 5 02:54:46 CEST 2005


Hi I'm trying to compile the lcr backported module from Onsip.org but 
I'm getting the following error:

make[1]: Entering directory `/root/sources/sip_router/modules/lcr'
gcc -fPIC -DPIC -g -O9 -funroll-loops  -Wcast-align  -Wall   
-minline-all-stringops -malign-double -falign-loops -mcpu=athlon      
-DNAME='"ser"' -DVERSION='"0.9.3"' -DARCH='"i386"' -DOS='"linux"' 
-DCOMPILER='"gcc 3.3"' -D__CPU_i386 -D__OS_linux 
-DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM  -DSHM_MMAP 
-DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE  
-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 -c 
lcr_mod.c -o lcr_mod.o
lcr_mod.c: In function `load_gws':
lcr_mod.c:591: error: `HDR_FROM_F' undeclared (first use in this function)
lcr_mod.c:591: error: (Each undeclared identifier is reported only once
lcr_mod.c:591: error: for each function it appears in.)
lcr_mod.c: In function `load_contacts':
lcr_mod.c:890: error: too many arguments to function `next_branch'
lcr_mod.c:912: error: too many arguments to function `next_branch'
make[1]: *** [lcr_mod.o] Error 1
make[1]: Leaving directory `/root/sources/sip_router/modules/lcr'

Does anybody know if I'm missing something?

Regards

Alberto Cruz




More information about the sr-users mailing list