Wireshark mailing list archives

Can't build when I add a line to packet_ppp.c?


From: lookfar <lookfar () 163 com>
Date: Tue, 23 Aug 2011 17:34:11 +0800 (CST)

Hi,Dear friends:
I'm a beginner in wireshark.And I 'm from china.
my version is wireshark-1.7.0-SVN-38520.
the error is :
E:\wireshark-1.7.0-SVN-38520\epan\dissectors>nmake -f Makefile.nmake


Microsoft (R) 程序维护实用工具 9.00.30729.01 版
版权所有(C) Microsoft Corporation。保留所有权利。


Making register.c (using python)
  File "../../tools/make-dissector-reg.py", line 62
    print "Unknown output type '%s'" % registertype
                                   ^
SyntaxError: invalid syntax
NMAKE : fatal error U1077: “D:\Python32\python.exe”: 返回代码“0x1”
Stop.


E:\wireshark-1.7.0-SVN-38520\epan\dissectors>nmake -f Makefile.nmake


Microsoft (R) 程序维护实用工具 9.00.30729.01 版
版权所有(C) Microsoft Corporation。保留所有权利。


Making register.c (using python)
  File "../../tools/make-dissector-reg.py", line 62
    print "Unknown output type '%s'" % registertype
                                   ^
SyntaxError: invalid syntax
NMAKE : fatal error U1077: “D:\Python32\python.exe”: 返回代码“0x1”
Stop.


E:\wireshark-1.7.0-SVN-38520\epan\dissectors>nmake -f Makefile.nmake


Microsoft (R) 程序维护实用工具 9.00.30729.01 版
版权所有(C) Microsoft Corporation。保留所有权利。


“dissectors.lib”是最新的


E:\wireshark-1.7.0-SVN-38520\epan\dissectors>nmake -f Makefile.nmake


Microsoft (R) 程序维护实用工具 9.00.30729.01 版
版权所有(C) Microsoft Corporation。保留所有权利。


Making register.c (using python)
  File "../../tools/make-dissector-reg.py", line 62
    print "Unknown output type '%s'" % registertype
                                   ^
SyntaxError: invalid syntax
NMAKE : fatal error U1077: “D:\Python32\python.exe”: 返回代码“0x1”
Stop.


E:\wireshark-1.7.0-SVN-38520\epan\dissectors>nmake -f Makefile.nmake


Microsoft (R) 程序维护实用工具 9.00.30729.01 版
版权所有(C) Microsoft Corporation。保留所有权利。


Making register.c (using python)
  File "../../tools/make-dissector-reg.py", line 62
    print "Unknown output type '%s'" % registertype
                                   ^
SyntaxError: invalid syntax
NMAKE : fatal error U1077: “D:\Python32\python.exe”: 返回代码“0x1”
Stop.


the end of error.


it's ok after I restore the file using the original packet_ppp.c file in zipfile .
I'm wondering the relation between python file and C source file,Is it some fixed rule in parsing dissector source file 
to build register code?


thanks


I'm in hurry,if you are able to do me a favour,please!!!!


Michael
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: