IBM AIX 7.1 install pam_radius-1.3.17 error

Arran Cudbard-Bell a.cudbardb at freeradius.org
Mon May 26 15:08:37 CEST 2014


> 
> Thank you very so much for your support, there still have error message:

Can you send me the output of

cat /usr/include/security/pam_modules.h

For some reason the pam function signatures still don't match what you have on your system.

-Arran

> bash-4.2# make
>         cc -Wall -fPIC -c src/pam_radius_auth.c -o pam_radius_auth.o
> src/pam_radius_auth.c:1037:16: error: conflicting types for 'pam_sm_authenticate'
>  PAM_EXTERN int pam_sm_authenticate(pam_handle_t *pamh,int flags,int argc,CONST char **argv)
>                 ^
> In file included from src/pam_radius_auth.h:31:0,
>                  from src/pam_radius_auth.c:61:
> /usr/include/security/pam_modules.h:36:1: note: previous declaration of 'pam_sm_authenticate' was here
>  pam_sm_authenticate(
>  ^
> src/pam_radius_auth.c:1240:16: error: conflicting types for 'pam_sm_setcred'
>  PAM_EXTERN int pam_sm_setcred(pam_handle_t *pamh,int flags,int argc,CONST char **argv)
>                 ^
> In file included from src/pam_radius_auth.h:31:0,
>                  from src/pam_radius_auth.c:61:
> /usr/include/security/pam_modules.h:43:1: note: previous declaration of 'pam_sm_setcred' was here
>  pam_sm_setcred(
>  ^
> src/pam_radius_auth.c: In function 'pam_private_session':
> src/pam_radius_auth.c:1256:6: warning: variable 'ctrl' set but not used [-Wunused-but-set-variable]
>   int ctrl;
>       ^
> src/pam_radius_auth.c: At top level:
> src/pam_radius_auth.c:1335:16: error: conflicting types for 'pam_sm_open_session'
>  PAM_EXTERN int pam_sm_open_session(pam_handle_t *pamh, int flags, int argc, CONST char **argv)
>                 ^
> In file included from src/pam_radius_auth.h:31:0,
>                  from src/pam_radius_auth.c:61:
> /usr/include/security/pam_modules.h:57:1: note: previous declaration of 'pam_sm_open_session' was here
>  pam_sm_open_session(
>  ^
> src/pam_radius_auth.c:1340:16: error: conflicting types for 'pam_sm_close_session'
>  PAM_EXTERN int pam_sm_close_session(pam_handle_t *pamh, int flags, int argc, CONST char **argv)
>                 ^
> In file included from src/pam_radius_auth.h:31:0,
>                  from src/pam_radius_auth.c:61:
> /usr/include/security/pam_modules.h:64:1: note: previous declaration of 'pam_sm_close_session' was here
>  pam_sm_close_session(
>  ^
> src/pam_radius_auth.c:1349:16: error: conflicting types for 'pam_sm_chauthtok'
>  PAM_EXTERN int pam_sm_chauthtok(pam_handle_t *pamh, int flags, int argc, CONST char **argv)
>                 ^
> In file included from src/pam_radius_auth.h:31:0,
>                  from src/pam_radius_auth.c:61:
> /usr/include/security/pam_modules.h:88:1: note: previous declaration of 'pam_sm_chauthtok' was here
>  pam_sm_chauthtok(
>  ^
> src/pam_radius_auth.c:1575:16: error: conflicting types for 'pam_sm_acct_mgmt'
>  PAM_EXTERN int pam_sm_acct_mgmt(pam_handle_t *pamh,int flags,int argc,CONST char **argv)
>                 ^
> In file included from src/pam_radius_auth.h:31:0,
>                  from src/pam_radius_auth.c:61:
> /usr/include/security/pam_modules.h:50:1: note: previous declaration of 'pam_sm_acct_mgmt' was here
>  pam_sm_acct_mgmt(
>  ^
> make: 1254-004 The error code from the last command is 1.
> 
> 
> Stop.
> Sam
> ==============================================================
> Sam Lin 林立山
> Acom Networks
> E-MAIL : 
> sam at acom-networks.com
> 
> OFFICE : +886.2.2313.1416
> MOBILE : +886.930.895.633
> ==============================================================
> 
> 於 2014/5/25 下午5:50, Arran Cudbard-Bell 提到:
>>>         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.
>>> 
>> Ok, tweaked it some more, try now?
>> 
>> Arran Cudbard-Bell 
>> <a.cudbardb at freeradius.org>
>> 
>> FreeRADIUS Development Team
>> 
>> FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
>> 
>> 
>> 
>> 
>> -
>> List info/subscribe/unsubscribe? See 
>> http://www.freeradius.org/list/users.html
> 
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS Development Team

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 881 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20140526/f786d075/attachment-0001.pgp>


More information about the Freeradius-Users mailing list