USE_SOCKETS compilation errors
Mino Bernardi
mino at ngi.it
Thu Jan 10 15:29:18 UTC 2008
Hello,
I'm facing a problem when compiling a "vanilla" DHCPD 4.0.0 to make it
handle the unicast dhcp requests forwarded by a dhcp-relay.
This Linux box is a redhat ES4 with :
- kernel: 2.6.9-67.ELsmp
- gcc version 3.4.6 20060404
- glibc 2.3.4-2.39
As stated in the man, I uncommented the following define in
"includes/site.h" to be able to handle unicasts:
#define USE_SOCKETS
During the "make" I get:
-------
lpf.c: In function `send_packet':
lpf.c:298: warning: implicit declaration of function `send_fallback'
lpf.c: In function `maybe_setup_fallback':
lpf.c:400: warning: implicit declaration of function `if_register_fallback'
make[2]: *** [lpf.o] Error 1
make[2]: Leaving directory `/root/dhcp-4.0.0/common'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/dhcp-4.0.0/common'
make: *** [all-recursive] Error 1
-------
Google doesn't seem to be of any help.
Am I doing anything wrong?
Thanks!
--
Giacomo "mino" Bernardi
More information about the dhcp-users
mailing list