Cant compile DHCP (4.2.0/4.2.1) on Fedora with USE_SOCKECTS

SNAK dhcp at
Wed Aug 10 11:42:51 UTC 2011

On compilation DHCP with change on file site.h

compilation aborted :
gcc  -g -O2  -Wall -Werror -fno-strict-aliasing -I../bind/include   -o 
dhclient clparse.o dhclient.o dhc6.o ../common/libdhcp.a 
../omapip/libomapi.a ../bind/lib/libdns.a ../bind/lib/libisc.a
../common/libdhcp.a(socket.o): In function `if_register_socket':
/tmp/2/dhcp-4.2.1-P1/common/socket.c:286: undefined reference to 
../common/libdhcp.a(socket.o): In function `if_register6':
/tmp/2/dhcp-4.2.1-P1/common/socket.c:432: undefined reference to 

without this define dhcp compiled successfully.

First I try to rebuild (v.4.2.0) Fedora 14 rpm-package with the same 

I suspected patches from Redhat, but downloaded the original dhcp from, on compilation gives the above 

More information about the dhcp-users mailing list