Ethereal-dev: [Ethereal-dev] Can't build on Windows due to Winsock2 errors.

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: Fri, 18 Jul 2003 14:58:06 -0600
Since performing a cvs update -Pd this morning I am no longer able to build Ethereal. I know that we ran into similar issues before when not using the WinPcap 2.3 libraries but this is what I have been using for a long time now. Was there another change to require the newer 3.x libraries instead? Any ideas why this is occuring? Your help in isolating would be great.
 
Greg
 
Microsoft (R) Incremental Linker Version 6.00.8168
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.
 
/out:rdps.exe
/debug
rdps.obj
        rdps print.ps ps.c
Making register.c (using python)
        rc  /r image\ethereal
        cd plugins
        NMAKE /                   -f Makefile.nmake
 
Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
 
        gcc -aux-info xyzzy -DHAVE_CONFIG_H -IC:\dev\glib -I.. -c plugin_api_list.c
In file included from ../wiretap/wtap.h:31,
                 from ../file.h:28,
                 from plugin_api_list.c:31:
/usr/include/w32api/winsock2.h:96: warning: #warning "fd_set and associated macros have been defined in sys/types.      This may cause runtime problems with W32 sockets"
/usr/include/w32api/winsock2.h:119: warning: `timercmp' redefined
/usr/include/sys/time.h:51: warning: this is the location of the previous definition
/usr/include/w32api/winsock2.h:120: warning: `timerclear' redefined
/usr/include/sys/time.h:47: warning: this is the location of the previous definition
In file included from ../wiretap/wtap.h:31,
                 from ../file.h:28,
                 from plugin_api_list.c:31:
/usr/include/w32api/winsock2.h:99: redefinition of `struct timeval'
/usr/include/w32api/winsock2.h:516: conflicting types for `select'
/usr/include/sys/select.h:29: previous declaration of `select'
NMAKE : fatal error U1077: 'gcc' : return code '0x1'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio\VC98\bin\N
MAKE.EXE"' : return code '0x2'
Stop.