Open wjleong opened 7 years ago
hi, @wjleong ,
With vlm's newest repository 290b4d6918fe567c412fee2cf139fc82e442ee26, generated code from you sample ASN.1 can be compiled and linked successfully.
The Makefile is modified and re-generated from examples/sample.sample.source.1609.2/Makefile
Hi brchiu,
Thank you! you are right the code can be compile and link. When i am decoding the attached oer file by using command:-
./progname -ioer -oxer data.oer
I get error below:-
Segmentation fault (core dumped)
Appreciate you advice. My whole prupose is to test out the simple oer encoding/decoding so that i can use it on the TCI schema i will be working on...if you have any information about TCI it will be a great help as well!! :)
@wjleong, I would suggest you compile your own code with debug information enabled, i.e. with '-g' command line option, then use gdb
to find out the place crash.
hello brchiu, I attached an asn schema and i tried using lev master to compile it and it gives lots of error. Is there a working branch i can use to compile the attached schema? thank you for your help1
WJL TCIall.zip
Hello lev, I am testing out the OER support for my example asn schema, a very simple schema but i run into problem when i run the make file. The error "SEQUENCE_of_decode_oer" undeclare here. If i use -gen-PEr, then the code works. Only when i used -gen-OER this error pops up. whenever i run the asn1c compiler with the -gen-OER flags, the issue will occur. I think the OER portion might be broken. I cloned the master newest branch. Does anyone else has similar issue? My Asn schema is pretty simple, in fact is from the Lev's example page.
Commands
The compilation failed. but when i change to -gen-PER, it passed. Any idea?
WJL