DHCP on FreeBSD 8.2

Garber, Neal Neal.Garber at iberdrolausa.com
Sun Apr 22 04:30:51 CEST 2012


> I am getting the following errors during compilation on my FreeBSD 8.2 OS:  
> /usr/include/net/if_arp.h:47: error: expected specifier-qualifier-list
> before 'u_short'
> /usr/include/net/if_arp.h:88: error: field 'arp_pa' has incomplete type
> /usr/include/net/if_arp.h:89: error: field 'arp_ha' has incomplete type
> /usr/include/net/if_arp.h:115: error: expected specifier-qualifier-list
> before 'u_long'

Try adding the following includes before those that are already in the file
freeradius-server/src/lib/dhcp.c:

#include <sys/socket.h>
#include <sys/types.h>


More information about the Freeradius-Users mailing list