Hi,
I am getting very interesting problem while compiling the ASN.1 code with
SNACC 1.3 compiler.
 
Whenever we tried to use MACROS like OPERATION ,ERROR in modules, i am
getting SEGMANTATION FAULT  while compiling.
By commenting those part, it is compiling fine.Codes where i m getting those
problem is pasted below,
 
In TCAPMessages { ccitt recommendation q 773 modules (2) messages (1)
version2 (2) }
...............
ReturnResult ::=        SEQUENCE {  
                                invokeID
InvokeIdType,
                                result
SEQUENCE {
                                          operationCode         OPERATION,
                                          parameter                     ANY
DEFINED BY operationCode
                                } OPTIONAL
                        }
In, IN-CS-1-Errors-- { ccitt recommendation q 1218 modules(0) cs-1-errors(1)
version1(0) }
.........
RequestedInfoError ::= ERROR
        PARAMETER ENUMERATED {
                unknownRequestedInfo(1),
                requestedInfoNotAvailable(2)
                --  other values FFS
                }
ERROR, OPERATION  are the MACROS defined in  TCAPMessages { ccitt
recommendation q 773 modules (2) messages (1) version2 (2) } 
 
NOTE : BUT with the simpler Code contaning ERROR/OPERATION , i am not facing
such problem
 
for EXA : --
ETCFailed ::= ERROR --  The establish temporary connection failed.
ImproperCallerResponse ::= ERROR --  The caller response was not as
expected.
MissingCustomerRecord ::= ERROR --  The Service Logic Program could not be
found in the SCF.
MissingParameter ::= ERROR --  An expected optional parameter was not
received.
 
 
Please have a look and pl. guide me to deal with this problem. Is there any
other way to deal with MACROS  or i need advanced version of SNACC compiler
to compile it.
 
Thanks in advance.
-regards,
Rekha


_______________________________________________
ASN1 mailing list
[email protected]
http://lists.asn1.org/mailman/listinfo/asn1

Reply via email to