compiling pam_radius_auth on AIX 6.1

Manoj Rajkarnikar manoj.rajkarnikar at gmail.com
Sun Jun 12 15:19:45 CEST 2016


Dear All,

I'm trying to compile pam_radius client on AIX 6.1. Autoconf does not
complain about anything but make gives below error. below is my env and the
error I'm getting.

bash-4.2# make --version
GNU Make 3.80
Copyright (C) 2002  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

bash-4.2# cc --version
cc (GCC) 4.2.0
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

bash-4.2# make
make[1]: Entering directory `/manoj/pam_radius-master/src'
cc -Wall -fPIC -c pam_radius_auth.c -o pam_radius_auth.o
pam_radius_auth.c:1073: error: conflicting types for 'pam_sm_authenticate'
/usr/include/security/pam_modules.h:40: error: previous declaration of
'pam_sm_authenticate' was here
pam_radius_auth.c:1296: error: conflicting types for 'pam_sm_setcred'
/usr/include/security/pam_modules.h:47: error: previous declaration of
'pam_sm_setcred' was here
pam_radius_auth.c:1391: error: conflicting types for 'pam_sm_open_session'
/usr/include/security/pam_modules.h:61: error: previous declaration of
'pam_sm_open_session' was here
pam_radius_auth.c:1396: error: conflicting types for 'pam_sm_close_session'
/usr/include/security/pam_modules.h:68: error: previous declaration of
'pam_sm_close_session' was here
pam_radius_auth.c:1405: error: conflicting types for 'pam_sm_chauthtok'
/usr/include/security/pam_modules.h:92: error: previous declaration of
'pam_sm_chauthtok' was here
pam_radius_auth.c:1631: error: conflicting types for 'pam_sm_acct_mgmt'
/usr/include/security/pam_modules.h:54: error: previous declaration of
'pam_sm_acct_mgmt' was here
make[1]: *** [pam_radius_auth.o] Error 1
make[1]: Leaving directory `/manoj/pam_radius-master/src'
make: *** [src/pam_radius_auth.o] Error 2

Thanks alot.

Manoj.


More information about the Freeradius-Users mailing list