Wireshark-dev: [Wireshark-dev] Compilation error on Windows with VC 6
From: Abhijit Mirajkar <abhijit@xxxxxxxxxxx>
Date: Mon, 26 May 2008 20:09:02 +0530
Hi,

I could successfully compile the version 1.0.0 tarball with Visual C++ 2005
Express Edition and Platform SDK Server 2003 R2. However I am getting
compilation error when I use Visual C++ 6.0 instead of VC 2005  EE.

The dissectors I compile using VC2005 EE won't work with Wireshark 1.0.0.0
released binary as the binary was apparently compiled with VC6. (I get
'specified module could not be found' error with the dissector DLL compiled
with VC 2005 EE, even though the DLL is present in the 'plugins' directory)

I am attaching the compilation output with the errors below for your
reference. Any help will be greatly appreciated.

=====
Compiling...
gui_prefs.c
gui_utils.c
help_dlg.c
D:\Programs_Win2K\Microsoft Platform SDK for Windows Server 2003
R2\Include\html
help.h(374) : error C2146: syntax error : missing ')' before identifier
'dwData'

D:\Programs_Win2K\Microsoft Platform SDK for Windows Server 2003
R2\Include\html
help.h(374) : error C2081: 'DWORD_PTR' : name in formal parameter list
illegal
D:\Programs_Win2K\Microsoft Platform SDK for Windows Server 2003
R2\Include\html
help.h(374) : error C2061: syntax error : identifier 'dwData'
D:\Programs_Win2K\Microsoft Platform SDK for Windows Server 2003
R2\Include\html
help.h(374) : error C2059: syntax error : ';'
D:\Programs_Win2K\Microsoft Platform SDK for Windows Server 2003
R2\Include\html
help.h(375) : error C2059: syntax error : ')'
D:\Programs_Win2K\Microsoft Platform SDK for Windows Server 2003
R2\Include\html
help.h(383) : error C2146: syntax error : missing ')' before identifier
'dwData'

D:\Programs_Win2K\Microsoft Platform SDK for Windows Server 2003
R2\Include\html
help.h(383) : error C2081: 'DWORD_PTR' : name in formal parameter list
illegal
D:\Programs_Win2K\Microsoft Platform SDK for Windows Server 2003
R2\Include\html
help.h(383) : error C2061: syntax error : identifier 'dwData'
D:\Programs_Win2K\Microsoft Platform SDK for Windows Server 2003
R2\Include\html
help.h(383) : error C2059: syntax error : ';'
D:\Programs_Win2K\Microsoft Platform SDK for Windows Server 2003
R2\Include\html
help.h(384) : error C2059: syntax error : ')'
help_dlg.c(133) : warning C4013: 'HtmlHelpW' undefined; assuming extern
returnin
g int
help_dlg.c(135) : warning C4047: '=' : 'struct HWND__ *' differs in levels
of in
direction from 'int '
hostlist_table.c
layout_prefs.c
....
<snipped>
.....
voip_calls_dlg.c
wlan_stat_dlg.c
wsp_stat.c
Generating Code...
NMAKE : fatal error U1077: 'D:\PROGRA~1\MICROS~1\VC98\BIN\cl.exe' : return
code
'0x2'
Stop.
NMAKE : fatal error U1077: 'D:\PROGRA~1\MICROS~1\VC98\BIN\NMAKE.EXE' :
return co
de '0x2'
Stop.
=====

Thanks and Regards,
Abhijit


The information contained in this email and any attachments is confidential and may be subject to copyright or other intellectual property protection. If you are not the intended recipient, you are not authorized to use or disclose this information, and we request that you notify us by reply mail or telephone and delete the original message from your mail system.