I'm using the latest GIT ASN1c compiler. Further I used -gen-PER -pdu=all to respectively generate PER supported code and include all definitions. In my make file I've added:
CFLAGS += -DPDU='the highest definition available in my asn file' -DEMIT_ASN_DEBUG=1 -D_REENTRANT
I get this error:
About to encode Timestamp (asn1/constr_SEQUENCE.c:1372)
Encoding Container->time (asn1/constr_SEQUENCE.c:1394)
Encoding NativeInteger Timestamp 45900 (UPER) (asn1/NativeInteger.c:282)
Value 45900 (00/3) lb 0 ub 1094004736 fix (asn1/INTEGER.c:699)
Encoding integer with range 42 bits (asn1/INTEGER.c:732)
Failed to encode element Timestamp (asn1/INTEGER.c:742)
I hope you can help me on this.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I'm using the latest GIT ASN1c compiler. Further I used -gen-PER -pdu=all to respectively generate PER supported code and include all definitions. In my make file I've added:
CFLAGS += -DPDU='the highest definition available in my asn file' -DEMIT_ASN_DEBUG=1 -D_REENTRANT
I get this error:
About to encode Timestamp (asn1/constr_SEQUENCE.c:1372)
Encoding Container->time (asn1/constr_SEQUENCE.c:1394)
Encoding NativeInteger Timestamp 45900 (UPER) (asn1/NativeInteger.c:282)
Value 45900 (00/3) lb 0 ub 1094004736 fix (asn1/INTEGER.c:699)
Encoding integer with range 42 bits (asn1/INTEGER.c:732)
Failed to encode element Timestamp (asn1/INTEGER.c:742)
I hope you can help me on this.