[AGENT++] SNMP++ Thread Safety???

Andrew Chen achen at superteltech.com
Tue Dec 30 19:30:17 CET 2003


Hi Frank:

I'm also stuck on "CHOICE" (SNMPv2-SMI.mib) with the same error message, and
even without the build-in ASN.1 types I still can't pass through "Integer32"
for that matter.  Is OBJECT IDENTIFIER the only keyword the compiler sees? 

Andrew 

-----Original Message-----
From: Frank Fock [mailto:fock at agentpp.com]
Sent: Tuesday, December 30, 2003 1:33 AM
To: Andrew Chen
Cc: agentpp at agentpp.org
Subject: Re: [AGENT++] SNMP++ Thread Safety???


Hi Andrew,

you will have to remove all MACRO definitions from the file or use the
files that are shipped with AgenPro. The MIB Designer FAQ explains
why this is necessary http://www.mibdesigner.com/FAQ.txt

Best regards,
Frank

Andrew Chen wrote:

>Hi Frank:
>
>I've tried to use a command-line AgentGen (1.8?) to compile a standard MIB
>file (i.e. SNMPv2-SMI.mib).  The add process however stops at line
>"MODULE-IDENTITY MACRO ::=" and it complains about expecting "END",
><UPPERCASENAME>, or <LOWERCASENAME> keywords.  Is there anything I need to
>modify the file to be able to pass through the stage?
>
>Andrew   
>
>-----Original Message-----
>From: Frank Fock [mailto:fock at agentpp.com]
>Sent: Tuesday, December 23, 2003 3:32 PM
>To: Andrew Chen
>Cc: agentpp at agentpp.org
>Subject: Re: [AGENT++] SNMP++ Thread Safety???
>
>
>Hi Andrew,
>
>AGENT++ has no built-in MIB compiler, but you can use
>AgenPro v2.x (http://www.agentpp.com) for that purpose.
>If you need a solution for runtime compilation, you will have
>to use a third party API like libsmi. But runtime compilation
>of MIBs is rarely necessary.
>
>Best regards,
>Frank
>
>Andrew Chen wrote:
>
>  
>
>>Hi:
>>
>>I'm fairly new to SNMP development, upon going over AGENT++ I have one
>>    
>>
>basic
>  
>
>>question for a starter:
>>
>>-Can AGENT++ compile a MIB into a C/C++ data structure, if yes how do I
>>    
>>
>make
>  
>
>>such a call?
>>
>>Any help is appreciated.
>>
>>Andrew
>>
>>
>>
>> 
>>
>>    
>>
>
>
>
>  
>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.agentpp.org/pipermail/agentpp/attachments/20031230/8a0e61e1/attachment.htm 


More information about the AGENTPP mailing list