You're right. I just found out I have an ancient version, too.
-----Original Message-----
From: Phillip H. Griffin [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 04, 2001 8:16 PM
To: [EMAIL PROTECTED]
Subject: Re: [ASN.1] questions on compiling definitions
Mark,
This is really something that the OSS support folks
could better help you with. Yes, you are likely missing
the required IMPORTS class definitions for OPERATION and
ERROR.
See the OSS web site. I think the email address you need
is [EMAIL PROTECTED]
Phil
"Fletcher, Mark" wrote:
>
> Hi all.
>
> I am brand new to ASN.1. I am trying to learn just enough so that I can make the
>definitions from ETSI ES 201 671 V1.1.1 compile. I am using OSS. I was wondering if
>someone might give me some tips. Here is part of one of the modules that the
>compiler complains about:
>
> ETSI
> DEFINITIONS IMPLICIT TAGS ::=
> BEGIN
> EXPORTS Sending-of-Password, Data-Link-Test, End-Of-Connection ;
>
> IMPORTS OPERATION, ERROR FROM Remote-Operations-Information-Objects
> {joint-iso-ITU-T remote-operations(4) informationObjects(5)
>version1(0)notation (0)};
> himDomainId
> FROM SecurityDomainDefinitions { ccitt (0) identified-organization
>(4) etsi (0) securityDomain (2)}
>
> Sending-of-Password OPERATION
> ARGUMENT Password-Name
> RESULT
> ERROR
> CODE globalValue { himDomainId sending-of-Pasword (1) version1 (1)}
>
> First the compiler didn't like the word ARGUMENT. By reading some of the book by
>Olivier Dubuisson, I determined that I might need to define the OPERATION and ERROR
>macros. So I attempted to make a module out of the definitions in the book. That
>seemed to fix part of the problem. Then the compiler started complaining about CODE.
> So I tried to stick a definition of CODE into the module that I found some place on
>the web. Didn't help. Here is what I did (sorry for this lengthy message!):
>
> Remote-Operations-Information-Objects {joint-iso-ccitt remote-operations(4)
>notation(0)}
> DEFINITIONS ::=
> BEGIN
>
> CODE ::= CHOICE {
> local INTEGER,
> global OBJECT IDENTIFIER
> }
>
> ERROR MACRO ::=
> BEGIN
> TYPE NOTATION ::= Parameter
> VALUE NOTATION ::= value (VALUE CHOICE
> {
> localValue INTEGER,
> globalValue OBJECT IDENTIFIER
> })
> Parameter ::= "PARAMETER" NamedType | empty
> NamedType ::= identifier type | type
> END
>
> OPERATION MACRO ::=
> BEGIN
> TYPE NOTATION ::= Argument Result Errors LinkedOpts
> VALUE NOTATION ::= value (VALUE CHOICE
> {
> localValue INTEGER,
> globalValue OBJECT IDENTIFIER
> })
> Argument ::= "ARGUMENT" NamedType | empty
> Result ::= "RESULT" ResultType | empty
> ResultType ::= NamedType | empty
> Errors ::= "ERRORS" "ErrorNames)" | empty
> LinkedOpts ::= "LINKED" "LinkedOpNames)" | empty
> ErrorNames ::= ErrorList | empty
> ErrorList ::= Error | ErrorList","Error
> Error ::= value(ERROR) | type
> LinkedOptNames ::= OperationList | empty
> OperationList ::= Operation | OperationList","Operation
> Operation ::= value(OPERATION) | type
> NamedType ::= type | identifier type
> --Code ::= CHOICE { local INTEGER, global OBJECT IDENTIFIER }
> END
>
> END
>
> Can anyone help?
>
> Thanks,
> Mark Fletcher
> ADC Telecommunications, Inc.
--
Phil
----
Phillip H. Griffin Griffin Consulting
http://asn-1.com Secure ASN.1 Design & Implementation
p: +1-919-832-7008 1625 Glenwood Avenue
f: +1-919-832-7390 Hayes Barton at Five Points
e: [EMAIL PROTECTED] Raleigh, North Carolina 27608-2319 USA
------------------------------------------------------------