more pedantic syntax nitpicks
Stefan Winter
stefan.winter at restena.lu
Fri Jan 4 14:15:41 CET 2008
rlm_preprocess:
/root/radiusd/src/freeradius-devel/rad_assert.h:26: warning: `used' attribute
directive ignored
rlm_preprocess.c: In function `alvarion_vsa_hack':
rlm_preprocess.c:181: parse error before `*'
rlm_preprocess.c:185: `da' undeclared (first use in this function)
rlm_preprocess.c:185: (Each undeclared identifier is reported only once
rlm_preprocess.c:185: for each function it appears in.)
gmake[6]: *** [rlm_preprocess.lo] Error 1
reversing the lines helped.
main:
/root/radiusd/src/freeradius-devel/rad_assert.h:26: warning: `used' attribute
directive ignored
modcall.c: In function `do_compile_modsingle':
modcall.c:1322: parse error before `const'
modcall.c:1325: `name2' undeclared (first use in this function)
modcall.c:1325: (Each undeclared identifier is reported only once
modcall.c:1325: for each function it appears in.)
gmake[4]: *** [modcall.lo] Error 1
gmake[4]: Leaving directory `/root/radiusd/src/main'
reversing the lines helped.
event.c: In function `request_hash_cb':
event.c:2583: parse error before `*'
event.c:2585: `request' undeclared (first use in this function)
event.c:2585: (Each undeclared identifier is reported only once
event.c:2585: for each function it appears in.)
event.c: In function `proxy_hash_cb':
event.c:2598: parse error before `*'
event.c:2600: `request' undeclared (first use in this function)
make: *** [event.lo] Error 1
reversing the lines helped in both cases.
rlm_eap_tnc turned out to be a minefield. Didn't fix anything, just deleted
the subdir.
rlm_eap_tnc.c: In function `tnc_initiate':
rlm_eap_tnc.c:64: parse error before `*'
rlm_eap_tnc.c:76: `reply' undeclared (first use in this function)
rlm_eap_tnc.c:76: (Each undeclared identifier is reported only once
rlm_eap_tnc.c:76: for each function it appears in.)
rlm_eap_tnc.c: In function `tnc_authenticate':
rlm_eap_tnc.c:191: parse error before `tnccsMsgLength'
rlm_eap_tnc.c:193: `tnccsMsgLength' undeclared (first use in this function)
rlm_eap_tnc.c:197: parse error before `outMessage'
rlm_eap_tnc.c:206: `isLengthIncluded' undeclared (first use in this function)
rlm_eap_tnc.c:207: `moreFragments' undeclared (first use in this function)
rlm_eap_tnc.c:208: `overallLength' undeclared (first use in this function)
rlm_eap_tnc.c:212: `isAcknowledgement' undeclared (first use in this function)
rlm_eap_tnc.c:222: parse error before `state'
rlm_eap_tnc.c:235: `state' undeclared (first use in this function)
rlm_eap_tnc.c:243: `outMessageLength' undeclared (first use in this function)
rlm_eap_tnc.c:251: `outIsLengthIncluded' undeclared (first use in this
function)
rlm_eap_tnc.c:251: `outMoreFragments' undeclared (first use in this function)
rlm_eap_tnc.c:251: `outOverallLength' undeclared (first use in this function)
rlm_eap_tnc.c:255: warning: unreachable code at beginning of switch statement
rlm_eap_tnc.c:274: `outMessage' undeclared (first use in this function)
gmake[9]: *** [rlm_eap_tnc.lo] Error 1
gmake[9]: Leaving directory
`/root/radiusd/src/modules/rlm_eap/types/rlm_eap_tnc'
--
Stefan WINTER
Stiftung RESTENA - Réseau Téléinformatique de l'Education Nationale et de
la Recherche
Ingenieur Forschung & Entwicklung
6, rue Richard Coudenhove-Kalergi
L-1359 Luxembourg
E-Mail: stefan.winter at restena.lu Tel.: +352 424409-1
http://www.restena.lu Fax: +352 422473
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freeradius.org/pipermail/freeradius-devel/attachments/20080104/83326b26/attachment.pgp>
More information about the Freeradius-Devel
mailing list