[Serusers] compilation error of sources from cvs

schweizer laurent laurent.schweizer at eivd.ch
Thu Oct 30 16:22:20 CET 2003


Hello,


I try to compile the last version of ser( from the cvs) and i have some
errors with rr module ...

Thanks



root at edu-pc134:~/ser/sip_router# make all
Extra objs:
gcc  -Wl,-O2 -Wl,-E   action.o crc.o data_lump.o data_lump_rpl.o dprint.o
dset.o error.o fifo_server.o flags.o forward.o hash_func.o ip_addr.o main.o
md5.o md5utils.o modparam.o msg_translator.o pass_fd.o proxy.o re.o
receive.o resolve.o route.o route_struct.o script_cb.o socket_info.o
sr_module.o stats.o tcp_main.o tcp_read.o timer.o udp_server.o
mem/f_malloc.o mem/mem.o mem/memtest.o mem/q_malloc.o mem/shm_mem.o
mem/vq_malloc.o parser/hf.o parser/msg_parser.o parser/parse_content.o
parser/parse_cseq.o parser/parse_disposition.o parser/parse_event.o
parser/parse_expires.o parser/parse_fline.o parser/parse_from.o
parser/parse_hname2.o parser/parse_hostport.o parser/parse_nameaddr.o
parser/parse_param.o parser/parse_rr.o parser/parse_to.o parser/parse_uri.o
parser/parse_via.o parser/parser_f.o parser/digest/digest.o
parser/digest/digest_parser.o parser/digest/param_parser.o
parser/contact/contact.o parser/contact/parse_contact.o db/db.o db/db_fifo.o
lex.yy.o cfg.tab.o     -lfl -ldl -lresolv -o ser


