Hi,
sorry my fault. The function uri_type_to_str was used more than once, so
I moved it to the parse_uri (which you already include too) and did not
check all modules.
As temporary solution just remove the definition of uri_type_to_str from
avp_radius.c(:244-260). I'll update CVS.
Michal
On Thu, 2007-03-15 at 23:20 +0100, tzieleniewski wrote:
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
_______________________________________________
Serusers mailing list
Serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers