<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hello Fajar,<br>
      <br>
      I already install gcc and ln -s /usr/bin/gcc /usr/bin/cc(if I
      didn't link cc to gcc, make will not work).<br>
      <br>
      All I find out man page list:<br>
      <br>
      man pam_get_item<br>
<a class="moz-txt-link-freetext" href="http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.basetechref/doc/basetrf1/pam_get_item.htm">http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.basetechref/doc/basetrf1/pam_get_item.htm</a><br>
      <br>
      pam_get_user<br>
<a class="moz-txt-link-freetext" href="http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.basetechref/doc/basetrf1/pam_get_user.htm">http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.basetechref/doc/basetrf1/pam_get_user.htm</a><br>
      <br>
      pam_sm_acct_mgmt<br>
<a class="moz-txt-link-freetext" href="http://publib.boulder.ibm.com/infocenter/aix/v7r1/index.jsp?topic=%2Fcom.ibm.aix.basetechref%2Fdoc%2Fbasetrf1%2Fpam_sm_acct_mgmt.htm">http://publib.boulder.ibm.com/infocenter/aix/v7r1/index.jsp?topic=%2Fcom.ibm.aix.basetechref%2Fdoc%2Fbasetrf1%2Fpam_sm_acct_mgmt.htm</a><br>
      <br>
      man pam_sm_authenticate<br>
<a class="moz-txt-link-freetext" 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><br>
      <br>
      pam_sm_chauthtok<br>
<a class="moz-txt-link-freetext" href="http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.basetechref/doc/basetrf1/pam_sm_chauthtok.htm">http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.basetechref/doc/basetrf1/pam_sm_chauthtok.htm</a><br>
      <br>
      pam_sm_close_session<br>
<a class="moz-txt-link-freetext" href="http://publib.boulder.ibm.com/infocenter/aix/v6r1/index.jsp?topic=%2Fcom.ibm.aix.basetechref%2Fdoc%2Fbasetrf1%2Fpam_sm_close_session.htm">http://publib.boulder.ibm.com/infocenter/aix/v6r1/index.jsp?topic=%2Fcom.ibm.aix.basetechref%2Fdoc%2Fbasetrf1%2Fpam_sm_close_session.htm</a><br>
      <br>
      pam_sm_open_session<br>
<a class="moz-txt-link-freetext" href="http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.basetechref/doc/basetrf1/pam_sm_open_session.htm">http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.basetechref/doc/basetrf1/pam_sm_open_session.htm</a><br>
      <br>
      pam_sm_setcred<br>
<a class="moz-txt-link-freetext" href="http://publib.boulder.ibm.com/infocenter/aix/v6r1/index.jsp?topic=%2Fcom.ibm.aix.basetechref%2Fdoc%2Fbasetrf1%2Fpam_sm_setcred.htm">http://publib.boulder.ibm.com/infocenter/aix/v6r1/index.jsp?topic=%2Fcom.ibm.aix.basetechref%2Fdoc%2Fbasetrf1%2Fpam_sm_setcred.htm</a><br>
      <br>
      <pre class="moz-signature" cols="72">Sam
==============================================================
Sam Lin 林立山
Acom Networks
E-MAIL : <a class="moz-txt-link-abbreviated" href="mailto:sam@acom-networks.com">sam@acom-networks.com</a>
OFFICE : +886.2.2313.1416
MOBILE : +886.930.895.633
==============================================================</pre>
      於 2014/5/15 下午12:52, Fajar A. Nugraha 提到:<br>
    </div>
    <blockquote
cite="mid:CAG1y0sc2rapWvysbgrZ0q7jDx4VRnndxD3P7LqbUZoUSfd5O7g@mail.gmail.com"
      type="cite">
      <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 moz-do-not-send="true"
                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 moz-do-not-send="true"
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>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">-
List info/subscribe/unsubscribe? See <a class="moz-txt-link-freetext" href="http://www.freeradius.org/list/users.html">http://www.freeradius.org/list/users.html</a></pre>
    </blockquote>
    <br>
  </body>
</html>