make[1]: Entering directory `/root/ser/sip_router/modules/acc'
gcc -fPIC -DPIC -g -O9 -funroll-loops  -Wcast-align  -Wall  -minline-all-str
ingops -malign-double -falign-loops -mcpu=athlon      -DNAME='"ser"' -DVERSI
ON='"0.8.12dev-22-tcp_aliases"' -DARCH='"i386"' -DOS='"linux"' -DCOMPILER='"
gcc
3.2"' -D__CPU_i386 -D__OS_linux -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALL
OC -DSHM_MEM  -DSHM_MMAP -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DDNS_IP
_HACK -DUSE_IPV6 -DUSE_TCP -DDISABLE_NAGLE -DDBG_QM_MALLOC  -DFAST_LOCK -DHA
VE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL
-DHAVE_MSGHDR_MSG_CONTROL -DSQL_ACC -DRAD_ACC -c acc.c -o acc.o
acc.c:50:26: radiusclient.h: No such file or directory
acc.c:61: `PW_CALLING_STATION_ID' undeclared here (not in a function)
acc.c:61: initializer element is not constant
acc.c:61: (near initialization for `rad_attr[0]')
acc.c:61: `PW_CALLED_STATION_ID' undeclared here (not in a function)
acc.c:61: initializer element is not constant
acc.c:61: (near initialization for `rad_attr[1]')
acc.c:62: `PW_ACCT_SESSION_ID' undeclared here (not in a function)
acc.c:62: initializer element is not constant
acc.c:62: (near initialization for `rad_attr[3]')
acc.c:496: parse error before "phrase2code"
acc.c:497: warning: return type defaults to `int'
acc.c: In function `phrase2code':
acc.c:498: `UINT4' undeclared (first use in this function)
acc.c:498: (Each undeclared identifier is reported only once
acc.c:498: for each function it appears in.)
acc.c:498: parse error before "code"
acc.c:502: `code' undeclared (first use in this function)
acc.c: At top level:
acc.c:511: parse error before "rad_status"
acc.c:512: warning: return type defaults to `int'
acc.c: In function `rad_status':
acc.c:520: `PW_STATUS_START' undeclared (first use in this function)
acc.c:523: `PW_STATUS_STOP' undeclared (first use in this function)
acc.c: In function `acc_rad_request':
acc.c:533: `VALUE_PAIR' undeclared (first use in this function)
acc.c:534: `UINT4' undeclared (first use in this function)
acc.c:534: parse error before "av_type"
acc.c:548: invalid lvalue in assignment
acc.c:559: `av_type' undeclared (first use in this function)
acc.c:560: warning: implicit declaration of function `rc_avpair_add'
acc.c:560: `PW_ACCT_STATUS_TYPE' undeclared (first use in this function)
acc.c:565: `PW_SERVICE_TYPE' undeclared (first use in this function)
acc.c:595: `PW_USER_NAME' undeclared (first use in this function)
acc.c:657: warning: implicit declaration of function `rc_acct'
acc.c:657: `OK_RC' undeclared (first use in this function)
acc.c:661: warning: implicit declaration of function `rc_avpair_free'
make[1]: *** [acc.o] Error 1
make[1]: Leaving directory `/root/ser/sip_router/modules/acc'


make[1]: Entering directory `/root/ser/sip_router/modules/auth'
make[1]: `auth.so' is up to date.
make[1]: Leaving directory `/root/ser/sip_router/modules/auth'


make[1]: Entering directory `/root/ser/sip_router/modules/auth_db'
make[1]: `auth_db.so' is up to date.
make[1]: Leaving directory `/root/ser/sip_router/modules/auth_db'


make[1]: Entering directory `/root/ser/sip_router/modules/auth_diameter'
make[1]: `auth_diameter.so' is up to date.
make[1]: Leaving directory `/root/ser/sip_router/modules/auth_diameter'


make[1]: Entering directory `/root/ser/sip_router/modules/dbtext'
make[1]: `dbtext.so' is up to date.
make[1]: Leaving directory `/root/ser/sip_router/modules/dbtext'


make[1]: Entering directory `/root/ser/sip_router/modules/domain'
make[1]: `domain.so' is up to date.
make[1]: Leaving directory `/root/ser/sip_router/modules/domain'


make[1]: Entering directory `/root/ser/sip_router/modules/enum'
make[1]: `enum.so' is up to date.
make[1]: Leaving directory `/root/ser/sip_router/modules/enum'


make[1]: Entering directory `/root/ser/sip_router/modules/exec'
make[1]: `exec.so' is up to date.
make[1]: Leaving directory `/root/ser/sip_router/modules/exec'


make[1]: Entering directory `/root/ser/sip_router/modules/group'
make[1]: `group.so' is up to date.
make[1]: Leaving directory `/root/ser/sip_router/modules/group'


make[1]: Entering directory `/root/ser/sip_router/modules/maxfwd'
make[1]: `maxfwd.so' is up to date.
make[1]: Leaving directory `/root/ser/sip_router/modules/maxfwd'


make[1]: Entering directory `/root/ser/sip_router/modules/msilo'
make[1]: `msilo.so' is up to date.
make[1]: Leaving directory `/root/ser/sip_router/modules/msilo'


make[1]: Entering directory `/root/ser/sip_router/modules/nathelper'
make[1]: `nathelper.so' is up to date.
make[1]: Leaving directory `/root/ser/sip_router/modules/nathelper'


make[1]: Entering directory `/root/ser/sip_router/modules/options'
make[1]: `options.so' is up to date.
make[1]: Leaving directory `/root/ser/sip_router/modules/options'


make[1]: Entering directory `/root/ser/sip_router/modules/pa'
make[1]: `pa.so' is up to date.
make[1]: Leaving directory `/root/ser/sip_router/modules/pa'


make[1]: Entering directory `/root/ser/sip_router/modules/permissions'
make[1]: `permissions.so' is up to date.
make[1]: Leaving directory `/root/ser/sip_router/modules/permissions'


make[1]: Entering directory `/root/ser/sip_router/modules/pike'
make[1]: `pike.so' is up to date.
make[1]: Leaving directory `/root/ser/sip_router/modules/pike'


make[1]: Entering directory `/root/ser/sip_router/modules/print'
make[1]: `print.so' is up to date.
make[1]: Leaving directory `/root/ser/sip_router/modules/print'


make[1]: Entering directory `/root/ser/sip_router/modules/registrar'
make[1]: `registrar.so' is up to date.
make[1]: Leaving directory `/root/ser/sip_router/modules/registrar'


make[1]: Entering directory `/root/ser/sip_router/modules/rr'
gcc -fPIC -DPIC -g -O9 -funroll-loops  -Wcast-align  -Wall  -minline-all-str
ingops -malign-double -falign-loops -mcpu=athlon      -DNAME='"ser"' -DVERSI
ON='"0.8.12dev-22-tcp_aliases"' -DARCH='"i386"' -DOS='"linux"' -DCOMPILER='"
gcc
3.2"' -D__CPU_i386 -D__OS_linux -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALL
OC -DSHM_MEM  -DSHM_MMAP -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DDNS_IP
_HACK -DUSE_IPV6 -DUSE_TCP -DDISABLE_NAGLE -DDBG_QM_MALLOC  -DFAST_LOCK -DHA
VE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL
-DHAVE_MSGHDR_MSG_CONTROL -c loose.c -o loose.o
loose.c: In function `is_myself':
loose.c:212: too few arguments to function `check_self'
loose.c: In function `save_ruri':
loose.c:374: warning: passing arg 1 of `anchor_lump' from incompatible
pointer type
loose.c: In function `handle_strict_router':
loose.c:439: warning: passing arg 1 of `del_lump' from incompatible pointer
type
loose.c: In function `route_after_strict':
loose.c:523: warning: passing arg 1 of `del_lump' from incompatible pointer
type
loose.c:571: warning: passing arg 1 of `del_lump' from incompatible pointer
type
loose.c:589: warning: passing arg 1 of `del_lump' from incompatible pointer
type
loose.c:622: warning: passing arg 1 of `del_lump' from incompatible pointer
type
loose.c: In function `route_after_loose':
loose.c:665: warning: passing arg 1 of `del_lump' from incompatible pointer
type
loose.c:686: warning: passing arg 1 of `del_lump' from incompatible pointer
type
loose.c:733: warning: passing arg 1 of `del_lump' from incompatible pointer
type
make[1]: *** [loose.o] Error 1
make[1]: Leaving directory `/root/ser/sip_router/modules/rr'


make[1]: Entering directory `/root/ser/sip_router/modules/sl'
make[1]: `sl.so' is up to date.
make[1]: Leaving directory `/root/ser/sip_router/modules/sl'


make[1]: Entering directory `/root/ser/sip_router/modules/sms'
make[1]: `sms.so' is up to date.
make[1]: Leaving directory `/root/ser/sip_router/modules/sms'


make[1]: Entering directory `/root/ser/sip_router/modules/textops'
make[1]: `textops.so' is up to date.
make[1]: Leaving directory `/root/ser/sip_router/modules/textops'


make[1]: Entering directory `/root/ser/sip_router/modules/tm'
make[1]: `tm.so' is up to date.
make[1]: Leaving directory `/root/ser/sip_router/modules/tm'


make[1]: Entering directory `/root/ser/sip_router/modules/uri'
make[1]: `uri.so' is up to date.
make[1]: Leaving directory `/root/ser/sip_router/modules/uri'


make[1]: Entering directory `/root/ser/sip_router/modules/usrloc'
make[1]: `usrloc.so' is up to date.
make[1]: Leaving directory `/root/ser/sip_router/modules/usrloc'


make[1]: Entering directory `/root/ser/sip_router/modules/vm'
make[1]: `vm.so' is up to date.
make[1]: Leaving directory `/root/ser/sip_router/modules/vm'


make[1]: Entering directory `/root/ser/sip_router/modules/xlog'
make[1]: `xlog.so' is up to date.
make[1]: Leaving directory `/root/ser/sip_router/modules/xlog'








More information about the sr-users mailing list