Compile problem sith USE_SOCKETS on RedHat

Gordon A. Lang glang at goalex.com
Wed Oct 2 15:54:53 UTC 2013


I need help building dhcpd on RedHat with USE_SOCKETS.

uname -ro          2.6.32-358.18.1.el6.x86_64 GNU/Linux

./configure -q          \
  --disable-dhcpv6      \
  --enable-use-sockets  \
  --enable-ipv4-pktinfo \
  --enable-delayed-ack  \
  --enable-secs-byteorder


The "make" process errors out when linking dhclient:

../common/libdhcp.a(socket.o): In function `if_register_receive':
~/dhcp-4.2.5-P1/common/socket.c:391: undefined reference to `get_hw_addr'


I found other people on this list having similar problems with USE_SOCKETS 
since version 4.x, and I found some work-arounds posted that don't quite 
apply to version 4.2.5-P1 and/or Linux.

Can someone point me in the right direction to get past this issue?

--
Gordon A. Lang



More information about the dhcp-users mailing list