On Thu, Jul 25, 2013 at 8:49 AM, Fulko Hew <fulko....@gmail.com> wrote:
>
>
> On Thu, Jul 25, 2013 at 2:24 AM, Andrew Hood <ajh...@fl.net.au> wrote:
>
>> On 19/07/2013 5:47 AM, O'hara, Joseph (Contractor) wrote:
>>
>> > Hi net-snmp-coders,
>> > I am having trouble compiling the NET-SNMP-EXTEND-MIB which I just
>> > downloaded
>> > from your website. I am using the latest version of the MB-Soft MIB
>> > Browser with Compiler.
>> > The indicated errors are here:
>> > NsExtendOutput1Entry ::= SEQUENCE {
>> > nsExtendOutput1Line DisplayString,
>> > nsExtendOutputFull DisplayString,
>> > nsExtendOutNumLines INTEGER, <----compiler says Item
>> > "nsExtendOutNumLines" in sequence "NsExtendOutput1Entry" has
>> > conflicting syntax specified
>> > nsExtendResult INTEGER <---compiler says Item "nsExtendResult" in
>> > sequence "NsExtendOutput1Entry" has conflicting syntax specified
>> > }
>> > I’m no expert in ASN.1 but I can’t find what the problem is. I even
>> > looked in the imports
>> > files to see if those names were defined there.
>> nsExtendOutNumLinesand nsExtendResult are described here as INTEGER but
>> are later defined as Integer32. Interestingly smilint doesn't pick this
>> one up. It does pick up a number of objects defined as INTEGER when they
>> should be Integer32
>>
>
> I can't speak to your real problems, but when you look at the underlying
> definition for Integer32 you see that its actually defined as:
>
> Integer32 ::=
> INTEGER (-2147483648..2147483647)
>
> So they are the same thing...
>
They are not quite the same thing. Integer32 is an INTEGER with a range
constraint.
Unsigned32 is an INTEGER with a different range constraint, INTEGER
(0..4294967295).
> therefore I would not expect that lint would (or should) complain.
>
The range difference is a real semantic difference between INTEGER and
Integer32.
Bill
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders