<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"><br>
Hello Arran,<br>
<br>
Thanks for your reply, I download pam_radius-master.<br>
./configure and make, still not work.<br>
looks like same problem.<br>
<blockquote># make<br>
cc -Wall -fPIC -c src/pam_radius_auth.c -o
pam_radius_auth.o<br>
src/pam_radius_auth.c: In function 'rad_converse':<br>
src/pam_radius_auth.c:1004:2: 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 src/pam_radius_auth.h:25:0,<br>
from src/pam_radius_auth.c:61:<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>
src/pam_radius_auth.c:1007:2: 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>
src/pam_radius_auth.c:1007:2: note: expected 'struct pam_message
**' but argument is of type 'const struct pam_message **'<br>
src/pam_radius_auth.c: At top level:<br>
src/pam_radius_auth.c:1037:12: error: expected '=', ',', ';',
'asm' or '__attribute__' before 'int'<br>
PAM_EXTERN int pam_sm_authenticate(pam_handle_t *pamh,int
flags,int argc,CONST char **argv)<br>
^<br>
src/pam_radius_auth.c:1240:12: error: expected '=', ',', ';',
'asm' or '__attribute__' before 'int'<br>
PAM_EXTERN int pam_sm_setcred(pam_handle_t *pamh,int flags,int
argc,CONST char **argv)<br>
^<br>
src/pam_radius_auth.c: In function 'pam_private_session':<br>
src/pam_radius_auth.c:1268:2: 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 src/pam_radius_auth.h:25:0,<br>
from src/pam_radius_auth.c:61:<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>
src/pam_radius_auth.c:1288:3: 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 src/pam_radius_auth.h:25:0,<br>
from src/pam_radius_auth.c:61:<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>
src/pam_radius_auth.c:1256:6: warning: variable 'ctrl' set but
not used [-Wunused-but-set-variable]<br>
int ctrl;<br>
^<br>
src/pam_radius_auth.c: At top level:<br>
src/pam_radius_auth.c:1335:12: error: expected '=', ',', ';',
'asm' or '__attribute__' before 'int'<br>
PAM_EXTERN int pam_sm_open_session(pam_handle_t *pamh, int
flags, int argc, CONST char **argv)<br>
^<br>
src/pam_radius_auth.c:1340:12: error: expected '=', ',', ';',
'asm' or '__attribute__' before 'int'<br>
PAM_EXTERN int pam_sm_close_session(pam_handle_t *pamh, int
flags, int argc, CONST char **argv)<br>
^<br>
src/pam_radius_auth.c:1349:12: error: expected '=', ',', ';',
'asm' or '__attribute__' before 'int'<br>
PAM_EXTERN int pam_sm_chauthtok(pam_handle_t *pamh, int flags,
int argc, CONST char **argv)<br>
^<br>
src/pam_radius_auth.c:1575:12: error: expected '=', ',', ';',
'asm' or '__attribute__' before 'int'<br>
PAM_EXTERN int pam_sm_acct_mgmt(pam_handle_t *pamh,int
flags,int argc,CONST char **argv)<br>
^<br>
src/pam_radius_auth.c:991: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>
src/pam_radius_auth.c:1253:12: warning: 'pam_private_session'
defined but not used [-Wunused-function]<br>
static int pam_private_session(pam_handle_t *pamh, int flags,
int argc, CONST char **argv, int status)<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">
</pre>
於 2014/5/14 下午2:06, Arran Cudbard-Bell 提到:<br>
</div>
<blockquote
cite="mid:D95D70ED-B441-4668-BFD3-FDC24A51AA7E@freeradius.org"
type="cite">
<pre wrap="">
On 14 May 2014, at 04:48, Sam 林立山 <a class="moz-txt-link-rfc2396E" href="mailto:sam@acom-networks.com"><sam@acom-networks.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hello every one,
I try install pam_radius-1.3.17 into IBM AIX 7.1 server.
</pre>
</blockquote>
<pre wrap="">
Try the code from the git repo first
<a class="moz-txt-link-freetext" href="https://github.com/FreeRADIUS/pam_radius">https://github.com/FreeRADIUS/pam_radius</a>
If that doesn't work, provide extracts from the man pages for
the functions it's complaining about, and we can try and fix it.
-Arran
Arran Cudbard-Bell <a class="moz-txt-link-rfc2396E" href="mailto:a.cudbardb@freeradius.org"><a.cudbardb@freeradius.org></a>
FreeRADIUS Development Team
FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">-
List info/subscribe/unsubscribe? See <a class="moz-txt-link-freetext" href="http://www.freeradius.org/list/users.html">http://www.freeradius.org/list/users.html</a></pre>
</blockquote>
<br>
</body>
</html>