Undefined syntax AgentGen

Praveen M Morab pmm9876____yahoo.com
Mon Jul 7 08:15:35 CEST 2003


Hi Frank,

In MIB repository I have added SNMPv2-TC and all the
supporting MIB. Also it does not contain any text
files. I have added all the MIB to repository by the
command given in the document.

Regards,

Praveen

--- Frank Fock <Frank.Fock____t-online.de> wrote:
> Hi Praveen,
> 
> Based on what you wrote below, you should
> be able to load your MIB module. Is the
> SNMPv2-TC compiled MIB contained in your
> MIB repository? The repository must *not*
> contain any text files. Have you specified
> the same repository when compling your MIB?
> 
> Hope this helps.
> 
> Best regards,
> Frank
> 
> Praveen M Morab wrote:
> > Hi,
> > 
> > I am using agentgen standard edition to learn
> about
> > MIB loading and generation of .h and .cpp files. I
> > have a mib which IMPORTS from:
> > IMPORTS
> > NOTIFICATION-TYPE, OBJECT-TYPE, MODULE-IDENTITY,
> > enterprises
> > 	FROM SNMPv2-SMI
> > NOTIFICATION-GROUP, BJECT-GROUP,MODULE-COMPLIANCE
> > 	FROM SNMPv2-CONF
> > RowStatus, DisplayString
> > 	FROM SNMPv2-TC;
> > 
> > So I first added SNMPv2-SMI, SNMPv2-CONF and
> SNMPv2-TC
> > from command ./agentgen.sh <dir> add
> > SNMPv2-SMI.....etc.
> > 
> > But when I add my MIB after this it gives error
> > Undefined syntax(es): DisplayString, RowStatus
> > 
> > So my query is why it gives error even if I have
> added
> > the required SNMPv2-TC before adding my MIB???
> > 
> > Thanks in advance,
> > 
> > Praveen
> > 
> > 
> > 
> > __________________________________
> > Do you Yahoo!?
> > SBC Yahoo! DSL - Now only $29.95 per month!
> > http://sbc.yahoo.com
> > 
> 
> 
> 


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com



More information about the AGENTPP mailing list