Error: FATAL Failed to initialize semaphore: Function not implemented

Arran Cudbard-Bell A.Cudbard-Bell at sussex.ac.uk
Fri Aug 3 21:30:08 CEST 2007


Alan DeKok wrote:
> Arran Cudbard-Bell wrote:
>   
>>>   What does "config.guess" say?
>>>   
>>>       
>> powerpc-apple-darwin8.9.0
>>     
>
>   Well, that should work.  If it stopped working, nothing in FreeRADIUS
> changed.
>
>   
>> Make output confirms --DDARWIN not passed to gcc at compile time.
>>     
>
>   Try doing "cvs update src/include" from the CVS head.  It should
> define DARWIN in src/include/missing.h.
>
>   I also added (untested) Apple's patch for OpenDirectory support to
> rlm_mschap.  It might break the build...
>   

gcc -g -O2 -I/usr/local/src/freeradius-cvscurrent/src 
-I/usr/local/src/freeradius-cvscurrent/libltdl -c
rlm_mschap.c: In function 'od_mschap_auth':
rlm_mschap.c:75: error: storage class specified for parameter 
'pdb_decode_acct_ctrl'
rlm_mschap.c:75: error: parse error before '{' token
rlm_mschap.c:77: error: parameter 'finished' is initialized
rlm_mschap.c:84: error: parse error before 'if'
rlm_mschap.c:84: error: old-style parameter declarations in prototyped 
function definition
rlm_mschap.c:87: error: 'p' undeclared (first use in this function)
rlm_mschap.c:87: error: (Each undeclared identifier is reported only once
rlm_mschap.c:87: error: for each function it appears in.)
rlm_mschap.c:89: error: 'acct_ctrl' undeclared (first use in this function)
rlm_mschap.c:140: error: 'finished' undeclared (first use in this function)
rlm_mschap.c: At top level:
rlm_mschap.c:145: error: parse error before 'return'
rlm_mschap.c: In function 'ntpwdhash':
rlm_mschap.c:170: warning: pointer targets in passing argument 2 of 
'md4_calc' differ in signedness
rlm_mschap.c: In function 'challenge_hash':
rlm_mschap.c:189: warning: pointer targets in passing argument 2 of 
'librad_SHA1Update' differ in signed
rlm_mschap.c: In function 'auth_response':
rlm_mschap.c:230: warning: pointer targets in passing argument 1 of 
'challenge_hash' differ in signednes
rlm_mschap.c:230: warning: pointer targets in passing argument 2 of 
'challenge_hash' differ in signednes
rlm_mschap.c:230: warning: pointer targets in passing argument 4 of 
'challenge_hash' differ in signednes
rlm_mschap.c:233: warning: pointer targets in passing argument 2 of 
'librad_SHA1Update' differ in signed
rlm_mschap.c: In function 'mschap_xlat':
rlm_mschap.c:559: warning: pointer targets in passing argument 1 of 
'smbdes_lmpwdhash' differ in signedn
rlm_mschap.c: In function 'mschap_instantiate':
rlm_mschap.c:671: warning: assignment discards qualifiers from pointer 
target type
rlm_mschap.c:672: warning: assignment discards qualifiers from pointer 
target type
rlm_mschap.c: In function 'do_mschap':
rlm_mschap.c:778: warning: pointer targets in passing argument 1 of 
'smbdes_mschap' differ in signedness
rlm_mschap.c:789: warning: pointer targets in passing argument 2 of 
'md4_calc' differ in signedness
rlm_mschap.c: In function 'mschap_authenticate':
rlm_mschap.c:1082: warning: pointer targets in passing argument 2 of 
'lrad_hex2bin' differ in signedness
rlm_mschap.c:1100: warning: pointer targets in passing argument 1 of 
'smbdes_lmpwdhash' differ in signed
rlm_mschap.c:1100: warning: pointer targets in passing argument 2 of 
'smbdes_lmpwdhash' differ in signed
rlm_mschap.c:1114: warning: pointer targets in passing argument 2 of 
'lrad_hex2bin' differ in signedness
rlm_mschap.c:1132: warning: pointer targets in passing argument 1 of 
'ntpwdhash' differ in signedness
rlm_mschap.c:1285: warning: pointer targets in passing argument 4 of 
'auth_response' differ in signednes
rlm_mschap.c:1285: warning: pointer targets in passing argument 5 of 
'auth_response' differ in signednes
rlm_mschap.c:1285: warning: pointer targets in passing argument 6 of 
'auth_response' differ in signednes
rlm_mschap.c:1287: warning: pointer targets in passing argument 4 of 
'add_reply' differ in signedness
rlm_mschap.c:1354: warning: pointer targets in passing argument 3 of 
'mppe_add_reply' differ in signedne
rlm_mschap.c:1363: warning: pointer targets in passing argument 3 of 
'mppe_add_reply' differ in signedne
rlm_mschap.c:1366: warning: pointer targets in passing argument 3 of 
'mppe_add_reply' differ in signedne
make[6]: *** [rlm_mschap.lo] Error 1
make[5]: *** [common] Error 2
make[4]: *** [all] Error 2
make[3]: *** [common] Error 2
make[2]: *** [all] Error 2
make[1]: *** [common] Error 2
make: *** [all] Error 2

*sigh*
>   Alan DeKok.
> - 
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html
>   




More information about the Freeradius-Devel mailing list