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

Adrian Bocaniciu a.bocaniciu at computer.org
Thu Jan 6 06:26:06 PST 2005


This was seen in DragonFly 1.1-CURRENT, updated on 2005-01-04.

    In the file /usr/include/netinet/in_pcb.h, at line 279, after the 
definition of struct xinpcb, in FreeBSD there is the definition of 
struct xinpgen, which is missing in DragonFly.

    Because of this, the compilation of the package net-mgmt/net-snmp 
fails.

    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"

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

    At this point I gave up.  Maybe all this is part of a Grand Plan, 
but if DF has removed the support for these features present in FreeBSD 
4 and 5, I would like to know what is supposed to replace them and more 
importantly, which are the steps supposed to be done in order to make 
the ports that use these features to work again with DragonFly.

    The package net-snmp is an essential package that is broadly used 
in all open-source operating systems, so the failure to support it 
forbids in many cases a switch to DragonFly.

    Best regards !





More information about the Bugs mailing list