[Serusers] make all error: avp_radius module compilation error - parse_uri.h:50

tzieleniewski tzieleniewski at o2.pl
Thu Mar 15 23:20:47 CET 2007


Hi,

I have just downloaded the cvs version of ser 2.1.0-dev1
and after I run #make group_include="radius" all (like usually)
I got the following error:

make[1]: Entering the directory `/home/ser/src/sip_router/modules/avp_radius'
gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -minline-all-stringops -falign-loops -ftree-vectorize -mtune=athlon64 -Wall     -DNAME='"ser"' -DVERSION='"2.1.0-dev1"' -DARCH='"i386"' -DOS='linux_' -DOS_QUOTED='"linux"' -DCOMPILER='"gcc 4.1.2"' -D__CPU_i386 -D__OS_linux -DSER_VER=2001000 -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM  -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DDBG_QM_MALLOC  -DUSE_TLS -DTLS_HOOKS -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024  -DCC_GCC_LIKE_ASM -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 -DSIGINFO64_WORKARROUND -DHAVE_SELECT -I/usr/local/include -c avp_radius.c -o avp_radius.o
avp_radius.c:244: error: static declaration of ‘uri_type_to_str’ follows non-static declaration
../../parser/parse_uri.h:50: error: previous declaration of ‘uri_type_to_str’ was here
make[1]: *** [avp_radius.o] Error 1
make[1]: Opuszczenie katalogu `/home/ser/src/sip_router/modules/avp_radius'
make: *** [modules] Error 1

Cheers 
Tomasz



More information about the sr-users mailing list