typo in raddb/Makefile

Milan Holub holub at thenet.ch
Wed Apr 25 15:53:14 CEST 2007


Hi Alan,

On Wed, Apr 25, 2007 at 03:08:40PM +0200, Alan DeKok wrote:
> Milan Holub wrote:
> > due to missing `;` and typo in variable in raddb/Makefile you can't build *deb package. 
> 
>   Thanks.
> 
>   Try the following on a fresh checkout of the CVS head, if you're using
> any of the EAP types with TLS:
> 
> $ ./configure --prefix=/opt/freeradius
> 	i.e. somewhere you haven't installed it before
> $ make
> $ make install
> $ /opt/freeradius/sbin/radiusd -X
> 
>   Read the output.  Watch for it to pause, and print a lot of '.'s on
> the screen.

I'm not using EAP TLS at the moment but right now with cvs head you
can't compile freeradius:


/devel/freeradius/cvs/work/src/freeradius-devel/rad_assert.h:26: warning: `used' attribute directive ignored
In file included from ../../eap.h:34,
                 from ../../libeap/eap_tls.h:68,
                 from rlm_eap_tls.h:30,
                 from rlm_eap_tls.c:35:
../../libeap/eap_types.h:30: warning: `used' attribute directive ignored
rlm_eap_tls.c:81: structure has no member named `make_cert_command'
rlm_eap_tls.c:81: initializer element is not constant
rlm_eap_tls.c:81: (near initialization for `module_config[19].offset')
rlm_eap_tls.c:81: initializer element is not constant
rlm_eap_tls.c:81: (near initialization for `module_config[19]')
rlm_eap_tls.c:83: initializer element is not constant
rlm_eap_tls.c:83: (near initialization for `module_config[20]')
rlm_eap_tls.c: In function `eaptls_attach':
rlm_eap_tls.c:530: structure has no member named `make_cert_command'
rlm_eap_tls.c:530: parse error before '{' token
rlm_eap_tls.c:533: structure has no member named `make_cert_command'
rlm_eap_tls.c:533: `buf' undeclared (first use in this function)
rlm_eap_tls.c:533: (Each undeclared identifier is reported only once
rlm_eap_tls.c:533: for each function it appears in.)
rlm_eap_tls.c:536: structure has no member named `make_cert_command'
rlm_eap_tls.c:541: warning: control reaches end of non-void function
rlm_eap_tls.c: At top level:
rlm_eap_tls.c:547: parse error before '->' token
rlm_eap_tls.c:562: warning: type defaults to `int' in declaration of `instance'
rlm_eap_tls.c:562: `inst' undeclared here (not in a function)
rlm_eap_tls.c:562: warning: data definition has no type or storage class
rlm_eap_tls.c:564: parse error before "return"
rlm_eap_tls.c:91: warning: `load_dh_params' defined but not used
rlm_eap_tls.c:122: warning: `generate_eph_rsa_key' defined but not used
rlm_eap_tls.c:292: warning: `init_tls_ctx' defined but not used
make[10]: *** [rlm_eap_tls.lo] Error 1
make[10]: Leaving directory `/var/devel/freeradius/cvs/work/src/modules/rlm_eap/types/rlm_eap_tls'
make[9]: *** [common] Error 2
make[9]: Leaving directory `/var/devel/freeradius/cvs/work/src/modules/rlm_eap/types'
make[8]: *** [all] Error 2
make[8]: Leaving directory `/var/devel/freeradius/cvs/work/src/modules/rlm_eap/types'
make[7]: *** [common] Error 2
make[7]: Leaving directory `/var/devel/freeradius/cvs/work/src/modules/rlm_eap'
make[6]: *** [common] Error 2
make[6]: Leaving directory `/var/devel/freeradius/cvs/work/src/modules'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/var/devel/freeradius/cvs/work/src/modules'
make[4]: *** [common] Error 2
make[4]: Leaving directory `/var/devel/freeradius/cvs/work/src'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/devel/freeradius/cvs/work/src'
make[2]: *** [common] Error 2
make[2]: Leaving directory `/var/devel/freeradius/cvs/work'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/devel/freeradius/cvs/work'
make: *** [stamp-build] Error 2


Milan Holub
holub (at) thenet (dot) ch

--------------------------------------
 TheNet-Internet Services AG,
 im Bernertechnopark, Morgenstr. 129
 CH-3018, Bern, Switzerland
 031 998 4333, Fax 031 998 4330
 http://www.thenet.ch
 http://wlan.thenet.ch
--------------------------------------



More information about the Freeradius-Users mailing list