dhcp build problem

Richard B. Pyne rpyne at kinfolk.org
Sat Mar 10 06:53:15 CET 2012


I'm haveing trouble getting dhcp to build on a new machine I'm building.
The machine was built from lunar 1.6.5-x86_64.

Any help will be greatly appreciated.

gcc -DHAVE_CONFIG_H -I. -I../includes  -I.. -DLOCALSTATEDIR='"/var"'  
-g -O2  -Wall -Werror -fno-strict-aliasing -I../bind/include -MT alloc.o
-MD -MP -MF .deps/alloc.Tpo -c -o alloc.o alloc.c
mv -f .deps/alloc.Tpo .deps/alloc.Po
gcc -DHAVE_CONFIG_H -I. -I../includes  -I.. -DLOCALSTATEDIR='"/var"'  
-g -O2  -Wall -Werror -fno-strict-aliasing -I../bind/include -MT bpf.o
-MD -MP -MF .deps/bpf.Tpo -c -o bpf.o bpf.c
mv -f .deps/bpf.Tpo .deps/bpf.Po
gcc -DHAVE_CONFIG_H -I. -I../includes  -I.. -DLOCALSTATEDIR='"/var"'  
-g -O2  -Wall -Werror -fno-strict-aliasing -I../bind/include -MT
comapi.o -MD -MP -MF .deps/comapi.Tpo -c -o comapi.o comapi.c
comapi.c: In function 'dhcp_group_remove':
comapi.c:425:15: error: variable 'status' set but not used
[-Werror=unused-but-set-variable]
comapi.c: In function 'dhcp_control_signal_handler':
comapi.c:514:25: error: variable 'control' set but not used
[-Werror=unused-but-set-variable]
comapi.c: In function 'dhcp_subnet_set_value':
comapi.c:615:17: error: variable 'subnet' set but not used
[-Werror=unused-but-set-variable]
comapi.c: In function 'dhcp_subnet_get_value':
comapi.c:640:17: error: variable 'subnet' set but not used
[-Werror=unused-but-set-variable]
comapi.c: In function 'dhcp_subnet_destroy':
comapi.c:661:17: error: variable 'subnet' set but not used
[-Werror=unused-but-set-variable]
comapi.c: In function 'dhcp_subnet_signal_handler':
comapi.c:688:17: error: variable 'subnet' set but not used
[-Werror=unused-but-set-variable]
comapi.c: In function 'dhcp_subnet_stuff_values':
comapi.c:714:17: error: variable 'subnet' set but not used
[-Werror=unused-but-set-variable]
comapi.c: In function 'dhcp_shared_network_set_value':
comapi.c:764:25: error: variable 'shared_network' set but not used
[-Werror=unused-but-set-variable]
comapi.c: In function 'dhcp_shared_network_get_value':
comapi.c:790:25: error: variable 'shared_network' set but not used
[-Werror=unused-but-set-variable]
comapi.c: In function 'dhcp_shared_network_destroy':
comapi.c:812:25: error: variable 'shared_network' set but not used
[-Werror=unused-but-set-variable]
comapi.c: In function 'dhcp_shared_network_signal_handler':
comapi.c:852:25: error: variable 'shared_network' set but not used
[-Werror=unused-but-set-variable]
comapi.c: In function 'dhcp_shared_network_stuff_values':
comapi.c:878:25: error: variable 'shared_network' set but not used
[-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors
make[2]: *** [comapi.o] Error 1
make[2]: Leaving directory `/usr/src/dhcp-4.2.3-P2/common'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/dhcp-4.2.3-P2/common'
make: *** [all-recursive] Error 1
Creating /var/log/lunar/compile/dhcp-4.2.3-P2.bz2
! Problem detected during BUILD



More information about the Lunar mailing list