<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello every one,<br>
<br>
I try install pam_radius-1.3.17 into IBM AIX 7.1 server.<br>
I install Linux tool first.<br>
When I make, have error:<br>
<blockquote># make<br>
cc -Wall -fPIC -c pam_radius_auth.c -o pam_radius_auth.o<br>
pam_radius_auth.c: In function 'talk_radius':<br>
pam_radius_auth.c:886:10: warning: passing argument 6 of
'nrecvfrom' from incompatible pointer type [enabled by default]<br>
0, &saremote, &salen)) < 0) {<br>
^<br>
In file included from pam_radius_auth.h:8:0,<br>
from pam_radius_auth.c:65:<br>
/usr/include/sys/socket.h:552:9: note: expected 'socklen_t *' but
argument is of type 'int *'<br>
ssize_t recvfrom(int, void *__restrict__, size_t, int, struct
sockaddr *__restrict__, socklen_t *__restrict__);<br>
^<br>
pam_radius_auth.c: In function 'rad_converse':<br>
pam_radius_auth.c:1027:3: warning: passing argument 3 of
'pam_get_item' from incompatible pointer type [enabled by default]<br>
retval = pam_get_item(pamh, PAM_CONV, (CONST void **)
&conv);<br>
^<br>
In file included from /usr/include/security/pam_modules.h:28:0,<br>
from pam_radius_auth.c:63:<br>
/usr/include/security/pam_appl.h:193:1: note: expected 'void **'
but argument is of type 'const void **'<br>
pam_get_item(<br>
^<br>
pam_radius_auth.c:1030:3: warning: passing argument 2 of
'conv->conv' from incompatible pointer type [enabled by
default]<br>
retval = conv->conv(1, msg, &resp,conv->appdata_ptr);<br>
^<br>
pam_radius_auth.c:1030:3: note: expected 'struct pam_message **'
but argument is of type 'const struct pam_message **'<br>
pam_radius_auth.c: At top level:<br>
pam_radius_auth.c:1061:12: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'int'<br>
PAM_EXTERN int <br>
^<br>
pam_radius_auth.c:1268:12: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'int'<br>
PAM_EXTERN int<br>
^<br>
pam_radius_auth.c: In function 'pam_private_session':<br>
pam_radius_auth.c:1300:3: warning: passing argument 2 of
'pam_get_user' from incompatible pointer type [enabled by default]<br>
retval = pam_get_user(pamh, &user, NULL);<br>
^<br>
In file included from /usr/include/security/pam_modules.h:28:0,<br>
from pam_radius_auth.c:63:<br>
/usr/include/security/pam_appl.h:219:1: note: expected 'char **'
but argument is of type 'const char **'<br>
pam_get_user(<br>
^<br>
pam_radius_auth.c:1321:5: warning: passing argument 3 of
'pam_get_item' from incompatible pointer type [enabled by default]<br>
retval = pam_get_item(pamh, PAM_SERVICE, (CONST void **)
&config.client_id);<br>
^<br>
In file included from /usr/include/security/pam_modules.h:28:0,<br>
from pam_radius_auth.c:63:<br>
/usr/include/security/pam_appl.h:193:1: note: expected 'void **'
but argument is of type 'const void **'<br>
pam_get_item(<br>
^<br>
pam_radius_auth.c:1288:7: warning: variable 'ctrl' set but not
used [-Wunused-but-set-variable]<br>
int ctrl;<br>
^<br>
pam_radius_auth.c: At top level:<br>
pam_radius_auth.c:1369:12: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'int'<br>
PAM_EXTERN int<br>
^<br>
pam_radius_auth.c:1376:12: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'int'<br>
PAM_EXTERN int<br>
^<br>
pam_radius_auth.c:1387:12: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'int'<br>
PAM_EXTERN int<br>
^<br>
pam_radius_auth.c:1616:12: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'int'<br>
PAM_EXTERN int<br>
^<br>
pam_radius_auth.c:1014:12: warning: 'rad_converse' defined but not
used [-Wunused-function]<br>
static int rad_converse(pam_handle_t *pamh, int msg_style, char
*message, char **password)<br>
^<br>
pam_radius_auth.c:1283:1: warning: 'pam_private_session' defined
but not used [-Wunused-function]<br>
pam_private_session(pam_handle_t *pamh, int flags,<br>
^<br>
make: 1254-004 The error code from the last command is 1.<br>
<br>
<br>
Stop.<br>
</blockquote>
<pre class="moz-signature" cols="72">--
Sam
==============================================================
Sam Lin 林立山
Acom Networks
E-MAIL : <a class="moz-txt-link-abbreviated" href="mailto:sam@acom-networks.com">sam@acom-networks.com</a>
OFFICE : +886.2.2313.1416
MOBILE : +886.930.895.633
==============================================================</pre>
</body>
</html>