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] Error compiling 0.99.5 for win32

Date: Thu, 22 Feb 2007 15:07:44 +0000
Hi,

I've just downloaded the 0.99.5 release code and I'm trying to build
for win32 in the way have done many times before.

I ran the make distclean and setup then the build and I get the
following error :-


        cl -DWIN32 -DNULL=0 -D_MT -D_DLL -DHAVE_CONFIG_H /I.. /I../wiretap 
/IC:\wireshark-win32-libs\glib\include\glib-2.0 
/IC:\wireshark-win32-libs\glib\lib\glib-2.0\include 
/IC:\wireshark-win32-libs\gtk+\include 
/IC:\wireshark-win32-libs\gtk+\include\gdk 
/IC:\wireshark-win32-libs\gtk+\lib\gtk+\include 
/IC:\wireshark-win32-libs\gnutls-1.6.1-1\include /DNOCRYPT 
/IC:\wireshark-win32-libs\WPdpack
\WPCAP\LIBPCAP /IC:\wireshark-win32-libs\WPdpack\WPCAP\LIBPCAP\bpf 
/IC:\wireshark-win32-libs\WPdpack\WPCAP\LIBPCAP\lbl 
/IC:\wireshark-win32-libs\WPdpack\include 
/IC:\wireshark-win32-libs\net-snmp-5.4\include 
/IC:\wireshark-win32-libs\net-snmp-5.4\win32  /Zm800 -D_U_="" 
-D_NEED_VAR_IMPORT_ /Zi /W3 /MD 
/IC:\wireshark-win32-libs\portaudio_v19\include 
/IC:\wireshark-win32-libs\portaudio_v19\src\com
mon  /I"C:/Program Files/HTML Help Workshop/"\include -DHHC_DIR  -Fd.\ -c 
help_dlg.c
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8804 for 
80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.

help_dlg.c
C:\Program Files\Microsoft SDK\Include\.\htmlhelp.h(373) : error C2146: 
syntax error : missing ')' before identifier 'dwData'
C:\Program Files\Microsoft SDK\Include\.\htmlhelp.h(373) : error C2081: 
'DWORD_PTR' : name in formal parameter list illegal
C:\Program Files\Microsoft SDK\Include\.\htmlhelp.h(373) : error C2061: 
syntax error : identifier 'dwData'
C:\Program Files\Microsoft SDK\Include\.\htmlhelp.h(373) : error C2059: 
syntax error : ';'
C:\Program Files\Microsoft SDK\Include\.\htmlhelp.h(374) : error C2059: 
syntax error : ')'
C:\Program Files\Microsoft SDK\Include\.\htmlhelp.h(382) : error C2146: 
syntax error : missing ')' before identifier 'dwData'
C:\Program Files\Microsoft SDK\Include\.\htmlhelp.h(382) : error C2081: 
'DWORD_PTR' : name in formal parameter list illegal
C:\Program Files\Microsoft SDK\Include\.\htmlhelp.h(382) : error C2061: 
syntax error : identifier 'dwData'
C:\Program Files\Microsoft SDK\Include\.\htmlhelp.h(382) : error C2059: 
syntax error : ';'
C:\Program Files\Microsoft SDK\Include\.\htmlhelp.h(383) : error C2059: 
syntax error : ')'
help_dlg.c(247) : warning C4013: 'HtmlHelpW' undefined; assuming extern 
returning int
help_dlg.c(249) : warning C4047: '=' : 'struct HWND__ *' differs in levels 
of indirection from 'int '
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~3\VC98\BIN\NMAKE.EXE' : 
return code '0x2'
Stop.

Can someone point me at what I need to do to fix this.

Thanks

Andy Ling




-- 
This e-mail is intended for the named addressees only. Its contents may be 
privileged or confidential and should be treated as such. If you are not 
an intended recipient please notify the sender immediately;  do not copy, 
distribute, or take any action based on this e-mail; and then delete it. 
In the pursuit of its legitimate business activities and its conformance 
with relevant legislation, Quantel Ltd. may access any e-mail (including 
attachments) it originates and receives, for potential scrutiny.