Hello,

I'm trying to regenerate the ASN1 dissectors, but I'm running straight into some compile errors (full log attached) when I do a:

~/wireshark/asn1$ nmake -f Makefile.nmake

Am I doing something wrong? Or this an actual error?

SVN revision: 28811
Platform: Windows XP SP2
Compiler: Visual Studio 9.0

--
Best regards,
Kovarththanan Rajaratnam
Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
Copyright (C) Microsoft Corporation.  All rights reserved.

        cd acse
        "c:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe" /       
            -f Makefile.nmake   copy_files

Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
Copyright (C) Microsoft Corporation.  All rights reserved.

        copy_files.bat

s:\git\wireshark\asn1\acse>FOR %A IN (packet-acse.c packet-acse.h) DO xcopy %A 
..\..\epan\dissectors/d /y 

s:\git\wireshark\asn1\acse>xcopy packet-acse.c ..\..\epan\dissectors/d /y 
0 File(s) copied

s:\git\wireshark\asn1\acse>xcopy packet-acse.h ..\..\epan\dissectors/d /y 
0 File(s) copied
        cd ..
        cd acp133
        "c:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe" /       
            -f Makefile.nmake   copy_files

Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
Copyright (C) Microsoft Corporation.  All rights reserved.

        (cd ../x411 && "c:\Program Files\Microsoft Visual Studio 
9.0\VC\BIN\nmake.exe" /                   -f Makefile.nmake generate_export)

Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
Copyright (C) Microsoft Corporation.  All rights reserved.

        "C:\Python26\python.exe" "../../tools/asn2wrs.py"  -E -b -e  -p x411  
-c x411.cnf   MTAAbstractService.asn  MTSAbstractService.asn 
MTSAccessProtocol.asn MHSProtocolObjectIdentifiers.asn 
ASN.1 to Wireshark dissector compiler
x411.cnf:133: UserWarning: Could not set type of class member 
EXTENSION.&&absent to _VariableTypeValueSetFieldSpec
  &absent                       _VariableTypeValueSetFieldSpec
WARNING: 212 shift/reduce conflicts
Traceback (most recent call last):
  File "../../tools/asn2wrs.py", line 7663, in <module>
    eth_main()
  File "../../tools/asn2wrs.py", line 7594, in eth_main
    ast.extend(yacc.parse(f.read(), lexer=lexer, debug=pd))
  File "S:\git\wireshark\tools\yacc.py", line 254, in parse
    return self.parseopt_notrack(input,lexer,debug,tracking,tokenfunc)
  File "S:\git\wireshark\tools\yacc.py", line 1036, in parseopt_notrack
    tok = self.errorfunc(errtoken)
  File "../../tools/asn2wrs.py", line 7447, in p_error
    raise ParseError(t, input_file)
__main__.ParseError: MTAAbstractService.asn:87: Unexpected token 
UCASE_IDENT('OPERATIONS')
NMAKE : fatal error U1077: 'C:\Python26\python.exe' : return code '0x1'
Stop.
NMAKE : fatal error U1077: '(cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio 
9.0\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:[email protected]?subject=unsubscribe

Reply via email to