vlm / asn1c

The ASN.1 Compiler
http://lionet.info/asn1c/
BSD 2-Clause "Simplified" License
1.03k stars 550 forks source link

definition of struct ProtocolIE_SingleContainer missing #485

Open samrajput1143 opened 11 months ago

samrajput1143 commented 11 months ago

Iam using below asn1c compiler, having version.

ASN.1 Compiler, v0.9.29 Copyright (c) 2003-2017 Lev Walkin vlm@lionet.info and contributors.

And I have compiled 3gpp f1ap rel 17 asn files. I have also attached the tar file.

After extracting this tar file, all asn files can be found at f1ap_rel16/specs.

In header file Served-Cells-To-Add-List.h I see the forward declaration of ProtocolIE_SingleContainer , but I didn't find its definition in any of the header file .

command used:- asn1c -pdu=auto -fincludes-quoted -fcompound-names -findirect-choice -fno-include-deps -gen-PER -no-gen-example *.asn

struct ProtocolIE_SingleContainer;

typedef struct Served_Cells_To_Add_List {
    A_SEQUENCE_OF(struct ProtocolIE_SingleContainer) list;

    asn_struct_ctx_t _asn_ctx;
} Served_Cells_To_Add_List_t;

f1ap_rel17_c_lnx.tar.gz

chetanpandey1266 commented 10 months ago

I tried running asn1c on your asn files but I am getting following:

ASN.1 grammar parse error near line 404 (token "id-MultipleULAoA"): syntax error, unexpected TOK_identifier, expecting '}'
Cannot parse "F1AP-IEs.asn"