svn commit: r216594 - in head: contrib/bsnmp/lib contrib/bsnmp/snmp_target contrib/bsnmp/snmp_usm contrib/bsnmp/snmp_vacm contrib/bsnmp/snmpd lib/libbsnmp/libbsnmp usr.sbin/bsnmpd/bsnmpd usr.sbin/b...

Dimitry Andric dim at FreeBSD.org
Mon Dec 20 19:29:53 UTC 2010


On 2010-12-20 20:15, Dimitry Andric wrote:
> This doesn't build, it looks like gensnmptree needs an additional -I
> option:
>
> ===>  bsnmpd (depend)
> gensnmptree -l<  /usr/src/usr.sbin/bsnmpd/bsnmpd/../../../contrib/bsnmp/snmpd/tree.def
> line 34: cannot open 'tc.def'

In fact, it looks like it depends on tc.def being already installed in
/usr/share/snmp/defs, which is most likely why you didn't get any
errors in buildworld before submitting this. :)

You should make sure this build step uses *only* include files from
under ${WORLDTMP}, for example by disabling the built-in include paths
in contrib/bsnmp/gensnmptree/gensnmptree.c, and adding a prefix that
points to ${WORLDTMP}/usr/share/snmp/defs".


More information about the svn-src-head mailing list