ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: [Wireshark-dev] Build error for asn1/x721 - help needed

From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Tue, 9 Oct 2007 20:27:24 +0200
Hello,

I've been gettint the error below for some time. Can anyone help out and fix
this (or let me know where I may do something wrong)?

make[1]: Entering directory `/home/jmayer/work/wireshark/svn/trunk/asn1/cmip'
python ../../tools/asn2wrs.py \
                -b -e \
                -p cmip \
                -c ./cmip.cnf \
                -s ./packet-cmip-template \
                -D . \
                ../ros/Remote-Operations-Information-Objects.asn ../ros/Remote-Operations-Generic-ROS-PDUs.asn ../x721/Attribute-ASN1Module.asn CMIP-1.asn CMIP-A-ABORT-Information.asn CMIP-A-ASSOCIATE-Information.asn
ASN.1 to Wireshark dissector compiler
Traceback (most recent call last):
  File "../../tools/asn2wrs.py", line 7533, in <module>
    eth_main()
  File "../../tools/asn2wrs.py", line 7465, in eth_main
    ast.extend(yacc.parse(f.read(), lexer=lexer, debug=pd))
  File "/home/jmayer/work/wireshark/svn/trunk/tools/yacc.py", line 346, in parse
    tok = self.errorfunc(errtoken)
  File "../../tools/asn2wrs.py", line 7323, in p_error
    raise ParseError(t, input_file)
__main__.ParseError: ../x721/Attribute-ASN1Module.asn:261: Unexpected token AMPERSAND('&')
make[1]: *** [packet-cmip.c] Error 1
make[1]: Leaving directory `/home/jmayer/work/wireshark/svn/trunk/asn1/cmip'


Thanks
       Joerg
-- 
Joerg Mayer                                           <jmayer@xxxxxxxxx>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.