On 25 July 2012 09:50, Madhu Sudhana Rao <[email protected]> wrote:
> Coming to net-snmp issue:
> I am using my_mibs.h file in the agent/mibgroup to configure net-snmp
> modules and my project related modules, where it has both lines...
>
> config_require(if-mib/ifTable)
> config_require(mibII/interfaces)

No - that won't work.
These are two alternative implementations of the same table.
Use one or the other - not both.



> I commented interfaces, now it is compiling without any issues.
>
> Any side effect, if I comment *config_require(mibII/interfaces)*

No - that will work fine.

Strictly speaking, the best thing would be to require 'mibII/ifTable'
which will then pull in one or the other of these two versions,
depending on how the build configuration is set up.
   But pulling in if-mib/ifTable directly will work too

Dave

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to