Undefined syntax AgentGen

Frank Fock Frank.Fock____t-online.de
Sun Jul 6 13:12:52 CEST 2003


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
> 






More information about the AGENTPP mailing list