--disable-dhcpv6 not working
Nicholas F Miller
Nicholas.Miller at Colorado.EDU
Mon Feb 9 15:42:11 UTC 2009
I am trying to compile DHCP 4.1.0 on a Solaris 9 machine and am having
problems when I disable IPv6. If I use:
./configure --prefix=/usr/local/dhcp-4.1.0 --localstatedir=/usr/local/
dhcp-4.1.0/etc --disable-dhcpv6
I get these errors when I run make:
if gcc -DHAVE_CONFIG_H -I. -I. -I../includes -DLOCALSTATEDIR='"/usr/
local/dhcp-4.1.0/etc"' -g -O2 -D_XOPEN_SOURCE -
D_XOPEN_SOURCE_EXTENDED=1 -D__EXTENSIONS__ -Wall -Werror -fno-strict-
aliasing -MT dhcrelay.o -MD -MP -MF ".deps/dhcrelay.Tpo" -c -o
dhcrelay.o dhcrelay.c; \
then mv -f ".deps/dhcrelay.Tpo" ".deps/dhcrelay.Po"; else rm -f ".deps/
dhcrelay.Tpo"; exit 1; fi
cc1: warnings being treated as errors
dhcrelay.c: In function 'main':
dhcrelay.c:165: warning: 'port_remote' may be used uninitialized in
this function
dhcrelay.c:165: warning: 'port_local' may be used uninitialized in
this function
dhcrelay.c:164: warning: 'service_remote' may be used uninitialized in
this function
dhcrelay.c:164: warning: 'service_local' may be used uninitialized in
this function
make[1]: *** [dhcrelay.o] Error 1
If I configure without disabling IPv6 then it compiles fine. WHY?
________________________________________________________
Nicholas Miller, ITS, University of Colorado at Boulder
More information about the dhcp-users
mailing list