Build dhcpd 4.0.0 with "USE_SOCKETS"

Eli Cohen eli at dev.mellanox.co.il
Thu Mar 27 10:25:51 UTC 2008


Hi,

I am trying to build dhcpd-4.0.0 when uncommenting USE_SOCKETS in
site.h. However doing so causes compilation errors:

../common/libdhcp.a(lpf.o): In function `maybe_setup_fallback':
lpf.c:(.text+0x268): undefined reference to `if_register_fallback'
../common/libdhcp.a(lpf.o): In function `send_packet':
lpf.c:(.text+0x45d): undefined reference to `send_fallback'
collect2: ld returned 1 exit status
make[1]: *** [dhclient] Error 1
make[1]: Leaving directory `/root/dhcp-4.0.0/client'
make: *** [all-recursive] Error 1

It used to work for me with version 3.0.4. Does anyone know how to solve
this problem?

Thanks,
Eli



More information about the dhcp-users mailing list