[Serusers] problem in acct with raduis.

Nair manunair_v at yahoo.com
Mon Feb 9 20:02:49 CET 2004


hi all,

when i am trying to compile SER-0.8.12 acct module
with radius i am getting the below error.

I have installed both freeradius and radiusclient.

acc.c:51:26: radiusclient.h: No such file or directory
acc.c:62: `PW_CALLING_STATION_ID' undeclared here (not
in a function)
acc.c:62: initializer element is not constant
acc.c:62: (near initialization for `rad_attr[0]')
acc.c:62: `PW_CALLED_STATION_ID' undeclared here (not
in a function)
acc.c:62: initializer element is not constant
acc.c:62: (near initialization for `rad_attr[1]')
acc.c:63: `PW_ACCT_SESSION_ID' undeclared here (not in
a function)
acc.c:63: initializer element is not constant
acc.c:63: (near initialization for `rad_attr[3]')
acc.c:512: parse error before "phrase2code"
acc.c:513: warning: return type defaults to `int'
acc.c: In function `phrase2code':
acc.c:514: `UINT4' undeclared (first use in this
function)
acc.c:514: (Each undeclared identifier is reported
only once
acc.c:514: for each function it appears in.)
acc.c:514: parse error before "code"
acc.c:518: `code' undeclared (first use in this
function)
acc.c: At top level:
acc.c:527: parse error before "rad_status"
acc.c:528: warning: return type defaults to `int'
acc.c: In function `rad_status':
acc.c:536: `PW_STATUS_START' undeclared (first use in
this function)
acc.c:539: `PW_STATUS_STOP' undeclared (first use in
this function)
acc.c: In function `acc_rad_request':
acc.c:549: `VALUE_PAIR' undeclared (first use in this
function)
acc.c:550: `UINT4' undeclared (first use in this
function)
acc.c:550: parse error before "av_type"
acc.c:564: invalid lvalue in assignment
acc.c:575: `av_type' undeclared (first use in this
function)
acc.c:576: warning: implicit declaration of function
`rc_avpair_add'
acc.c:576: `PW_ACCT_STATUS_TYPE' undeclared (first use
in this function)
acc.c:581: `PW_SERVICE_TYPE' undeclared (first use in
this function)
acc.c:611: `PW_USER_NAME' undeclared (first use in
this function)
acc.c:673: warning: implicit declaration of function
`rc_acct'
acc.c:673: `OK_RC' undeclared (first use in this
function)
acc.c:677: warning: implicit declaration of function
`rc_avpair_free'
make[1]: *** [acc.o] Error 1
make[1]: Leaving directory
`/opt/ser-0.8.12/modules/acc'

I am clueless on the same. Pls guide me.

:(
regards,
manu.

__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html




More information about the sr-users mailing list