Hello.

I tried to create a new module include header that would let me specify
all the modules needed to run the test suite in a simple way and then I
ran

./configure --enable-mini-agent --with-mib-modules=test

This didn't work out well, in the configure-status it tells me that

  *** MIB Module warning *** mib module 'mibII/snmp_mib' excludes module
'mibII/snmp_mib_5_5' but another module requires it
  *** MIB Module warning *** mib module 'mibII/snmp_mib_5_5' excludes
module 'mibII/snmp_mib' but another module requires it

A quick investigation shows that this is due to the fact that my test.h
contains (among other things)

config_require(mibII)

mibII.h in turn contains

config_version_require((mibII/snmp_mib, 5.5, mibII/snmp_mib_5_5))

and finally default_modules.h contains

config_require(mibII/snmp_mib)

when compiled with --enable-mini-agent.

Now it could be argued that there is a bug in default_modules.h but
somehow this feels like a train wreck in progress - this all makes the
dependency handling more complex, not less so I think some way to not
end up in this tangled mess have to be figured out.

/MF


------------------------------------------------------------------------------
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to