3.0 (master) build error

Fajar A. Nugraha list at fajar.net
Mon Jan 9 09:52:15 CET 2012


Hi,

Not sure if this mail is better of freeradius-devel or -user. I'm
posting it to -devel since 3.0 is not released yet. I'm trying to
build master branch (last commit d1dfb80) on Ubuntu natty (gcc-4.5.2)
with a simple ./configure && make, and the build failed with this
error:

CC listen.c
listen.c: In function 'proxy_new_listener':
listen.c:2403:21: error: 'buffer' undeclared (first use in this function)
listen.c:2403:21: note: each undeclared identifier is reported only
once for each function it appears in
listen.c: In function 'listen_init':
listen.c:2863:4: warning: passing argument 1 of 'cf_sectiontoitem'
discards qualifiers from pointer target type
/data/build/freeradius-server-3.0.0/src/freeradius-devel/conffile.h:101:12:
note: expected 'struct CONF_SECTION *' but argument is of type 'const
struct CONF_SECTION *'
listen.c:2864:4: warning: passing argument 1 of 'cf_sectiontoitem'
discards qualifiers from pointer target type
/data/build/freeradius-server-3.0.0/src/freeradius-devel/conffile.h:101:12:
note: expected 'struct CONF_SECTION *' but argument is of type 'const
struct CONF_SECTION *'
listen.c: At top level:
listen.c:54:13: warning: 'print_packet' defined but not used
make[4]: *** [listen.lo] Error 1
make[3]: *** [main] Error 2
make[2]: *** [all] Error 2
make[1]: *** [src] Error 2
make: *** [all] Error 2

Any known workaround for this?

-- 
Fajar



More information about the Freeradius-Devel mailing list