On Thu, May 15, 2014 at 9:56 AM, Sam 林立山 <sam@acom-networks.com> wrote:
Hello Arran,
I don't understand your step2. What's your mean man page? There is only error message on the screen.
Probably something like this
src/pam_radius_auth.c: At top level: src/pam_radius_auth.c:1037:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' PAM_EXTERN int pam_sm_authenticate(pam_handle_t *pamh,int flags,int argc,CONST char **argv) ^ src/pam_radius_auth.c:1240:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' PAM_EXTERN int pam_sm_setcred(pam_handle_t *pamh,int flags,int argc,CONST char **argv)
Note the errors (assuming those are from latest git master)? Now run "man pam_sm_authenticate" and "man pam_sm_setcred". The documentation for those functions in AIX are probably available in the man page. FWIW, google search for "aix pam_sm_authenticate" returns this: http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.i... Also, have you tried using gcc? It might produce different result. -- Fajar