Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: [Wireshark-dev] VC 6 Troubles

From: Jason Dick <jasonkdick@xxxxxxxxx>
Date: Sat, 13 Sep 2008 07:24:11 -0700 (PDT)
I have been developing a dissector for a custom inhouse protocol on VS2005EE and it works just fine.  Recently I have tried to build against VC6 on Windows 2000 and Windows XP but I keep runnning into the same problem just trying to build wireshark.  When I run 'nmake -f Makefile.nmake all', it stalls on packet-rrc.c.  See the snippet below.  It wil just sit there until I hit control-C and cancel the build.

I'm not sure what I missed or what's different about the VC6 setup and I'm hoping someone can help.  I've installed:
- Visual Studio 6 with VC6
- Cygwin
- Python 2.4
- I ran vcvars32.bat
- verify_tools seems to find everything
- and I did a distclean.

Anybody seen this before?

Thanks
Jason


----------------------------
Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

        cl -DWIN32 -DNULL=0 -D_MT -D_DLL -WX -DHAVE_CONFIG_H /I. /I.. /I../.. /IC:\wireshark-libs-1.
0\glib\include\glib-2.0  /IC:\wireshark-libs-1.0\glib\lib\glib-2.0\include  /IC:\wireshark-libs-1.0\
zlib123\include  /IC:\wireshark-libs-1.0\pcre-7.0\include /IC:\wireshark-libs-1.0\gnutls-2.3.8-1\inc
lude /DNOCRYPT   /IC:\wireshark-libs-1.0\kfw-2.5\inc   /IC:\wireshark-libs-1.0\WPdpack\include -D_U_
="" /Zi /W3 /MD /DMSC_VER_REQUIRED=1200 -Zd -Fd.\ -c packet-rrc.c
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.

Command line warning D4025 : overriding '/Zi' with '/Zd'
packet-rrc.c
NMAKE : fatal error U1058: terminated by user
Stop.
NMAKE : fatal error U1058: terminated by user
Stop.
NMAKE : fatal error U1058: terminated by user
Stop.

C:\wireshark-1.0.3>

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

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

Checking for required applications:
        cl: /cygdrive/c/PROGRA~1/MICROS~3/VC98/BIN/cl
        link: /cygdrive/c/PROGRA~1/MICROS~3/VC98/BIN/link
        nmake: /cygdrive/c/PROGRA~1/MICROS~3/VC98/BIN/nmake
        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:/python24/python.exe: /cygdrive/c/python24/python.exe
        sed: /usr/bin/sed
        unzip: /usr/bin/unzip
        wget: /usr/bin/wget

C:\wireshark-1.0.3>