problem with checking dhcp-packet type

Alexander Kubatkin kaa at
Mon Jul 13 10:43:54 CEST 2009

On Понедельник 13 июля 2009 11:53:23 Alan DeKok wrote:
> Alexander Kubatkin wrote:
> > when it(fix) come to us?
> >
> >>   If you want the latest version, use git.
> >
> > last changes 4 days ago
>   Did you download the version using git, as I said?  The fix was
> available there when I sent my message.

yes, i did, problem with build isn't fixed, i was trying and under FreeBSD 7 and under Linux kubuntu 9.04.

/usr/local/bin/libtool --mode=compile cc  -O2 -fno-strict-aliasing -pipe -march=pentium4 -I/usr/local/include -L/usr/local/lib -pthread -Wall -D_GNU_SOURCE -DNDEBUG -
I/usr/ports/net/freeradius2/work/freeradius-server-2.1.7/src -DHOSTINFO=\"i386-portbld-freebsd7.0\" -DRADIUSD_VERSION=\"2.1.7\"  -I/usr/local/include -DOPENSSL_NO_KRB5  -c listen.c
 cc -O2 -fno-strict-aliasing -pipe -march=pentium4 -I/usr/local/include -L/usr/local/lib -pthread -Wall -D_GNU_SOURCE -DNDEBUG -I/usr/ports/net/freeradius2/work/freeradius-server-2.1.7/src -
DHOSTINFO=\"i386-portbld-freebsd7.0\" -DRADIUSD_VERSION=\"2.1.7\" -I/usr/local/include -DOPENSSL_NO_KRB5 -c listen.c  -fPIC -DPIC -o .libs/listen.o
listen.c: In function 'client_listener_find':
listen.c:129: warning: passing argument 1 of 'listener->print' discards qualifiers from pointer target type
listen.c:209: warning: assignment discards qualifiers from pointer target type
In file included from listen.c:1305:
dhcpd.c: In function 'dhcp_process':
dhcpd.c:97: error: 'packet' undeclared (first use in this function)
dhcpd.c:97: error: (Each undeclared identifier is reported only once
dhcpd.c:97: error: for each function it appears in.)
In file included from listen.c:1307:
command.c: In function 'command_show_client_config':
command.c:845: warning: passing argument 2 of 'cf_section2file' discards qualifiers from pointer target type
gmake[4]: *** [listen.lo] Error 1
gmake[4]: Leaving directory `/usr/ports/net/freeradius2/work/freeradius-server-2.1.7/src/main'
gmake[3]: *** [common] Error 2
gmake[3]: Leaving directory `/usr/ports/net/freeradius2/work/freeradius-server-2.1.7/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/ports/net/freeradius2/work/freeradius-server-2.1.7/src'
gmake[1]: *** [common] Error 2
gmake[1]: Leaving directory `/usr/ports/net/freeradius2/work/freeradius-server-2.1.7'
gmake: *** [all] Error 2
*** Error code 1

Stop in /usr/ports/net/freeradius2.
*** Error code 1

Stop in /usr/ports/net/freeradius2.


Alexander Kubatkin

More information about the Freeradius-Users mailing list