compiling pam_radius_auth on AIX 6.1
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.
On Jun 12, 2016, at 9:19 AM, Manoj Rajkarnikar <manoj.rajkarnikar@gmail.com> wrote:
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.
Unfortunately, no one here has AIX. You will need to read the files yourself, and edit the pam_radius.c source so that it works on AIX. Alan DeKok.
On 12 Jun 2016, at 09:37, Alan DeKok <aland@deployingradius.com> wrote:
On Jun 12, 2016, at 9:19 AM, Manoj Rajkarnikar <manoj.rajkarnikar@gmail.com> wrote:
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.
Unfortunately, no one here has AIX.
You will need to read the files yourself, and edit the pam_radius.c source so that it works on AIX.
This one is already fixed in Git HEAD though. -Arran Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS Development Team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
participants (3)
-
Alan DeKok -
Arran Cudbard-Bell -
Manoj Rajkarnikar