(Edited) -------- Forwarded Message -------- From: Svante Signell <svante.sign...@telia.com> To: debian-hurd maillist <debian-h...@lists.debian.org> Subject: Questions on isc-dhcp Date: Tue, 15 Feb 2011 21:33:42 +0100
Hi, I'm trying to get isc-dhcp (4.1.1-P1-16) to build under GNU/Hurd but have got into some problems with respect to configurations (in addition to the PATH_MAX stuff, I intended to fix). Looks like HAVE_SOCKET has to be enabled, but in order for get_hw_addr to be defined, either Berkeley Packet Filtering (BPF), Linux Packet Filtering (LPF) or Data Link Provider Interface (DLPI) (SUN specific?) is needed. Trying with bpf the following header files are not found: #include <net/bpf.h> #include <net/if_types.h> Looks like bpf.h is available at /usr/include/device/ not at /usr/include/net/ but not if_types.h. They don't seem to exist at the standard locations for the Hurd. However, according to the web, Zheng Da did fix some problems for the bpf in 2009, so it seems to be supported, http://www.gnu.org/software/hurd/user/zhengda.html Downloading if_types.h (installing locally) and trying again fails on BIOC* stuff not defined. Also /dev/bpf? devices does not exist. Is support for bpf in GNU/Hurd only partially implemented?? Looks like bpf.c cannot be complied without the appropriate headers (and corresponding library support). Is there a work-around?