pam_radius_auth on hp-ux 11.00

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear all PAM Expert
 
Happy New Year all
 
Hi i need some information about how to compile pam_radius_auth-1.3.15 from freeradius on my hp-ux machine ( HP-UX 11.00  ). I tried to compiled using gcc 3.3.2 and got some error ( see the error code attachment ). Because I m not a c programmer so can anyone give me some advise or may be some technical documentation about how to compiled pam_radius_auth-1.3.15 on the HP-UX machine ( its work nicely on my linux , freebsd and solaris ) ?Thnx for your help
 
 
 rgrds
 
Thomas


Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
In file included from pam_radius_auth.c:41:
/usr/include/security/pam_modules.h:19: error: parse error before '*' token
/usr/include/security/pam_modules.h:26: error: parse error before '*' token
/usr/include/security/pam_modules.h:33: error: parse error before '*' token
/usr/include/security/pam_modules.h:40: error: parse error before '*' token
/usr/include/security/pam_modules.h:47: error: parse error before '*' token
/usr/include/security/pam_modules.h:84: error: parse error before '*' token
In file included from pam_radius_auth.c:43:
pam_radius_auth.h:91:8: warning: extra tokens at end of #endif directive
pam_radius_auth.c:128: error: parse error before '*' token
pam_radius_auth.c: In function `_int_free':
pam_radius_auth.c:130: error: `x' undeclared (first use in this function)
pam_radius_auth.c:130: error: (Each undeclared identifier is reported only once
pam_radius_auth.c:130: error: for each function it appears in.)
pam_radius_auth.c: In function `ipstr2long':
pam_radius_auth.c:157: warning: subscript has type `char'
pam_radius_auth.c: In function `good_ipaddr':
pam_radius_auth.c:193: warning: subscript has type `char'
pam_radius_auth.c: In function `host2server':
pam_radius_auth.c:240: error: `PAM_AUTHINFO_UNAVAIL' undeclared (first use in this function)
pam_radius_auth.c:247: warning: subscript has type `char'
pam_radius_auth.c:277: error: `PAM_SUCCESS' undeclared (first use in this function)
pam_radius_auth.c: In function `initialize':
pam_radius_auth.c:565: error: `PAM_ABORT' undeclared (first use in this function)
pam_radius_auth.c:624: error: `PAM_AUTHINFO_UNAVAIL' undeclared (first use in this function)
pam_radius_auth.c:656: error: `PAM_SUCCESS' undeclared (first use in this function)
pam_radius_auth.c: In function `talk_radius':
pam_radius_auth.c:762: error: `PAM_SUCCESS' undeclared (first use in this function)
pam_radius_auth.c:957: error: `PAM_AUTHINFO_UNAVAIL' undeclared (first use in this function)
pam_radius_auth.c: At top level:
pam_radius_auth.c:972: error: parse error before '*' token
pam_radius_auth.c: In function `rad_converse':
pam_radius_auth.c:975: error: storage size of `resp_msg' isn't known
pam_radius_auth.c:980: error: `msg_style' undeclared (first use in this function)
pam_radius_auth.c:981: error: `message' undeclared (first use in this function)
pam_radius_auth.c:985: warning: implicit declaration of function `pam_get_item'
pam_radius_auth.c:985: error: `pamh' undeclared (first use in this function)
pam_radius_auth.c:985: error: `PAM_CONV' undeclared (first use in this function)
pam_radius_auth.c:986: error: `PAM_SUCCESS' undeclared (first use in this function)
pam_radius_auth.c:988: error: dereferencing pointer to incomplete type
pam_radius_auth.c:988: error: dereferencing pointer to incomplete type
pam_radius_auth.c:991: error: `password' undeclared (first use in this function)
pam_radius_auth.c:1000: error: dereferencing pointer to incomplete type
pam_radius_auth.c:975: warning: unused variable `resp_msg'
pam_radius_auth.c: At top level:
pam_radius_auth.c:1021: error: syntax error before "int"
pam_radius_auth.c:1022: error: parse error before '*' token
pam_radius_auth.c: In function `pam_sm_authenticate':
pam_radius_auth.c:1029: error: `PAM_AUTH_ERR' undeclared (first use in this function)
pam_radius_auth.c:1038: error: `argc' undeclared (first use in this function)
pam_radius_auth.c:1038: error: `argv' undeclared (first use in this function)
pam_radius_auth.c:1042: warning: implicit declaration of function `pam_get_user'
pam_radius_auth.c:1042: error: `pamh' undeclared (first use in this function)
pam_radius_auth.c:1043: error: `PAM_SUCCESS' undeclared (first use in this function)
pam_radius_auth.c:1043: warning: implicit declaration of function `pam_set_data'
pam_radius_auth.c:1049: error: `PAM_USER_UNKNOWN' undeclared (first use in this function)
pam_radius_auth.c:1070: error: `PAM_SERVICE' undeclared (first use in this function)
pam_radius_auth.c:1084: error: `PAM_AUTHTOK' undeclared (first use in this function)
pam_radius_auth.c:1101: error: `PAM_PROMPT_ECHO_OFF' undeclared (first use in this function)
pam_radius_auth.c:1117: error: `PAM_RHOST' undeclared (first use in this function)
pam_radius_auth.c:1145: error: `PAM_AUTHINFO_UNAVAIL' undeclared (first use in this function)
pam_radius_auth.c:1153: error: `PAM_PROMPT_ECHO_ON' undeclared (first use in this function)
pam_radius_auth.c:1178: warning: implicit declaration of function `pam_set_item'
pam_radius_auth.c: At top level:
pam_radius_auth.c:1205: error: syntax error before "int"
pam_radius_auth.c:1206: error: parse error before '*' token
pam_radius_auth.c: In function `pam_sm_setcred':
pam_radius_auth.c:1210: error: `PAM_SUCCESS' undeclared (first use in this function)
pam_radius_auth.c:1212: warning: implicit declaration of function `pam_get_data'
pam_radius_auth.c:1212: error: `pamh' undeclared (first use in this function)
pam_radius_auth.c: At top level:
pam_radius_auth.c:1220: error: parse error before '*' token
pam_radius_auth.c: In function `pam_private_session':
pam_radius_auth.c:1226: error: `PAM_AUTH_ERR' undeclared (first use in this function)
pam_radius_auth.c:1234: error: `argc' undeclared (first use in this function)
pam_radius_auth.c:1234: error: `argv' undeclared (first use in this function)
pam_radius_auth.c:1237: error: `pamh' undeclared (first use in this function)
pam_radius_auth.c:1238: error: `PAM_SUCCESS' undeclared (first use in this function)
pam_radius_auth.c:1238: error: `PAM_SESSION_ERR' undeclared (first use in this function)
pam_radius_auth.c:1243: error: `PAM_USER_UNKNOWN' undeclared (first use in this function)
pam_radius_auth.c:1258: error: `PAM_SERVICE' undeclared (first use in this function)
pam_radius_auth.c:1273: error: `status' undeclared (first use in this function)
pam_radius_auth.c:1291: error: `PAM_PERM_DENIED' undeclared (first use in this function)
pam_radius_auth.c: At top level:
pam_radius_auth.c:1305: error: syntax error before "int"
pam_radius_auth.c:1306: error: parse error before '*' token
pam_radius_auth.c: In function `pam_sm_open_session':
pam_radius_auth.c:1309: error: `pamh' undeclared (first use in this function)
pam_radius_auth.c:1309: error: `flags' undeclared (first use in this function)
pam_radius_auth.c:1309: error: `argc' undeclared (first use in this function)
pam_radius_auth.c:1309: error: `argv' undeclared (first use in this function)
pam_radius_auth.c: At top level:
pam_radius_auth.c:1312: error: syntax error before "int"
pam_radius_auth.c:1313: error: parse error before '*' token
pam_radius_auth.c: In function `pam_sm_close_session':
pam_radius_auth.c:1316: error: `pamh' undeclared (first use in this function)
pam_radius_auth.c:1316: error: `flags' undeclared (first use in this function)
pam_radius_auth.c:1316: error: `argc' undeclared (first use in this function)
pam_radius_auth.c:1316: error: `argv' undeclared (first use in this function)
pam_radius_auth.c: At top level:
pam_radius_auth.c:1323: error: syntax error before "int"
pam_radius_auth.c:1324: error: parse error before '*' token
pam_radius_auth.c: In function `pam_sm_chauthtok':
pam_radius_auth.c:1331: error: `PAM_AUTHTOK_ERR' undeclared (first use in this function)
pam_radius_auth.c:1340: error: `argc' undeclared (first use in this function)
pam_radius_auth.c:1340: error: `argv' undeclared (first use in this function)
pam_radius_auth.c:1343: error: `pamh' undeclared (first use in this function)
pam_radius_auth.c:1344: error: `PAM_SUCCESS' undeclared (first use in this function)
pam_radius_auth.c:1349: error: `PAM_USER_UNKNOWN' undeclared (first use in this function)
pam_radius_auth.c:1364: error: `PAM_SERVICE' undeclared (first use in this function)
pam_radius_auth.c:1373: error: `PAM_OLDAUTHTOK' undeclared (first use in this function)
pam_radius_auth.c:1378: error: `PAM_AUTHTOK' undeclared (first use in this function)
pam_radius_auth.c:1383: error: `flags' undeclared (first use in this function)
pam_radius_auth.c:1385: error: `PAM_PROMPT_ECHO_OFF' undeclared (first use in this function)
pam_radius_auth.c:1411: error: `PAM_PERM_DENIED' undeclared (first use in this function)
pam_radius_auth.c:1436: error: `PAM_ERROR_MSG' undeclared (first use in this function)
# 

[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux