On Wed, 2004-09-15 at 12:13, Kaczmarek, Thaddeus wrote:
> On Fri, 2004-09-03 at 02:41, Chew, Darren wrote:
> > Hi All,
> > 
> > I am having trouble compiling pam_radius 1.3.16 on Solaris 9.
> > 
> > [EMAIL PROTECTED] # CC=gcc;export CC
> > [EMAIL PROTECTED] # make
> > 
> > gcc -Wall -Wshadow -Wstrict-prototypes -Wmissing-prototypes 
> > -Wnested-externs -Waggregate-return -c pam_radius_auth.c -o 
> > pam_radius_auth.o
> > In file included from pam_radius_auth.h:23,
> >                   from pam_radius_auth.c:63:
> > md5.h:21: error: parse error before "u_int32_t"
> > md5.h:21: warning: no semicolon at end of struct or union
> > md5.h:22: warning: type defaults to `int' in declaration of `bits'
> > md5.h:22: warning: data definition has no type or storage class
> > md5.h:24: error: parse error before '}' token
> > md5.h:29: error: parse error before "buf"
> > md5.h:29: warning: function declaration isn't a prototype
> > pam_radius_auth.c:151: warning: no previous prototype for '_int_free'
> > 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 `get_random_vector':
> > pam_radius_auth.c:350: error: storage size of 'my_md5' isn't known
> > pam_radius_auth.c:350: warning: unused variable `my_md5'
> > pam_radius_auth.c: In function `get_accounting_vector':
> > pam_radius_auth.c:382: error: storage size of 'my_md5' isn't known
> > pam_radius_auth.c:382: warning: unused variable `my_md5'
> > pam_radius_auth.c: In function `verify_packet':
> > pam_radius_auth.c:400: error: storage size of 'my_md5' isn't known
> > pam_radius_auth.c:400: warning: unused variable `my_md5'
> > pam_radius_auth.c: In function `add_password':
> > pam_radius_auth.c:497: error: storage size of 'md5_secret' isn't known
> > pam_radius_auth.c:497: error: storage size of 'my_md5' isn't known
> > pam_radius_auth.c:497: warning: unused variable `md5_secret'
> > pam_radius_auth.c:497: warning: unused variable `my_md5'
> > 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
> > make: *** [pam_radius_auth.o] Error 1
> > 
> > [EMAIL PROTECTED] # uname -a
> > SunOS testbox1 5.9 Generic_117171-07 sun4u sparc SUNW,UltraAX-i2
> > 
> > [EMAIL PROTECTED] # gcc --version
> > gcc (GCC) 3.4.1
> > 
> > Any help greatly appreciated.
> > 
> > Darren
> > 
> Same boat here, but using Fedora Core 2.
> pam_radius_auth.c: In function `pam_sm_chauthtok':
> pam_radius_auth.c:1362: error: `PAM_AUTHTOK_ERR' undeclared (first use
> in this function)
> pam_radius_auth.c:1371: error: `argc' undeclared (first use in this
> function)
> pam_radius_auth.c:1371: error: `argv' undeclared (first use in this
> function)
> pam_radius_auth.c:1374: error: `pamh' undeclared (first use in this
> function)
> pam_radius_auth.c:1375: error: `PAM_SUCCESS' undeclared (first use in
> this function)
> pam_radius_auth.c:1380: error: `PAM_USER_UNKNOWN' undeclared (first use
> in this function)
> pam_radius_auth.c:1395: error: `PAM_SERVICE' undeclared (first use in
> this function)
> pam_radius_auth.c:1404: error: `PAM_OLDAUTHTOK' undeclared (first use in
> this function)
> pam_radius_auth.c:1409: error: `PAM_AUTHTOK' undeclared (first use in
> this function)
> pam_radius_auth.c:1414: error: `flags' undeclared (first use in this
> function)
> pam_radius_auth.c:1414: error: `PAM_PRELIM_CHECK' undeclared (first use
> in this function)
> pam_radius_auth.c:1416: error: `PAM_PROMPT_ECHO_OFF' undeclared (first
> use in this function)
> pam_radius_auth.c:1442: error: `PAM_PERM_DENIED' undeclared (first use
> in this function)
> pam_radius_auth.c:1467: error: `PAM_ERROR_MSG' undeclared (first use in
> this function)
> pam_radius_auth.c:1519: error: `PAM_UPDATE_AUTHTOK' undeclared (first
> use in this function)
> pam_radius_auth.c: At top level:
> pam_radius_auth.c:1583: error: syntax error before "int"
> pam_radius_auth.c:1584: error: syntax error before '*' token
> pam_radius_auth.c: In function `pam_sm_acct_mgmt':
> pam_radius_auth.c:1587: error: `PAM_SUCCESS' undeclared (first use in
> this function)
> make: *** [pam_radius_auth.o] Error 1
> 
> 
> Ted
> 
Build's fine on Redhat 9, opened a bug for GCC 3.3.7, 
Redhat bug# 132657.

Ted

DISCLAIMER

This e-mail, and any attachments thereto, is intended only for use by the
addressee(s) named herein and may contain legally privileged and/or
confidential information. If you are not the intended recipient of this
e-mail, you are hereby notified that any dissemination, distribution or
copying of this e-mail, and any attachments thereto, is strictly prohibited.
If you have received this e-mail in error, please immediately notify me and
permanently delete the original and any copy of any e-mail and any printout
thereof.

E-mail transmission cannot be guaranteed to be secure or error-free. The
sender therefore does not accept liability for any errors or omissions in
the contents of this message which arise as a result of e-mail transmission.
REGARDING PRIVACY AND CONFIDENTIALITY
Crown Financial Group may, at its discretion, monitor and review the content
of all e-mail communications.


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

Reply via email to