Wireshark-dev: Re: [Wireshark-dev] Unable to build asn1/x411
From: "Kukosa, Tomas" <tomas.kukosa@xxxxxxxxxxx>
Date: Mon, 10 Nov 2008 14:42:42 +0100
Hello Bill,

try it with rev. 26740.
I have it tested just with Windows.

I am not sure what changes happened in the X.411 and related dissector
during last months 
but I hope I have it fixed without any sideefects.

Regards,
  Tomas


> -----Original Message-----
> From: wireshark-dev-bounces@xxxxxxxxxxxxx 
> [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Bill Meier
> Sent: Saturday, November 08, 2008 6:30 PM
> To: Developer support list for Wireshark
> Subject: [Wireshark-dev] Unable to build asn1/x411
> 
> I'm currently unable to build asn1/x411 (and certain other
> asn1 stuff) using files from SVN on either Windows or Ubuntu.
> 
>   Windows Vista: VC9; Python version 2.4.4 (or 2.5.2 or 2.6);
>   Ubuntu: Python 2.5.2
> 
> (The error messages are about the same on Windows & Ubuntu).
> 
> When building asn1/x4411 on Windows I get (extracted/condensed):
> 
>     (cd ../x509af && [...] -f Makefile.nmake generate_export) \
>      "C:\Python24\python.exe" "../../tools/asn2wrs.py"  -E -b \
>      -e  -px509af  -c x509af.cnf   AuthenticationFramework.asn
> 
>     ASN.1 to Wireshark dissector compiler
> 
> 
>     (cd ../x509ce && [...] -f Makefile.nmake generate_export) \
>     "C:\Python24\python.exe" "../../tools/asn2wrs.py"  -E -b \
>     -e  -p x509ce  -c x509ce.cnf   CertificateExtensions.asn
> 
>     Traceback (most recent call last):
> 
>     ASN.1 to Wireshark dissector compiler
> 
>     File "../../tools/asn2wrs.py", line 7592, in ?
>        eth_main()
>     File "../../tools/asn2wrs.py", line 7523, in eth_main
>       ast.extend(yacc.parse(f.read(), lexer=lexer, debug=pd))
>     File "c:\Users\wmeier\Technical\wswm\wsh-svn\tools\yacc.py", line
>     201, in parse
>      return 
> self.parseopt_notrack(input,lexer,debug,tracking,tokenfunc)
>      File "c:\Users\wmeier\Technical\wswm\wsh-svn\tools\yacc.py", line
>     977, in parseopt_notrack
>      tok = self.errorfunc(errtoken)
>     File "../../tools/asn2wrs.py", line 7376, in p_error
>      raise ParseError(t, input_file)
>     __main__.ParseError: CertificateExtensions.asn:30: 
> Unexpected token
>     SYNTAX('SYNTAX')
>     NMAKE : fatal error U1077: 'C:\Python24\python.exe' : return code
>     '0x1'
> 
>     Stop.
> 
> (I get different errors if I try to build asn1/x509ce).
> 
> I've no familiarity with asn2wrs so I'm posting to the list ...
> 
> Bill
> 
> _______________________________________________
> Wireshark-dev mailing list
> Wireshark-dev@xxxxxxxxxxxxx
> https://wireshark.org/mailman/listinfo/wireshark-dev
>