[Serusers] error while compiling radius modules

Kamran Ahmad p_kami at yahoo.com
Fri Jun 10 17:39:30 CEST 2005


hi all

can u tell me what is the wrong in my mechine i am
using radiusclient-ng


make[1]: Entering directory
`/ser-0.9.0/modules/auth_radius'
../../Makefile.rules:77: authorize.d: No such file or
directory
../../Makefile.rules:77: authrad_mod.d: No such file
or directory
../../Makefile.rules:77: sterman.d: No such file or
directory
make[1]: Leaving directory
`/ser-0.9.0/modules/auth_radius'
make[1]: Entering directory
`/ser-0.9.0/modules/auth_radius'
gcc -fPIC -DPIC -g -O9 -funroll-loops  -Wcast-align 
-Wall   -minline-all-stringops -malign-double
-falign-loops -mtune=athlon 
-I/opt/axxany/siprouter/radiusclient/include   
-DNAME='"ser"' -DVERSION='"0.9.1"' -DARCH='"i386"'
-DOS='"linux"' -DCOMPILER='"gcc 3.4"' -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
-DDBG_QM_MALLOC  -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 -I/usr/local/include -c authorize.c -o
authorize.o
gcc -fPIC -DPIC -g -O9 -funroll-loops  -Wcast-align 
-Wall   -minline-all-stringops -malign-double
-falign-loops -mtune=athlon 
-I/opt/axxany/siprouter/radiusclient/include   
-DNAME='"ser"' -DVERSION='"0.9.1"' -DARCH='"i386"'
-DOS='"linux"' -DCOMPILER='"gcc 3.4"' -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
-DDBG_QM_MALLOC  -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 -I/usr/local/include -c authrad_mod.c
-o authrad_mod.o
authrad_mod.c: In function `mod_init':
authrad_mod.c:110: error: `DICT_VENDOR' undeclared
(first use in this function)
authrad_mod.c:110: error: (Each undeclared identifier
is reported only once
authrad_mod.c:110: error: for each function it appears
in.)
authrad_mod.c:110: error: `vend' undeclared (first use
in this function)
authrad_mod.c:134: warning: assignment makes pointer
from integer without a cast
authrad_mod.c:139: error: too many arguments to
function `rc_conf_str'
authrad_mod.c:139: error: too many arguments to
function `rc_read_dictionary'
authrad_mod.c:144: warning: implicit declaration of
function `rc_dict_findvend'
authrad_mod.c:159: error: too many arguments to
function `rc_dict_findattr'
authrad_mod.c:159: error: too many arguments to
function `rc_dict_findval'
make[1]: *** [authrad_mod.o] Error 1
make[1]: Leaving directory
`/ser-0.9.0/modules/auth_radius'


make[1]: Entering directory
`/ser-0.9.0/modules/group_radius'
../../Makefile.rules:77: group.d: No such file or
directory
../../Makefile.rules:77: grouprad_mod.d: No such file
or directory
make[1]: Leaving directory
`/ser-0.9.0/modules/group_radius'
make[1]: Entering directory
`/ser-0.9.0/modules/group_radius'
gcc -fPIC -DPIC -g -O9 -funroll-loops  -Wcast-align 
-Wall   -minline-all-stringops -malign-double
-falign-loops -mtune=athlon 
-I/opt/axxany/siprouter/radiusclient/include   
-DNAME='"ser"' -DVERSION='"0.9.1"' -DARCH='"i386"'
-DOS='"linux"' -DCOMPILER='"gcc 3.4"' -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
-DDBG_QM_MALLOC  -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 -I/usr/local/include -c group.c -o
group.o
group.c: In function `radius_is_user_in':
group.c:194: warning: passing arg 2 of `rc_avpair_add'
makes integer from pointer without a cast
group.c:194: warning: passing arg 3 of `rc_avpair_add'
makes pointer from integer without a cast
group.c:194: warning: passing arg 4 of `rc_avpair_add'
makes integer from pointer without a cast
group.c:194: error: too many arguments to function
`rc_avpair_add'
group.c:203: warning: passing arg 2 of `rc_avpair_add'
makes integer from pointer without a cast
group.c:203: warning: passing arg 3 of `rc_avpair_add'
makes pointer from integer without a cast
group.c:203: warning: passing arg 4 of `rc_avpair_add'
makes integer from pointer without a cast
group.c:203: error: too many arguments to function
`rc_avpair_add'
group.c:209: warning: passing arg 2 of `rc_avpair_add'
makes integer from pointer without a cast
group.c:209: warning: passing arg 3 of `rc_avpair_add'
makes pointer from integer without a cast
group.c:209: warning: passing arg 4 of `rc_avpair_add'
makes integer from pointer without a cast
group.c:209: error: too many arguments to function
`rc_avpair_add'
group.c:215: warning: passing arg 1 of `rc_auth' makes
integer from pointer without a cast
group.c:215: warning: passing arg 3 of `rc_auth' from
incompatible pointer type
group.c:215: warning: passing arg 4 of `rc_auth' from
incompatible pointer type
group.c:215: error: too many arguments to function
`rc_auth'
make[1]: *** [group.o] Error 1
make[1]: Leaving directory
`/ser-0.9.0/modules/group_radius'




__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




More information about the sr-users mailing list