<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, May 15, 2014 at 9:56 AM, Sam 林立山 <span dir="ltr"><<a href="mailto:sam@acom-networks.com" target="_blank">sam@acom-networks.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div><br>
Hello Arran,<br>
<br>
I don't understand your step2. What's your mean man page? There is
only error message on the screen.<br>
</div></div></blockquote><div><br></div><div>Probably something like this</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><div><div><div class="h5">src/pam_radius_auth.c: At top level:<br>
src/pam_radius_auth.c:1037:12: error: expected '=', ',', ';',
'asm' or '__attribute__' before 'int'<br>
PAM_EXTERN int pam_sm_authenticate(pam_handle_t *pamh,int
flags,int argc,CONST char **argv)<br>
^<br>
src/pam_radius_auth.c:1240:12: error: expected '=', ',', ';',
'asm' or '__attribute__' before 'int'<br>
PAM_EXTERN int pam_sm_setcred(pam_handle_t *pamh,int flags,int
argc,CONST char **argv)<br>
</div></div></div></div></blockquote><div><br></div><div>Note the errors (assuming those are from latest git master)? Now run </div><div><br></div><div>"man pam_sm_authenticate" and "man pam_sm_setcred". The documentation for those functions in AIX are probably available in the man page.</div>
<div><br></div><div>FWIW, google search for "aix pam_sm_authenticate" returns this: </div><div><a href="http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.basetechref/doc/basetrf1/pam_sm_authenticate.htm">http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.basetechref/doc/basetrf1/pam_sm_authenticate.htm</a></div>
<div><br></div><div>Also, have you tried using gcc? It might produce different result.</div><div><br></div><div>-- </div><div>Fajar</div></div></div></div>