Wireshark mailing list archives

compile error on winXP


From: Josef Frühwirth <fruehwirth () gmail com>
Date: Wed, 21 Oct 2009 00:49:28 +0200

Hi,

A:    I followed instructions on
http://www.wireshark.org/docs/wsdg_html_chunked/ChSetupWin32.html

B:  first I had errors running "nmake -f Makefile.nmake verify_tools"

C : after using dos2unix on some script files (*.sh) in  /tools folder
 "nmake -f Makefile.nmake verify_tools"  showed following output:

C:\wireshark>nmake -f Makefile.nmake verify_tools

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

Checking for required applications:
cl: /cygdrive/c/Programme/
Microsoft Visual Studio 9.0/VC/BIN/cl
link: /cygdrive/c/Programme/Microsoft Visual Studio 9.0/VC/BIN/link
nmake: /cygdrive/c/Programme/Microsoft Visual Studio 9.0/VC/BIN/nmake
mt: /cygdrive/c/Programme/Microsoft SDKs/Windows/v6.0A/bin/mt
bash: /usr/bin/bash
bison: /usr/bin/bison
flex: /usr/bin/flex
env: /usr/bin/env
grep: /usr/bin/grep
/usr/bin/find: /usr/bin/find
perl: /usr/bin/perl
C:\Python26\python.exe: /cygdrive/c/Python26/python.exe
sed: /usr/bin/sed
unzip: /usr/bin/unzip
wget: /usr/bin/wget

this seems OK, compared to step by step guide.

D: nmake -f Makefile.nmake all fails with output:

cket-ipmi-bridge.c
packet-ipmi-chassis.c
packet-ipmi-picmg.c
packet-ipmi-se.c
packet-ipmi-storage.c
packet-ipmi-transport.c
packet-ipmi-pps.c
packet-ipmi-update.c
packet-dcerpc-nt.c
NMAKE : fatal error U1077: ""C:\Programme\Microsoft Visual Studio
9.0\VC\BIN\cl.EXE"": Rückgabe-Code "0x2"
Stop.
NMAKE : fatal error U1077: ""C:\Programme\Microsoft Visual Studio
9.0\VC\BIN\nmake.exe"": Rückgabe-Code "0x2"
Stop.
NMAKE : fatal error U1077: ""C:\Programme\Microsoft Visual Studio
9.0\VC\BIN\nmake.exe"": Rückgabe-Code "0x2"
Stop.


Can anybody suggest a possible reason of the error?
May there be some more issues on file endings (CR LF) ?

No idea if this is significant but compared to postings of make output
at the mail-archive, my make output  seems to miss the Line
"Generating Code..."  after "packet-dcerpc-nt.c" line

Full output is appended as text file

thx
josef

Attachment: error.txt
Description:

___________________________________________________________________________
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: