Ethereal-dev: [Ethereal-dev] GTK will not compile on Windows based computer after Monday cvs u

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Greg Morris" <GMORRIS@xxxxxxxxxx>
Date: Tue, 25 Jun 2002 09:08:38 -0600
CVS update from Friday afternoon no problems... Updated again Monday morning and cannot get the GTK directory to compile. Below is a copy of the text returned by the Microsoft compiler. Any ideas?
 
Thanks,
Greg
 
C:\Dev\cvs\ethereal\gtk>nmake makefile.nmake
 
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 -DHAVE_CONFIG_H /I.. /I../wiretap  /IC:
\ethereal-win32-libs\glib /IC:\ethereal-win32-libs\gtk+ /IC:\ethereal-win32-libs
\glib/gmodule  /IC:\ethereal-win32-libs\gtk+\gdk /IC:\ethereal-win32-libs\gtk+\g
dk\win32  /IC:\ethereal-win32-libs\WPdpack\WPCAP\LIBPCAP /IC:\ethereal-win32-lib
s\WPdpack\WPCAP\LIBPCAP\bpf  /IC:\ethereal-win32-libs\WPdpack\WPCAP\LIBPCAP\lbl
 /IC:\ethereal-win32-libs\WPdpack\include -D_U_="" -Zi -Fd.\ -c capture_dlg.c ca
pture_prefs.c color_dlg.c colors.c color_utils.c column_prefs.c decode_as_dlg.c
dfilter_expr_dlg.c display_opts.c dlg_utils.c file_dlg.c filter_prefs.c find_dlg
.c follow_dlg.c goto_dlg.c gui_prefs.c help_dlg.c main.c menu.c nameres_prefs.c
packet_win.c plugins_dlg.c prefs_dlg.c print_dlg.c print_mswin.c print_prefs.c p
rogress_dlg.c proto_dlg.c proto_draw.c proto_hier_stats_dlg.c simple_dialog.c st
ream_prefs.c summary_dlg.c tcp_graph.c ui_util.c
Microsoft (R) 32-bit C/C++ Standard Compiler Version 12.00.8168 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
 
capture_dlg.c
c:\dev\wpdpack\include\gnuc.h(18) : warning C4005: 'inline' : macro redefinition
 
        c:\dev\glib\glib.h(225) : see previous definition of 'inline'
c:\Program Files\Microsoft Visual Studio\VC98\include\winsock2.h(99) : error C2011: 'fd_set' : 'struct' type redefinition
c:\Program Files\Microsoft Visual Studio\VC98\include\winsock2.h(134) : warning
C4005: 'FD_SET' : macro redefinition
        c:\Program Files\Microsoft Visual Studio\VC98\include\winsock.h(83) : see previous definition of 'FD_SET'
c:\Program Files\Microsoft Visual Studio\VC98\include\winsock2.h(143) : error C2011: 'timeval' : 'struct' type redefinition
c:\Program Files\Microsoft Visual Studio\VC98\include\winsock2.h(199) : error C2011: 'hostent' : 'struct' type redefinition
c:\Program Files\Microsoft Visual Studio\VC98\include\winsock2.h(212) : error C2011: 'netent' : 'struct' type redefinition
c:\Program Files\Microsoft Visual Studio\VC98\include\winsock2.h(219) : error C2011: 'servent' : 'struct' type redefinition
c:\Program Files\Microsoft Visual Studio\VC98\include\winsock2.h(226) : error C2011: 'protoent' : 'struct' type redefinition
c:\Program Files\Microsoft Visual Studio\VC98\include\winsock2.h(310) : error C2011: 'in_addr' : 'struct' type redefinition
c:\Program Files\Microsoft Visual Studio\VC98\include\winsock2.h(368) : error C2011: 'sockaddr_in' : 'struct' type redefinition
...
...
...