Problem building HEAD because of do_snmp inconsistency
A.L.M.Buxey at lboro.ac.uk
A.L.M.Buxey at lboro.ac.uk
Tue Oct 16 11:32:21 CEST 2007
Hi,
> Enrik Berkhan wrote:
> > currently, I can't build plain HEAD because do_snmp is expected to be
> > part of the main_config_t struct for src/include/radius_snmp.h and
> > src/main/event.c but a static variable in src/main/radius_snmp.c.
> >
> > Looks like a missing commit or something ... ?
>
> Yes. I'm not sure why the build fails, though. What's the error?
gmake[4]: Entering directory `/usr/src/radiusd/src/main'
/usr/src/radiusd/libtool --mode=compile gcc -g -O2 -I/usr/src/radiusd/src -DHOSTINFO=\"i686-pc-linux-gnu\" -DRADIUSD_VERSION=\"2.0.0-pre2\" -DOPENSSL_NO_KRB5 -c listen.c
gcc -g -O2 -I/usr/src/radiusd/src -DHOSTINFO=\"i686-pc-linux-gnu\" -DRADIUSD_VERSION=\"2.0.0-pre2\" -DOPENSSL_NO_KRB5 -c listen.c -fPIC -DPIC -o .libs/listen.o
listen.c: In function 'common_socket_parse':
listen.c:309: warning: passing argument 1 of 'free' discards qualifiers from pointer target type
listen.c: In function 'auth_socket_recv':
listen.c:424: error: 'struct main_config_t' has no member named 'do_snmp'
listen.c:427: error: 'struct main_config_t' has no member named 'do_snmp'
listen.c:434: error: 'struct main_config_t' has no member named 'do_snmp'
listen.c:459: error: 'struct main_config_t' has no member named 'do_snmp'
listen.c:466: error: 'struct main_config_t' has no member named 'do_snmp'
listen.c:467: error: 'struct main_config_t' has no member named 'do_snmp'
listen.c:476: error: 'struct main_config_t' has no member named 'do_snmp'
listen.c:477: error: 'struct main_config_t' has no member named 'do_snmp'
listen.c:491: error: 'struct main_config_t' has no member named 'do_snmp'
listen.c:497: error: 'struct main_config_t' has no member named 'do_snmp'
listen.c:498: error: 'struct main_config_t' has no member named 'do_snmp'
listen.c: In function 'acct_socket_recv':
listen.c:525: error: 'struct main_config_t' has no member named 'do_snmp'
listen.c:528: error: 'struct main_config_t' has no member named 'do_snmp'
listen.c:535: error: 'struct main_config_t' has no member named 'do_snmp'
listen.c:560: error: 'struct main_config_t' has no member named 'do_snmp'
listen.c:567: error: 'struct main_config_t' has no member named 'do_snmp'
listen.c:568: error: 'struct main_config_t' has no member named 'do_snmp'
listen.c:578: error: 'struct main_config_t' has no member named 'do_snmp'
listen.c:579: error: 'struct main_config_t' has no member named 'do_snmp'
listen.c:592: error: 'struct main_config_t' has no member named 'do_snmp'
listen.c:601: error: 'struct main_config_t' has no member named 'do_snmp'
listen.c:602: error: 'struct main_config_t' has no member named 'do_snmp'
gmake[4]: *** [listen.lo] Error 1
gmake[4]: Leaving directory `/usr/src/radiusd/src/main'
gmake[3]: *** [common] Error 2
gmake[3]: Leaving directory `/usr/src/radiusd/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/src/radiusd/src'
gmake[1]: *** [common] Error 2
gmake[1]: Leaving directory `/usr/src/radiusd'
make: *** [all] Error 2
alan
More information about the Freeradius-Devel
mailing list