<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 Arran,<br>
      <br>
      Thank you very so much for your support, there still have error
      message:<br>
      <blockquote>bash-4.2# make<br>
                cc -Wall -fPIC -c src/pam_radius_auth.c -o
        pam_radius_auth.o<br>
        src/pam_radius_auth.c:1037:16: error: conflicting types for
        'pam_sm_authenticate'<br>
         PAM_EXTERN int pam_sm_authenticate(pam_handle_t *pamh,int
        flags,int argc,CONST char **argv)<br>
                        ^<br>
        In file included from src/pam_radius_auth.h:31:0,<br>
                         from src/pam_radius_auth.c:61:<br>
        /usr/include/security/pam_modules.h:36:1: note: previous
        declaration of 'pam_sm_authenticate' was here<br>
         pam_sm_authenticate(<br>
         ^<br>
        src/pam_radius_auth.c:1240:16: error: conflicting types for
        'pam_sm_setcred'<br>
         PAM_EXTERN int pam_sm_setcred(pam_handle_t *pamh,int flags,int
        argc,CONST char **argv)<br>
                        ^<br>
        In file included from src/pam_radius_auth.h:31:0,<br>
                         from src/pam_radius_auth.c:61:<br>
        /usr/include/security/pam_modules.h:43:1: note: previous
        declaration of 'pam_sm_setcred' was here<br>
         pam_sm_setcred(<br>
         ^<br>
        src/pam_radius_auth.c: In function 'pam_private_session':<br>
        src/pam_radius_auth.c:1256:6: warning: variable 'ctrl' set but
        not used [-Wunused-but-set-variable]<br>
          int ctrl;<br>
              ^<br>
        src/pam_radius_auth.c: At top level:<br>
        src/pam_radius_auth.c:1335:16: error: conflicting types for
        'pam_sm_open_session'<br>
         PAM_EXTERN int pam_sm_open_session(pam_handle_t *pamh, int
        flags, int argc, CONST char **argv)<br>
                        ^<br>
        In file included from src/pam_radius_auth.h:31:0,<br>
                         from src/pam_radius_auth.c:61:<br>
        /usr/include/security/pam_modules.h:57:1: note: previous
        declaration of 'pam_sm_open_session' was here<br>
         pam_sm_open_session(<br>
         ^<br>
        src/pam_radius_auth.c:1340:16: error: conflicting types for
        'pam_sm_close_session'<br>
         PAM_EXTERN int pam_sm_close_session(pam_handle_t *pamh, int
        flags, int argc, CONST char **argv)<br>
                        ^<br>
        In file included from src/pam_radius_auth.h:31:0,<br>
                         from src/pam_radius_auth.c:61:<br>
        /usr/include/security/pam_modules.h:64:1: note: previous
        declaration of 'pam_sm_close_session' was here<br>
         pam_sm_close_session(<br>
         ^<br>
        src/pam_radius_auth.c:1349:16: error: conflicting types for
        'pam_sm_chauthtok'<br>
         PAM_EXTERN int pam_sm_chauthtok(pam_handle_t *pamh, int flags,
        int argc, CONST char **argv)<br>
                        ^<br>
        In file included from src/pam_radius_auth.h:31:0,<br>
                         from src/pam_radius_auth.c:61:<br>
        /usr/include/security/pam_modules.h:88:1: note: previous
        declaration of 'pam_sm_chauthtok' was here<br>
         pam_sm_chauthtok(<br>
         ^<br>
        src/pam_radius_auth.c:1575:16: error: conflicting types for
        'pam_sm_acct_mgmt'<br>
         PAM_EXTERN int pam_sm_acct_mgmt(pam_handle_t *pamh,int
        flags,int argc,CONST char **argv)<br>
                        ^<br>
        In file included from src/pam_radius_auth.h:31:0,<br>
                         from src/pam_radius_auth.c:61:<br>
        /usr/include/security/pam_modules.h:50:1: note: previous
        declaration of 'pam_sm_acct_mgmt' was here<br>
         pam_sm_acct_mgmt(<br>
         ^<br>
        make: 1254-004 The error code from the last command is 1.<br>
        <br>
        <br>
        Stop.<br>
      </blockquote>
      <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/25 下午5:50, Arran Cudbard-Bell 提到:<br>
    </div>
    <blockquote
      cite="mid:56E431DB-5248-4EF0-93C0-29310AE37A15@freeradius.org"
      type="cite">
      <pre wrap="">
</pre>
      <blockquote type="cite">
        <pre wrap="">        cc -Wall -fPIC -c src/md5.c -o md5.o
        cc -shared -Wl pam_radius_auth.o md5.o -lpam -o pam_radius_auth.so
cc: error: unrecognized command line option '-Wl'
make: 1254-004 The error code from the last command is 1.
</pre>
      </blockquote>
      <pre wrap="">
Ok, tweaked it some more, try now?

Arran Cudbard-Bell <a class="moz-txt-link-rfc2396E" href="mailto:a.cudbardb@freeradius.org"><a.cudbardb@freeradius.org></a>
FreeRADIUS Development Team

FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2

</pre>
      <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>