<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt">gcc -Wall -fPIC -c pam_radius_auth.c -o pam_radius_auth.o<br>In file included from pam_radius_auth.h:23,<br> from pam_radius_auth.c:63:<br>md5.h:21: error: syntax error before 'u_int32_t'<br>md5.h:21: warning: no semicolon at end of struct or union<br><br>check out what is going on in pam_radius_auth.h on line 23<br><div> </div>==================================================<br><br>Benjamin K. Eshun<div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Message d'origine ----<br>De : Paul Goodman <pgoodman@ucar.edu><br>À : freeradius-users@lists.freeradius.org<br>Envoyé le : Jeudi,
15 Mars 2007, 17h34mn 51s<br>Objet : Compile problems on Solaris 10<br><br><div>I am trying to compile the pam_radius-1.3.16 modules on a Solaris 10 system, but when I run make, I get the following error:<br><br>gcc -Wall -fPIC -c pam_radius_auth.c -o pam_radius_auth.o<br>In file included from pam_radius_auth.h:23,<br> from pam_radius_auth.c:63:<br>md5.h:21: error: syntax error before 'u_int32_t'<br>md5.h:21: warning: no semicolon at end of struct or union<br>md5.h:22: warning: type defaults to 'int' in declaration of 'bits'<br>md5.h:22: warning: data definition has no type or storage class<br>md5.h:24: error: syntax error before '}' token<br>md5.h:29: error: syntax error before 'buf'<br>pam_radius_auth.c: In function 'get_random_vector':<br>pam_radius_auth.c:350: error: storage size of 'my_md5' isn't known<br>pam_radius_auth.c:350: warning: unused variable
'my_md5'<br>pam_radius_auth.c: In function 'get_accounting_vector':<br>pam_radius_auth.c:382: error: storage size of 'my_md5' isn't known<br>pam_radius_auth.c:382: warning: unused variable 'my_md5'<br>pam_radius_auth.c: In function 'verify_packet':<br>pam_radius_auth.c:400: error: storage size of 'my_md5' isn't known<br>pam_radius_auth.c:400: warning: unused variable 'my_md5'<br>pam_radius_auth.c: In function 'add_password':<br>pam_radius_auth.c:497: error: storage size of 'md5_secret' isn't known<br>pam_radius_auth.c:497: error: storage size of 'my_md5' isn't known<br>pam_radius_auth.c:497: warning: unused variable 'my_md5'<br>pam_radius_auth.c:497: warning: unused variable 'md5_secret'<br>pam_radius_auth.c: In function 'rad_converse':<br>pam_radius_auth.c:1016: warning: passing argument 3 of 'pam_get_item' from incompatible pointer type<br>pam_radius_auth.c:1019: warning: passing argument 2 of 'conv->conv' from incompatible pointer type<br>pam_radius_auth.c: In
function 'pam_sm_authenticate':<br>pam_radius_auth.c:1071: warning: passing argument 2 of 'pam_get_user' from incompatible pointer type<br>pam_radius_auth.c:1099: warning: passing argument 3 of 'pam_get_item' from incompatible pointer type<br>pam_radius_auth.c:1113: warning: passing argument 3 of 'pam_get_item' from incompatible pointer type<br>pam_radius_auth.c:1146: warning: passing argument 3 of 'pam_get_item' from incompatible pointer type<br>pam_radius_auth.c: In function 'pam_private_session':<br>pam_radius_auth.c:1267: warning: passing argument 2 of 'pam_get_user' from incompatible pointer type<br>pam_radius_auth.c:1288: warning: passing argument 3 of 'pam_get_item' from incompatible pointer type<br>pam_radius_auth.c: In function 'pam_sm_chauthtok':<br>pam_radius_auth.c:1374: warning: passing argument 2 of 'pam_get_user' from incompatible pointer type<br>pam_radius_auth.c:1395: warning: passing argument 3 of 'pam_get_item' from incompatible pointer
type<br>pam_radius_auth.c:1404: warning: passing argument 3 of 'pam_get_item' from incompatible pointer type<br>pam_radius_auth.c:1409: warning: passing argument 3 of 'pam_get_item' from incompatible pointer type<br>gmake: *** [pam_radius_auth.o] Error 1<br><br>The same is true when I use the Sun cc (Studio 11 compiler). I am using gcc 4.0.2 (the most recent version I could get to run on Solaris).<br>Output of uname -a is:<br><br>SunOS xxxx 5.10 Generic_118833-36 sun4u sparc SUNW,A70<br><br><br>Does anyone have a suggestion as to how to modify the header file to make it work or know where I can find pre-compiled modules for Solaris?<br>- <br>List info/subscribe/unsubscribe? See <a target="_blank" href="http://www.freeradius.org/list/users.html">http://www.freeradius.org/list/users.html</a><br></div></div><br></div></div><br>
<hr size="1">
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
Profitez des connaissances, des opinions et des expériences des internautes sur <a href="http://fr.rd.yahoo.com/evt=42054/*http://fr.answers.yahoo.com">Yahoo! Questions/Réponses</a>.</body></html>