[Serusers] radius compile problem in ser 0.8.14

Andrei Pelinescu-Onciul andrei at iptel.org
Tue Jul 12 14:17:24 CEST 2005


On Jul 11, 2005 at 16:02, Kert?sz Csaba <sign at freemail.hu> wrote:
> 
> Hallo,
> 
>   I'm trying to compile the radius modules of SER 0.8.14 but a following 
> error message and I don't find what is the problem:

You are probably using a wrong libradiusclient library.
You need libradiusclient-ng 0.4.1 for ser 0.8.14.
WARNING: it won't work with 0.5.x, you need 0.4.x.
It would be probably better to upgrade ser to 0.9.3.


Andrei
> 
> gcc -fPIC -DPIC -g -O9 -funroll-loops  -Wcast-align  -Wall  -minline-all-
> stringops -malign-double -falign-loops -mcpu=athlon    -
> DNAME='"auth_radius.so"' -DVERSION='"0.8.14"' -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_TCP -
> DDISABLE_NAGLE -DF_MALLOC  -DFAST_LOCK -DADAPTIVE_WAIT -
> DADAPTIVE_WAIT_LOOPS=1024  -DHAVE_GETHOSTBYNAME2 -
> DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -
> DHAVE_MSGHDR_MSG_CONTROL -I/usr/local/include -c authrad_mod.c -
> o authrad_mod.o
> authrad_mod.c: In function `mod_init':
> authrad_mod.c:111: error: `DICT_VENDOR' undeclared (first use in this 
> function)
> authrad_mod.c:111: error: (Each undeclared identifier is reported only 
> once
> authrad_mod.c:111: error: for each function it appears in.)
> authrad_mod.c:111: error: `vend' undeclared (first use in this function)
> authrad_mod.c:135: warning: assignment makes pointer from integer 
> without a cast
> authrad_mod.c:140: error: too many arguments to function 
> `rc_conf_str'
> authrad_mod.c:140: error: too many arguments to function 
> `rc_read_dictionary'
> authrad_mod.c:145: warning: implicit declaration of function 
> `rc_dict_findvend'
> authrad_mod.c:163: error: too many arguments to function 
> `rc_dict_findattr'
> authrad_mod.c:163: error: too many arguments to function 
> `rc_dict_findval'
> authrad_mod.c: At top level:
> ../../dprint.h:51: warning: `fp' defined but not used
> ../../modules/usrloc/client_socket.h:17: warning: `buff' defined but not 
> used
> ../../modules/usrloc/client_socket.h:18: warning: `rec_attached' 
> defined but not used
> make: *** [authrad_mod.o] Error 1




More information about the sr-users mailing list