DragonFly BSD
DragonFly bugs List (threaded) for 2005-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Chris Pressey <cpressey@xxxxxxxxxxxxxxx>
Date: Thu, 6 Jan 2005 08:38:15 -0800

On Thu, 06 Jan 2005 14:24:32 +0000
user@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]