Package net-mgmt/net-snmp is broken by numerous changes in DF headers

Chris Pressey cpressey at catseye.mine.nu
Thu Jan 6 08:34:50 PST 2005


On Thu, 06 Jan 2005 14:24:32 +0000
user at xxxxxxxxxxxxxx wrote:

> 	If the missing definition is added, the next failure is due to a
> directive from /usr/include/sys/dkstat.h:
> 
> #error "This file should not be included by userland programs"

This can be overcome by adding

#define _KERNEL_STRUCTURES

to the .c source file that includes that header.

> 	If that is commented out, the next failure is due to the missing
> definition of struct ipstat from /usr/include/netinet/ip_var.h.

http://www.dragonflybsd.org/cvsweb/src/sys/netinet/ip_var.h.diff?r1=1.6&r2=1.7&f=h

This will presumably require the net-snmp port to be modified to support
it.

-Chris





More information about the Bugs mailing list