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] 1.0.0 source code build failure in Visual C++ 6 on Win XP

From: "net dude" <netdudespam@xxxxxxxxx>
Date: Fri, 25 Apr 2008 12:23:38 -0700
Hello

I'm following the Win32 step-by-step guide in developer's guide. I repeat the guide on 3 different Win XPs and get the same build error. The last PC has Windows freshly installed. I've searched around the mailing list but haven't found a solution. I get the following errors when doing "nmake -f Makefile.nmake all". If requested, I can attach a log of all commands I did.

I do have Visual Studio Service Pack 6 installed. And I did do a "distclean" before "all". I also tried "wireshark-1.0.99-SVN-25163.tar.gz" on one of the PC and got the same error messages. I have python 2.5 native installed.

Any help is appreciated!


Generating Code...
Compiling...
ascend-grammar.c
ascend-scanner.c
ascend-scanner.c(1737) : error C2220: warning treated as error - no object file
generated
ascend-scanner.c(1737) : warning C4003: not enough actual parameters for macro '
ascendwrap'
ascend-scanner.c(2072) : warning C4003: not enough actual parameters for macro '
ascendwrap'
k12text.c
k12text.c(967) : fatal error C1083: Cannot open include file: 'unistd.h': No suc
h file or directory
file_util.c
Generating Code...
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~4\VC98\BIN\NMAKE.EXE' : return co
de '0x2'
Stop.