<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Hi,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;&nbsp;&nbsp;&nbsp; It seems surely that
you are using an incompatible version of radiusclient. The pointer conversion errors
are occurring because the functions have differ from radiusclient library to
radiusclient-ng library, and radius In case to remove any doubts, install
radiusclient-ng . I was facing the same problem and I got it fixed by doing the
same.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Additionally, you may try removing previous
installation directories of SER which you might have installed earlier, as well
as also removing previous radiusclient installation.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Regards,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Ashutosh<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
serusers-bounces@iptel.org [mailto:serusers-bounces@lists.iptel.org] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Jean FX<br>
<b><span style='font-weight:bold'>Sent:</span></b> Tuesday, August 16, 2005
12:40 PM<br>
<b><span style='font-weight:bold'>To:</span></b> serusers@lists.iptel.org<br>
<b><span style='font-weight:bold'>Subject:</span></b> [Serusers] Problems
Compiling SER Radius auth and acc I AMDESPERATE!</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>To which version of Radius Client and Ser does the radius how-to apply?<br>
<br>
I have tried to follow it on RedHat9/ Free Radius Server 0.9.1/ Radius Client
radiusclient-ng-0.5.1.tar.gz or radiusclient-ng-0.5.1.tar.gz or
radiusclient-0.3.2.tar.gz with no success.<br>
<br>
- I installed and tested freeradius 0.9.1 with success<br>
- I installed and tested all the radius clients with no errors<br>
- I commented out the exclude auth_radius group_radius uri_radius in the
Makefile, and uncommented<br>
&nbsp;<br>
DEFS+=-DRAD_ACC -I$(LOCALBASE)/include<br>
LIBS=-L$(LOCALBASE)/lib -lradiusclient<br>
<br>
in modules/acc/Makefile<br>
<br>
However, when compiling SER,&nbsp; &quot;make all&quot; seems to not make the 3
above mentioned modules. I have tried on SER 0.8.14 and SER 0.9.0 This is what
it says:<br>
<br>
checks.c: In function `radius_does_uri_exist':<br>
checks.c:77: warning: passing arg 2 of `rc_avpair_add' makes integer from
pointer without a cast<br>
checks.c:77: warning: passing arg 3 of `rc_avpair_add' makes pointer from
integer without a cast<br>
checks.c:77: warning: passing arg 4 of `rc_avpair_add' makes integer from
pointer without a cast<br>
checks.c:77: too many arguments to function `rc_avpair_add'<br>
checks.c:85: warning: passing arg 2 of `rc_avpair_add' makes integer from
pointer without a cast<br>
checks.c:85: warning: passing arg 3 of `rc_avpair_add' makes pointer from
integer without a cast<br>
checks.c:85: warning: passing arg 4 of `rc_avpair_add' makes integer from
pointer without a cast<br>
checks.c:85: too many arguments to function `rc_avpair_add'<br>
checks.c:92: warning: passing arg 1 of `rc_auth' makes integer from pointer
without a cast<br>
checks.c:92: warning: passing arg 3 of `rc_auth' from incompatible pointer type<br>
checks.c:92: warning: passing arg 4 of `rc_auth' from incompatible pointer type<br>
checks.c:92: too many arguments to function `rc_auth'<br>
make[1]: *** [checks.o] Error 1<br>
make[1]: Leaving directory `/usr/local/src/ser-0.8.14/modules/uri_radius'<br>
.....<br>
roup.c: In function `radius_is_user_in':<br>
group.c:194: warning: passing arg 2 of `rc_avpair_add' makes integer from
pointer without a cast<br>
group.c:194: warning: passing arg 3 of `rc_avpair_add' makes pointer from
integer without a cast<br>
group.c:194: warning: passing arg 4 of `rc_avpair_add' makes integer from
pointer without a cast<br>
group.c:194: too many arguments to function `rc_avpair_add'<br>
group.c:203: warning: passing arg 2 of `rc_avpair_add' makes integer from
pointer without a cast<br>
group.c:203: warning: passing arg 3 of `rc_avpair_add' makes pointer from
integer without a cast<br>
group.c:203: warning: passing arg 4 of `rc_avpair_add' makes integer from
pointer without a cast<br>
group.c:203: too many arguments to function `rc_avpair_add'<br>
group.c:209: warning: passing arg 2 of `rc_avpair_add' makes integer from
pointer without a cast<br>
group.c:209: warning: passing arg 3 of `rc_avpair_add' makes pointer from integer
without a cast<br>
group.c:209: warning: passing arg 4 of `rc_avpair_add' makes integer from
pointer without a cast<br>
group.c:209: too many arguments to function `rc_avpair_add'<br>
group.c:215: warning: passing arg 1 of `rc_auth' makes integer from pointer without
a cast<br>
group.c:215: warning: passing arg 3 of `rc_auth' from incompatible pointer type<br>
group.c:215: warning: passing arg 4 of `rc_auth' from incompatible pointer type<br>
group.c:215: too many arguments to function `rc_auth'<br>
make[1]: *** [group.o] Error 1<br>
make[1]: Leaving directory `/usr/local/src/ser-0.8.14/modules/group_radius'<br>
..........<br>
E_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -I/usr/local/include -c authrad_mod.c
-o authrad_mod.o<br>
authrad_mod.c: In function `mod_init':<br>
authrad_mod.c:111: `DICT_VENDOR' undeclared (first use in this function)<br>
authrad_mod.c:111: (Each undeclared identifier is reported only once<br>
authrad_mod.c:111: for each function it appears in.)<br>
authrad_mod.c:111: `vend' undeclared (first use in this function)<br>
authrad_mod.c:135: warning: assignment makes pointer from integer without a
cast<br>
authrad_mod.c:140: too many arguments to function `rc_conf_str'<br>
authrad_mod.c:140: too many arguments to function `rc_read_dictionary'<br>
authrad_mod.c:145: warning: implicit declaration of function `rc_dict_findvend'<br>
authrad_mod.c:163: too many arguments to function `rc_dict_findattr'<br>
authrad_mod.c:163: too many arguments to function `rc_dict_findval'<br>
make[1]: *** [authrad_mod.o] Error 1<br>
make[1]: Leaving directory `/usr/local/src/ser-0.8.14/modules/auth_radius'<br>
<br>
After that, Ser installs but with this message:<br>
<br>
ERROR: module modules/acc/acc.so not compiled<br>
ERROR: module modules/auth_radius/auth_radius.so not compiled<br>
ERROR: module modules/group_radius/group_radius.so not compiled<br>
ERROR: module modules/uri_radius/uri_radius.so not compiled<br>
<br>
<br>
Any help? I am not a programmer!<o:p></o:p></span></font></p>

</div>

</body>

</html>