DragonFly BSD
DragonFly users List (threaded) for 2004-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

net-snmp compile problems


From: Roland Hammerle <romendo@xxxxxxxxx>
Date: Sun, 05 Dec 2004 19:19:32 +0100

Hi there,

I found a patch for net-snmp at
http://leaf.dragonflybsd.org/mailarchive/users/2004-09/msg00051.html

However, it does not compile. These are the error messages I get:

In file included from ucd-snmp/vmstat_freebsd2.c:12:
/usr/include/sys/proc.h:47: #error "Userland must include sys/user.h instead
of sys/proc.h"
In file included from /usr/include/sys/proc.h:60,
                 from ucd-snmp/vmstat_freebsd2.c:12:
/usr/include/sys/thread.h:246: field `td_mach' has incomplete type
In file included from ucd-snmp/vmstat_freebsd2.c:21:
/usr/include/sys/buf.h:119: field `b_lock' has incomplete type
/usr/include/sys/buf.h:151: field `b_xio' has incomplete type
ucd-snmp/vmstat_freebsd2.c: In function `var_extensible_vmstat':
ucd-snmp/vmstat_freebsd2.c:241: structure has no member named `v_page_size'
ucd-snmp/vmstat_freebsd2.c:250: structure has no member named `v_page_size'
*** Error code 1

Stop in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2/agent/mibgroup.
*** Error code 1

Stop in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2/agent.
*** Error code 1

Stop in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.
*** Error code 1

Stop in /usr/ports/net-mgmt/net-snmp.


Does anyone have a fix for this?

Thanks, 
Roland



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