Asn1c compile error

Casper <>
Mon Apr 18 12:50:21 CEST 2005


Hi All,

 

When I try to compile the attached ASN.1 file with below command,

 

/usr/local/lib/erlang/bin/erlc +debug_info -W -b ber_bin +optimize +driver
-I ../../tcap-1.0/asn_src ../asn_src/MAP-PDU.asn

 

(I have all the TCAP and ROS asn source files in the tcap-1.0/asn_src
directory and MAP asn source files in the current directory)

 

I get the below error,

 

Erlang ASN.1 version "1.4.4.5" compiling
"/usr2/erlang/map-1.0/ebin/../asn_src/MAP-PDU.asn" 

Compiler Options: [ber_bin_v2,

                   report_errors,

                   {cwd,"/usr2/erlang/map-1.0/ebin"},

                   {outdir,"/usr2/erlang/map-1.0/ebin"},

                   {i,"/usr2/erlang/map-1.0/ebin/../../tcap-1.0/asn_src"},

                   driver,

                   optimize,

                   debug_info]

asn1error:16:'MAP-PDU':'MAP-PDU' {internal_error,{'cant check',[]}}

make[2]: *** [MAP-PDU.erl] Error 1

make[2]: Leaving directory `/usr2/erlang/map-1.0/ebin'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/usr2/erlang/map-1.0'

make: *** [all] Error 2

 

What could be wrong? Please advice, as soon as possible.

 

Thanks!

- Eranga

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20050418/51035081/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MAP-PDU.asn
Type: application/octet-stream
Size: 517 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20050418/51035081/attachment.obj>


More information about the erlang-questions mailing list