Alan,
I made the uint32_t change in md5.h and that got rid of a few errors.
This is the output from gmake:

# gmake
cc -Wall -fPIC -c pam_radius_auth.c -o pam_radius_auth.o
pam_radius_auth.c: In function `ipstr2long':
pam_radius_auth.c:179: warning: subscript has type `char'
pam_radius_auth.c: In function `good_ipaddr':
pam_radius_auth.c:215: warning: subscript has type `char'
pam_radius_auth.c: In function `host2server':
pam_radius_auth.c:271: warning: subscript has type `char'
pam_radius_auth.c: In function `rad_converse':
pam_radius_auth.c:1016: warning: passing arg 3 of `pam_get_item' from
incompatible pointer type
pam_radius_auth.c:1019: warning: passing arg 2 of pointer to function
from incompatible pointer type
pam_radius_auth.c: In function `pam_sm_authenticate':
pam_radius_auth.c:1071: warning: passing arg 2 of `pam_get_user' from
incompatible pointer type
pam_radius_auth.c:1099: warning: passing arg 3 of `pam_get_item' from
incompatible pointer type
pam_radius_auth.c:1113: warning: passing arg 3 of `pam_get_item' from
incompatible pointer type
pam_radius_auth.c:1146: warning: passing arg 3 of `pam_get_item' from
incompatible pointer type
pam_radius_auth.c: In function `pam_private_session':
pam_radius_auth.c:1267: warning: passing arg 2 of `pam_get_user' from
incompatible pointer type
pam_radius_auth.c:1288: warning: passing arg 3 of `pam_get_item' from
incompatible pointer type
pam_radius_auth.c: In function `pam_sm_chauthtok':
pam_radius_auth.c:1374: warning: passing arg 2 of `pam_get_user' from
incompatible pointer type
pam_radius_auth.c:1395: warning: passing arg 3 of `pam_get_item' from
incompatible pointer type
pam_radius_auth.c:1404: warning: passing arg 3 of `pam_get_item' from
incompatible pointer type
pam_radius_auth.c:1409: warning: passing arg 3 of `pam_get_item' from
incompatible pointer type
gcc -shared pam_radius_auth.o md5.o -lpam -lc -o pam_radius_auth.so
gcc: md5.o: No such file or directory
gmake: *** [pam_radius_auth.o] Error 1
#

   =SvW=

>   ////
>   o?o
>    ~
> 


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Alan
DeKok
Sent: Monday, May 03, 2004 1:59 PM
To: [EMAIL PROTECTED]
Subject: Re: Radius-PAM compilation errors 


"VanWambeck, Steve" <[EMAIL PROTECTED]> wrote:
> I submitted a question last Thursday concerning the Radius-PAM module
=
> not compiling.
> I was wondering if you had a chance to determine what the issue maybe?

  I thought that the issue had been fixed in the latest version.

  I don't recall seeing the message, and I don't see it in the list
archives.

  In any case, the problem is 99% likely to be "uint32_t" versus
"u_int32_t" issues.  Change one to the other, and it should work...

  Alan DeKok.


- 
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to