Skip to content

error: No type assignment with name foo found in the module bar #245

Answered by ThibFrgsGmz
ThibFrgsGmz asked this question in Q&A
Discussion options

You must be logged in to vote

Ok thanks I found the error thanks to your remark @maxime-esa.

I have two Commands.asn files in two different folders and each defines the COMMANDS module.

In my list of ASN.1 files that I send to the compiler I had :

asn1files="$BASE_DIR/template/Commands.asn
           $BASE_DIR/template/Telemetry.asn
           $BASE_DIR/icd_foo/Commands.asn
           $BASE_DIR/icd_foo/Telemetry.asn"

The CMD-HEADER object is only defined in the icd_foo/Commands.asn file. So there must be some kind of module name conflict or something.

Now that I have changed the name of the second COMMANDS module, I no longer have the error.

I will be more careful to make sure that the name of each module is unique in…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ThibFrgsGmz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants