<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>
I don't understand your step2. What's your mean man page? There is
only error message on the screen.<br>
bash-4.2# 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>
<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>
於 2014/5/14 下午4:24, Arran Cudbard-Bell 提到:<br>
</div>
<blockquote
cite="mid:FC4F0483-9F31-447A-94DA-2C61E495CA3C@freeradius.org"
type="cite">
<pre wrap="">
On 14 May 2014, at 07:42, 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 Arran,
Thanks for your reply, I download pam_radius-master.
./configure and make, still not work.
looks like same problem.
</pre>
</blockquote>
<pre wrap="">
Ok. In the last email I detailed two steps.
Go to the second step.
-Arran
</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>