[Serusers] radius+ser

Daniel-Constantin Mierla daniel at iptel.org
Tue Feb 10 13:52:59 CET 2004


Hello,
I guess you are using CVS version and you have the old radiusclient 
library. You need Maxim's ng radiusclient library.
https://developer.berlios.de/project/showfiles.php?group_id=1208

.Daniel

On 2/10/2004 1:38 PM, Nair wrote:

> dear daniel,
>  
> i got the below error. when i did
> make include_modules="auth_radius group_radius uri_radius mysql"
> make include_modules="auth_radius group_radius uri_radius mysql" install
>  
> acc.c:612: too few arguments to function `rc_avpair_add'
> acc.c:623: warning: passing arg 1 of `rc_avpair_add' from incompatible 
> pointer t
> ype
> acc.c:623: warning: passing arg 2 of `rc_avpair_add' makes pointer 
> from integer
> without a cast
> acc.c:623: warning: passing arg 3 of `rc_avpair_add' makes integer 
> from pointer
> without a cast
> acc.c:623: warning: passing arg 4 of `rc_avpair_add' makes pointer 
> from integer
> without a cast
> acc.c:623: too few arguments to function `rc_avpair_add'
> acc.c:645: warning: passing arg 1 of `rc_avpair_add' from incompatible 
> pointer t
> ype
> acc.c:645: warning: passing arg 2 of `rc_avpair_add' makes pointer 
> from integer
> without a cast
> acc.c:645: warning: passing arg 3 of `rc_avpair_add' makes integer 
> from pointer
> without a cast
> acc.c:645: warning: passing arg 4 of `rc_avpair_add' makes pointer 
> from integer
> without a cast
> acc.c:645: too few arguments to function `rc_avpair_add'
> acc.c:656: warning: passing arg 1 of `rc_avpair_add' from incompatible 
> pointer t
> ype
> acc.c:656: warning: passing arg 2 of `rc_avpair_add' makes pointer 
> from integer
> without a cast
> acc.c:656: warning: passing arg 3 of `rc_avpair_add' makes integer 
> from pointer
> without a cast
> acc.c:656: warning: passing arg 4 of `rc_avpair_add' makes pointer 
> from integer
> without a cast
> acc.c:656: too few arguments to function `rc_avpair_add'
> acc.c:666: warning: passing arg 1 of `rc_avpair_add' from incompatible 
> pointer t
> ype
> acc.c:666: warning: passing arg 2 of `rc_avpair_add' makes pointer 
> from integer
> without a cast
> acc.c:666: warning: passing arg 3 of `rc_avpair_add' makes integer 
> from pointer
> without a cast
> acc.c:666: warning: passing arg 4 of `rc_avpair_add' makes pointer 
> from integer
> without a cast
> acc.c:666: too few arguments to function `rc_avpair_add'
> acc.c:673: warning: passing arg 1 of `rc_acct' makes pointer from 
> integer withou
> t a cast
> acc.c:673: warning: passing arg 2 of `rc_acct' makes integer from 
> pointer withou
> t a cast
> acc.c:673: too few arguments to function `rc_acct'
> make[1]: *** [acc.o] Error 1
> make[1]: Leaving directory `/opt/ser-0.8.12/modules/acc'
> install -m 755 ser /usr/local/sbin/
> touch /usr/local/sbin//sc
> install -m 755 scripts/sc /usr/local/sbin/
> mv -f /usr/local/sbin//sc /usr/local/sbin//serctl
> touch /usr/local/sbin//ser_mysql.sh
> install -m 755 scripts/ser_mysql.sh /usr/local/sbin/
> touch /usr/local/sbin//gen_ha1
> install -m 755 utils/gen_ha1/gen_ha1 /usr/local/sbin/
> *ERROR: module modules/auth_radius/auth_radius.so not compiled
> ERROR: module modules/group_radius/group_radius.so not compiled
> ERROR: module modules/uri_radius/uri_radius.so not compiled
> ERROR: module modules/acc/acc.so not compiled
> *touch /usr/local/share/doc/ser//INSTALL
> install -m 644 INSTALL /usr/local/share/doc/ser/
> touch /usr/local/share/doc/ser//README-MODULES
> install -m 644 README-MODULES /usr/local/share/doc/ser/
> touch /usr/local/share/doc/ser//AUTHORS
> install -m 644 AUTHORS /usr/local/share/doc/ser/
> touch /usr/local/share/doc/ser//NEWS
> install -m 644 NEWS /usr/local/share/doc/ser/
> touch /usr/local/share/doc/ser//README
> install -m 644 README /usr/local/share/doc/ser/
> touch /usr/local/share/man//man8/ser.8
> install -m 644 ser.8 /usr/local/share/man//man8
> touch /usr/local/share/man//man5/ser.cfg.5
> install -m 644 ser.cfg.5 /usr/local/share/man//man5
> where i might have gone wrong?
>  
> regards,
> nair.
>
> --- Daniel-Constantin Mierla <daniel at iptel.org> wrote:
> > I forgot to mention, you have to use include_modules
> > or exclude_modules
> > for make install, too.
> >
> > .Daniel
> >
> > On 2/10/2004 11:37 AM, Daniel-Constantin Mierla
> > wrote:
> >
> > > Hello,
> > > try with include_modules, e.g.,
> > >
> > > make include_modules="auth_radius group_radius
> > uri_radius mysql" modules
> > > ....
> > >
> > > .Daniel
> > >
> > > On 2/10/2004 11:33 AM, Nair wrote:
> > >
> > >> After installing radius client and doing
> > necessary
> > >> changes in modules/acc/Makefile ,
> > >> [root at sip ser-0.8.12]# locate radiusclient.h
> > >> /usr/local/include/radiusclient.h
> > >>
> > >>
> > >> [root at sip ser-0.8.12]#make exclude_modules=""
> > modules and then
> > >> [root at sip ser-0.8.12]#make prefix=/usr/local
> > install
> > >>
> > >>
> > >> But the following modules still did not install.
> > >>
> > >> group_radius.so
> > >> uri_radius.so
> > >> auth_radius.so
> > >> mysql.so
> > >>
> > >> any clue on the same.
> > >>
> > >>
> > >>
> > >> __________________________________
> > >> Do you Yahoo!?
> > >> Yahoo! Finance: Get your refund fast by filing
> > online.
> > >> http://taxes.yahoo.com/filing.html
> > >>
> > >> _______________________________________________
> > >> Serusers mailing list
> > >> serusers at lists.iptel.org
> > >> http://lists.iptel.org/mailman/listinfo/serusers
> > >>
> > >>
> > >>
> > >
> > > _______________________________________________
> > > Serusers mailing list
> > > serusers at lists.iptel.org
> > > http://lists.iptel.org/mailman/listinfo/serusers
> > >
> ------------------------------------------------------------------------
> Do you Yahoo!?
> Yahoo! Finance: Get your refund fast by filing online 
> <http://us.rd.yahoo.com/evt=22055/*http://taxes.yahoo.com/filing.html> 




More information about the sr-users mailing list