IBM AIX 7.1 install pam_radius-1.3.17 error

Sam 林立山 sam at acom-networks.com
Thu May 15 04:56:58 CEST 2014


Hello Arran,

I don't understand your step2. What's your mean man page? There is only 
error message on the screen.
bash-4.2# make
         cc -Wall -fPIC -c src/pam_radius_auth.c -o pam_radius_auth.o
src/pam_radius_auth.c: In function 'rad_converse':
src/pam_radius_auth.c:1004:2: warning: passing argument 3 of 
'pam_get_item' from incompatible pointer type [enabled by default]
   retval = pam_get_item(pamh, PAM_CONV, (CONST void **) &conv);
   ^
In file included from src/pam_radius_auth.h:25:0,
                  from src/pam_radius_auth.c:61:
/usr/include/security/pam_appl.h:193:1: note: expected 'void **' but 
argument is of type 'const void **'
  pam_get_item(
  ^
src/pam_radius_auth.c:1007:2: warning: passing argument 2 of 
'conv->conv' from incompatible pointer type [enabled by default]
   retval = conv->conv(1, msg, &resp,conv->appdata_ptr);
   ^
src/pam_radius_auth.c:1007:2: note: expected 'struct pam_message **' but 
argument is of type 'const struct pam_message **'
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)
                       ^
src/pam_radius_auth.c: In function 'pam_private_session':
src/pam_radius_auth.c:1268:2: warning: passing argument 2 of 
'pam_get_user' from incompatible pointer type [enabled by default]
   retval = pam_get_user(pamh, &user, NULL);
   ^
In file included from src/pam_radius_auth.h:25:0,
                  from src/pam_radius_auth.c:61:
/usr/include/security/pam_appl.h:219:1: note: expected 'char **' but 
argument is of type 'const char **'
  pam_get_user(
  ^
src/pam_radius_auth.c:1288:3: warning: passing argument 3 of 
'pam_get_item' from incompatible pointer type [enabled by default]
    retval = pam_get_item(pamh, PAM_SERVICE, (CONST void **) 
&config.client_id);
    ^
In file included from src/pam_radius_auth.h:25:0,
                  from src/pam_radius_auth.c:61:
/usr/include/security/pam_appl.h:193:1: note: expected 'void **' but 
argument is of type 'const void **'
  pam_get_item(
  ^
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:12: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before 'int'
  PAM_EXTERN int pam_sm_open_session(pam_handle_t *pamh, int flags, int 
argc, CONST char **argv)
                       ^
src/pam_radius_auth.c:1340:12: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before 'int'
  PAM_EXTERN int pam_sm_close_session(pam_handle_t *pamh, int flags, int 
argc, CONST char **argv)
                       ^
src/pam_radius_auth.c:1349:12: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before 'int'
  PAM_EXTERN int pam_sm_chauthtok(pam_handle_t *pamh, int flags, int 
argc, CONST char **argv)
                       ^
src/pam_radius_auth.c:1575:12: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before 'int'
  PAM_EXTERN int pam_sm_acct_mgmt(pam_handle_t *pamh,int flags,int 
argc,CONST char **argv)
                       ^
src/pam_radius_auth.c:991:12: warning: 'rad_converse' defined but not 
used [-Wunused-function]
  static int rad_converse(pam_handle_t *pamh, int msg_style, char 
*message, char **password)
                       ^
src/pam_radius_auth.c:1253:12: warning: 'pam_private_session' defined 
but not used [-Wunused-function]
  static int pam_private_session(pam_handle_t *pamh, int flags, int 
argc, CONST char **argv, int status)
                       ^
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/14 下午4:24, Arran Cudbard-Bell 提到:
> On 14 May 2014, at 07:42, Sam 林立山 <sam at acom-networks.com> wrote:
>
>> Hello Arran,
>>
>> Thanks for your reply, I download pam_radius-master.
>> ./configure and make, still not work.
>> looks like same problem.
> Ok. In the last email I detailed two steps.
>
> Go to the second step.
>
> -Arran
>
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20140515/cbc4d2df/attachment.html>


More information about the Freeradius-Users mailing list