IBM AIX 7.1 install pam_radius-1.3.17 error
Sam 林立山
sam at acom-networks.com
Tue May 20 12:55:45 CEST 2014
Hello Arran,
Thank for your support.
I try today and have error:
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: In function 'pam_sm_authenticate':
src/pam_radius_auth.c:1056: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:1071:3: warning: passing argument 3 of
'pam_get_item' from incompatible pointer type [enabled by default]
retval = pam_get_item(pamh, PAM_RUSER, (const void **) &userinfo);
^
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:1095: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:1109:2: warning: passing argument 3 of
'pam_get_item' from incompatible pointer type [enabled by default]
retval = pam_get_item(pamh, PAM_AUTHTOK, (const void **) &password);
^
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:1142:2: warning: passing argument 3 of
'pam_get_item' from incompatible pointer type [enabled by default]
retval = pam_get_item(pamh, PAM_RHOST, (const void **) &rhost);
^
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: In function 'pam_sm_setcred':
src/pam_radius_auth.c:1246:2: warning: passing argument 3 of
'pam_get_data' from incompatible pointer type [enabled by default]
pam_get_data(pamh, "rad_setcred_return", (const void **) &pret);
^
In file included from src/pam_radius_auth.h:25:0,
from src/pam_radius_auth.c:61:
/usr/include/security/pam_appl.h:243:1: note: expected 'void **' but
argument is of type 'const void **'
pam_get_data(
^
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: In function 'pam_sm_chauthtok':
src/pam_radius_auth.c:1368: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:1388: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:1397:2: warning: passing argument 3 of
'pam_get_item' from incompatible pointer type [enabled by default]
retval = pam_get_item(pamh, PAM_OLDAUTHTOK, (const void **)
&password);
^
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:1402:2: warning: passing argument 3 of
'pam_get_item' from incompatible pointer type [enabled by default]
retval = pam_get_item(pamh, PAM_AUTHTOK, (const void **)
&new_password);
^
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(
^
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.
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/17 下午4:42, Arran Cudbard-Bell 提到:
> On 15 May 2014, at 10:52, Sam Lin <sam at acom-networks.com> wrote:
>
>> Hello Fajar,
>>
>> Yes, all error come from gcc and thank you for export command.
> Ok. Git pull and try again. I might have been something simple
> like PAM_EXTERN not being defined.
>
> -Arran
>
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20140520/7c72460b/attachment-0001.html>
More information about the Freeradius-Users
mailing list