Problems with ASN1 v1.3 (Erlang/OTP R7B-3)

alex alexgc@REDACTED
Tue Jun 12 14:12:52 CEST 2001


Hello everybody.

I've been compiling an ASN1 schema without troubles with Erlang/OTP R7B-2
(ASN1 version 1.2.9.6); yesterday I downloaded the patch (R7B-2 to -3 patch), 
and compiled erlang. Now the new ASN1 compiler (version 1.3) can't compile 
the schema. The problem seems to be the COMPONETS tag:

---
$ erlc -bber Ldap.asn 
Erlang ASN.1 version "1.3" compiling "./Ldap.asn" 
Compiler Options: [fast,
                   ber,
                   report_errors,
                   {cwd,'./'},
                   {outdir,"./"}]
Ldap.asn:syntax error at line 144:
got 'COMPONENTS' expected '}'
error
---

I deleted the lines with this tag and it compiled.

I'm using LDAP ASN1 specification, taken from RFC2551.

Any suggestions?

Thank you in advance.




More information about the erlang-questions mailing list