Compiling freeradius.org 2.0.3 on Red Hat 7.3

Robert Haskins robert.haskins at gmail.com
Wed Apr 23 18:44:51 CEST 2008


I'm trying to compile freeradius.org version 2.0.3 on Red Hat 7.3, and
I'm getting the following error:

/usr/local/src/radius/freeradius-server-2.0.3/src/freeradius-devel/rad_assert.h:26:
warning: `used' attribute directive ignored
In file included from ../../eap.h:34,
                 from eap_tnc.c:58:
../../libeap/eap_types.h:30: warning: `used' attribute directive ignored
eap_tnc.c: In function `eaptnc_extract':
eap_tnc.c:137: parse error before `unsigned'
eap_tnc.c:141: parse error before `int'
eap_tnc.c:147: `ptr' undeclared (first use in this function)
eap_tnc.c:147: (Each undeclared identifier is reported only once
eap_tnc.c:147: for each function it appears in.)
eap_tnc.c:153: `thisDataLength' undeclared (first use in this function)
eap_tnc.c:154: `dataStart' undeclared (first use in this function)
eap_tnc.c: In function `eaptnc_compose':
eap_tnc.c:212: parse error before `unsigned'
eap_tnc.c:214: `swappedDataLength' undeclared (first use in this function)
eap_tnc.c:217: parse error before `thisDataLength'
eap_tnc.c:220: parse error before `int'
eap_tnc.c:224: `offset' undeclared (first use in this function)
eap_tnc.c:225: `thisDataLength' undeclared (first use in this function)
gmake[9]: *** [eap_tnc.lo] Error 1
gmake[9]: Leaving directory
`/usr/local/src/radius/freeradius-server-2.0.3/src/modules/rlm_eap/types/rlm_eap_tnc'
gmake[8]: *** [common] Error 2
gmake[8]: Leaving directory
`/usr/local/src/radius/freeradius-server-2.0.3/src/modules/rlm_eap/types'
gmake[7]: *** [all] Error 2
gmake[7]: Leaving directory
`/usr/local/src/radius/freeradius-server-2.0.3/src/modules/rlm_eap/types'
gmake[6]: *** [common] Error 2
gmake[6]: Leaving directory
`/usr/local/src/radius/freeradius-server-2.0.3/src/modules/rlm_eap'
gmake[5]: *** [common] Error 2
gmake[5]: Leaving directory
`/usr/local/src/radius/freeradius-server-2.0.3/src/modules'
gmake[4]: *** [all] Error 2
gmake[4]: Leaving directory
`/usr/local/src/radius/freeradius-server-2.0.3/src/modules'
gmake[3]: *** [common] Error 2
gmake[3]: Leaving directory `/usr/local/src/radius/freeradius-server-2.0.3/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/local/src/radius/freeradius-server-2.0.3/src'
gmake[1]: *** [common] Error 2
gmake[1]: Leaving directory `/usr/local/src/radius/freeradius-server-2.0.3'
make: *** [all] Error 2

I've searched the wiki site and the mailing list archives and not
found much on this error. Yes, I know that RH 7.3 is old/etc., so I'm
not looking for pat answers like "upgrade to the latest O/S version".
In searching for the error message (`used' attribute directive
ignored) I haven't come up with anything helpful.

Thanks for any assistance you can provide!



More information about the Freeradius-Users mailing list