I checked with the developer and you only need to add the
range to the SYNTAX clause (4 places). You don't need it in the
SEQUENCE clause too.
prtInputIndex does have a range on the SYNTAX, as do most of the
other Indexes and they are all (1..65535).
The range for prtInputIndex is (1..65535), so it does use the sign bit
of a 16-bit integer. So presumably all the other 4 indexes should
have the same range added in their SYNTAX clauses:
prtOutputIndex, PrtChannelIndex, prtInterpreterIndex and prtAlertIndex.
At 05:27 07/30/97 PDT, email@example.com wrote:
>My original plan was to publish all final changes to the printer
>MIB by today. However Tom's note (below) may delay that slightly.
>This is a new error message to me so I do not know exactly
>what it means. Did the compiler tell you anything other than
>what you have below? Was this a warning or an error? I am not
>really sure what the phrase "Index item must be defined with
>syntax that includes a range" really means.
>--- Forwarded by Lloyd Young on 07/30/97 07:14 AM ---
>07/29/97 01:04 PM
>cc: (bcc: Lloyd Young)
>Subject: PMP> Several indexes need ranges according to SMICng compiler
>The new version of SMICng notes errors in the Printer MIB for "Index item
>must be defined with syntax that includes a range."
>The particular index objects that give this error are prtOutputIndex,
>PrtChannelIndex, prtInterpreterIndex and prtAlertIndex.