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:
- Complete the switch to UIManager driven menubar? Anders Broman (Aug 23)
- Can't build when I add a line to packet_ppp.c? lookfar (Aug 23)
- Re: Can't build when I add a line to packet_ppp.c? Graham Bloice (Aug 23)
- Re: Can't build when I add a line to packet_ppp.c? lookfar (Aug 23)
- I want to use g_thread_init in dissector source file, but get a link error, Why? lookfar (Aug 24)
- Re: Complete the switch to UIManager driven menubar? Stig Bjørlykke (Aug 23)
- Re: Complete the switch to UIManager driven menubar? Anders Broman (Aug 23)
- Re: Complete the switch to UIManager driven menubar? Stig Bjørlykke (Aug 23)
- Re: Complete the switch to UIManager driven menubar? Anders Broman (Aug 23)
- Re: Complete the switch to UIManager driven menubar? Stephen Fisher (Aug 23)
- Re: Complete the switch to UIManager driven menubar? Anders Broman (Aug 23)
- Can't build when I add a line to packet_ppp.c? lookfar (Aug 23)