Wireshark mailing list archives
Re: Compiling errors (Win32)
From: Andrew Suter <suter.andrew () gmail com>
Date: Wed, 29 Sep 2010 13:37:07 -0400
I manged to resolve this issue by navigating to: c:\wireshark-rim\epan\dissectors and running: c:\python26\python.exe "../../tools/ncp2222.py" -o packet-ncp2222.c Prior to this, no matter what I did I got a packet-ncp2222.c file that contained nothing. After doing this it contained code. I manually defined my PYTHON_VER and PYTHON_DIR in config.nmake and I think this causes a problem with epan\dissectors\Makefile.nmake when it checks for the PYTHON var: !IFDEF PYTHON @echo Making register.c (using python) @$(PYTHON) "../../tools/make-dissector-reg.py" . dissectors $(ALL_DISSECTORS_SRC) !ELSE @echo Making register.c (using sh) @$(SH) ../../tools/make-dissector-reg . dissectors $(ALL_DISSECTORS_SRC) !ENDIF packet-ncp2222.c: ..\..\tools/ncp2222.py !IFDEF PYTHON @echo Making packet-ncp2222.c $(PYTHON) "../../tools/ncp2222.py" -o packet-ncp2222.c !ELSE @echo Faking packet-ncp2222.c... @echo Python is required to build the NCP disector @echo Hiding packet-ncp.c... mv packet-ncp.c packet-ncp.c.save touch packet-ncp.c $@ !ENDIF packet-ncp2222.obj: packet-ncp2222.inc Hopefully this works for you too.
___________________________________________________________________________ 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:
- Re: Compiling errors (Win32) Andrew Suter (Sep 30)
- Re: Compiling errors (Win32) Stephen Fisher (Sep 30)