Ethereal-dev: [Ethereal-dev] problem in building ethereal on win32 -winsock err

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

From: Masoud Kalali <security@xxxxxxxxxxxx>
Date: Tue, 05 Aug 2003 16:09:30 +0430
Hi  People
after i tried many way , fainally i pass all file not found err , but
its now there are a couple of err and warnings here , how  i can solve it/

'pcli.lib' is up-to-date
       cd ..
       cd rtnet
       NMAKE /                   -f Makefile.nmake

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

'rtnet.dll' is up-to-date
'rtnet.exp' is up-to-date
'rtnet.lib' is up-to-date
       cd ..
       cd ..
cl -DWIN32 -DNULL=0 -D_MT -D_DLL -DHAVE_CONFIG_H -Zi /IG:\ethereal\ether eal-win32-libs\glib_dir\include\glib-2.0 /IG:\ethereal\ethereal-win32-libs\glib _dir\lib\glib-2.0\include /IG:\ethereal\ethereal-win32-libs\gtk_dir /IG:\etherea l\ethereal-win32-libs\gtk_dir\gdk /I. /Iwiretap /IG:\ethereal\ethereal-win32-li bs\zlib /IG:\ethereal\ethereal-win32-libs\wpdpack\include /IG:\ethereal\etherea l-win32-libs\net-snmp-5.0.6\include /IG:\ethereal\ethereal-win32-libs\net-snmp-5 .0.6\win32 /IG:\ethereal\ethereal-win32-libs\adns\src /IG:\ethereal\ethereal-wi
n32-libs\adns\adns_win32 -D_U_="" -Fd.\ -c util.c
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.

util.c
e:\MICROS~1\VC98\INCLUDE\winsock2.h(99) : error C2011: 'fd_set' : 'struct' type
redefinition
.
.
.

e:\MICROS~1\VC98\INCLUDE\ws2tcpip.h(42) : warning C4005: 'IP_DONTFRAGMENT' : mac
ro redefinition
e:\MICROS~1\VC98\INCLUDE\winsock.h(342) : see previous definition of 'IP
_DONTFRAGMENT'
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.


Best Regards
Masoud Kalali