Ethereal-dev: [Ethereal-dev] Cannot compile ethereal 0.9.5 on Windows 2000
Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.
From: John Pan <johnpan10@xxxxxxxxx>
Date: Thu, 4 Jul 2002 22:41:50 -0700 (PDT)
Hi, I am a software engineer living in Silicon Valley and recently I found your project. It was really great art. I downloaded ethereal-0.9.3.tar.gz, and set it up according to the README files on my Windows 2000 machine with Micrsoft Visual Studio 6.0 installed. I modified the config.nmake and downloaded all the required libraries, such as GTK+, GLIB, Zlib1.1.4, etc. Finally it could be compiled successfully with command 'nmake -f makefile.nmake'. However, after I downloaded ethereal-0.9.4.tar.gz version today, under exactly the same environment, although I modified config.nmake correctly, I could not compile the project on my Windows 2000 machine. And the error message is: ------------------------------ Error message: Scanner.c(31): Fatal error C1003: Cannot open include file: 'unistd.h'. ------------------------------ As a matter of fact, I had 'unistd.h' file in the cygwin directory, so I put the filepath into the system environment's include. But still the same problem existed. I wonder where and how I can get the library and include files for 'unistd.h'? Any URL to download from? Any library or package to install? Then, after I downloaded ethereal-0.9.5.tar.gz version today, it was even more weird. I spent a whole day, and still could not compile ethereal-0.9.5 on my Windows 2000 machine with MS Visual Studio 6.0, although I used the command 'nmake -f makefile.nmake'. I felt really frustrated. Are the README files in the tar.gz file obsolete for this version? Any trick or complete documentation for compiling this version on Windows platform? Please help me by emailing me back at your earlist possible convenience. The following is the error message ------------------------------ Error message: Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8804 for 80x86 Copyright (C) Microsoft Corp 1984-1998. All rights reserved. capture_dlg.c D:\user\workDoneInChina\downloads4ethereal\WPdpack\WPdpack\include\gnuc.h(18) : warning C4005: 'inline' : macro redefinition D:\user\GLIB_GTK\gtk+-dev-20001226\src\glib\gutils.h(95) : see previous definition of 'inline' E:\MSVC6\VC98\include\winsock2.h(99) : error C2011: 'fd_set' : 'struct' type redefinition E:\MSVC6\VC98\include\winsock2.h(134) : warning C4005: 'FD_SET' : macro redefinition E:\MSVC6\VC98\include\winsock.h(83) : see previous definition of 'FD_SET' E:\MSVC6\VC98\include\winsock2.h(143) : error C2011: 'timeval' : 'struct' type redefinition E:\MSVC6\VC98\include\winsock2.h(199) : error C2011: 'hostent' : 'struct' type redefinition E:\MSVC6\VC98\include\winsock2.h(212) : error C2011: 'netent' : 'struct' type redefinition E:\MSVC6\VC98\include\winsock2.h(219) : error C2011: 'servent' : 'struct' type redefinition E:\MSVC6\VC98\include\winsock2.h(226) : error C2011: 'protoent' : 'struct' type redefinition E:\MSVC6\VC98\include\winsock2.h(310) : error C2011: 'in_addr' : 'struct' type redefinition E:\MSVC6\VC98\include\winsock2.h(368) : error C2011: 'sockaddr_in' : 'struct' type redefinition E:\MSVC6\VC98\include\winsock2.h(378) : error C2011: 'WSAData' : 'struct' type redefinition E:\MSVC6\VC98\include\winsock2.h(430) : warning C4005: 'SO_DONTLINGER' : macro redefinition E:\MSVC6\VC98\include\winsock.h(391) : see previous definition of 'SO_DONTLINGER' E:\MSVC6\VC98\include\winsock2.h(483) : warning C4005: 'AF_IPX' : macro redefinition E:\MSVC6\VC98\include\winsock.h(449) : see previous definition of 'AF_IPX' E:\MSVC6\VC98\include\winsock2.h(506) : warning C4005: 'AF_MAX' : macro redefinition E:\MSVC6\VC98\include\winsock.h(468) : see previous definition of 'AF_MAX' E:\MSVC6\VC98\include\winsock2.h(512) : error C2011: 'sockaddr' : 'struct' type redefinition E:\MSVC6\VC98\include\winsock2.h(521) : error C2011: 'sockproto' : 'struct' type redefinition E:\MSVC6\VC98\include\winsock2.h(560) : error C2011: 'linger' : 'struct' type redefinition E:\MSVC6\VC98\include\winsock2.h(573) : warning C4005: 'SOMAXCONN' : macro redefinition E:\MSVC6\VC98\include\winsock.h(533) : see previous definition of 'SOMAXCONN' E:\MSVC6\VC98\include\winsock2.h(598) : warning C4005: 'FD_READ' : macro redefinition E:\MSVC6\VC98\include\winsock.h(551) : see previous definition of 'FD_READ' E:\MSVC6\VC98\include\winsock2.h(601) : warning C4005: 'FD_WRITE' : macro redefinition E:\MSVC6\VC98\include\winsock.h(552) : see previous definition of 'FD_WRITE' E:\MSVC6\VC98\include\winsock2.h(604) : warning C4005: 'FD_OOB' : macro redefinition E:\MSVC6\VC98\include\winsock.h(553) : see previous definition of 'FD_OOB' E:\MSVC6\VC98\include\winsock2.h(607) : warning C4005: 'FD_ACCEPT' : macro redefinition E:\MSVC6\VC98\include\winsock.h(554) : see previous definition of 'FD_ACCEPT' E:\MSVC6\VC98\include\winsock2.h(610) : warning C4005: 'FD_CONNECT' : macro redefinition E:\MSVC6\VC98\include\winsock.h(555) : see previous definition of 'FD_CONNECT' E:\MSVC6\VC98\include\winsock2.h(613) : warning C4005: 'FD_CLOSE' : macro redefinition E:\MSVC6\VC98\include\winsock.h(556) : see previous definition of 'FD_CLOSE' E:\MSVC6\VC98\include\winsock2.h(1427) : error C2375: 'accept' : redefinition; different linkage E:\MSVC6\VC98\include\winsock.h(707) : see declaration of 'accept' E:\MSVC6\VC98\include\winsock2.h(1448) : error C2375: 'bind' : redefinition; different linkage E:\MSVC6\VC98\include\winsock.h(710) : see declaration of 'bind' E:\MSVC6\VC98\include\winsock2.h(1467) : error C2375: 'closesocket' : redefinition; different linkage E:\MSVC6\VC98\include\winsock.h(712) : see declaration of 'closesocket' E:\MSVC6\VC98\include\winsock2.h(1486) : error C2375: 'connect' : redefinition; different linkage E:\MSVC6\VC98\include\winsock.h(714) : see declaration of 'connect' E:\MSVC6\VC98\include\winsock2.h(1507) : error C2375: 'ioctlsocket' : redefinition; different linkage E:\MSVC6\VC98\include\winsock.h(716) : see declaration of 'ioctlsocket' E:\MSVC6\VC98\include\winsock2.h(1528) : error C2375: 'getpeername' : redefinition; different linkage E:\MSVC6\VC98\include\winsock.h(718) : see declaration of 'getpeername' E:\MSVC6\VC98\include\winsock2.h(1549) : error C2375: 'getsockname' : redefinition; different linkage E:\MSVC6\VC98\include\winsock.h(721) : see declaration of 'getsockname' E:\MSVC6\VC98\include\winsock2.h(1572) : error C2375: 'getsockopt' : redefinition; different linkage E:\MSVC6\VC98\include\winsock.h(724) : see declaration of 'getsockopt' E:\MSVC6\VC98\include\winsock2.h(1593) : error C2375: 'htonl' : redefinition; different linkage E:\MSVC6\VC98\include\winsock.h(727) : see declaration of 'htonl' E:\MSVC6\VC98\include\winsock2.h(1610) : error C2375: 'htons' : redefinition; different linkage E:\MSVC6\VC98\include\winsock.h(729) : see declaration of 'htons' E:\MSVC6\VC98\include\winsock2.h(1627) : error C2375: 'inet_addr' : redefinition; different linkage E:\MSVC6\VC98\include\winsock.h(731) : see declaration of 'inet_addr' E:\MSVC6\VC98\include\winsock2.h(1644) : error C2375: 'inet_ntoa' : redefinition; different linkage E:\MSVC6\VC98\include\winsock.h(733) : see declaration of 'inet_ntoa' E:\MSVC6\VC98\include\winsock2.h(1662) : error C2375: 'listen' : redefinition; different linkage E:\MSVC6\VC98\include\winsock.h(735) : see declaration of 'listen' E:\MSVC6\VC98\include\winsock2.h(1680) : error C2375: 'ntohl' : redefinition; different linkage E:\MSVC6\VC98\include\winsock.h(737) : see declaration of 'ntohl' E:\MSVC6\VC98\include\winsock2.h(1697) : error C2375: 'ntohs' : redefinition; different linkage E:\MSVC6\VC98\include\winsock.h(739) : see declaration of 'ntohs' E:\MSVC6\VC98\include\winsock2.h(1717) : error C2375: 'recv' : redefinition; different linkage E:\MSVC6\VC98\include\winsock.h(741) : see declaration of 'recv' E:\MSVC6\VC98\include\winsock2.h(1742) : error C2375: 'recvfrom' : redefinition; different linkage E:\MSVC6\VC98\include\winsock.h(743) : see declaration of 'recvfrom' E:\MSVC6\VC98\include\winsock2.h(1768) : error C2375: 'select' : redefinition; different linkage E:\MSVC6\VC98\include\winsock.h(746) : see declaration of 'select' E:\MSVC6\VC98\include\winsock2.h(1792) : error C2375: 'send' : redefinition; different linkage E:\MSVC6\VC98\include\winsock.h(749) : see declaration of 'send' E:\MSVC6\VC98\include\winsock2.h(1817) : error C2375: 'sendto' : redefinition; different linkage E:\MSVC6\VC98\include\winsock.h(751) : see declaration of 'sendto' E:\MSVC6\VC98\include\winsock2.h(1843) : error C2375: 'setsockopt' : redefinition; different linkage E:\MSVC6\VC98\include\winsock.h(754) : see declaration of 'setsockopt' E:\MSVC6\VC98\include\winsock2.h(1865) : error C2375: 'shutdown' : redefinition; different linkage E:\MSVC6\VC98\include\winsock.h(757) : see declaration of 'shutdown' E:\MSVC6\VC98\include\winsock2.h(1885) : error C2375: 'socket' : redefinition; different linkage E:\MSVC6\VC98\include\winsock.h(759) : see declaration of 'socket' E:\MSVC6\VC98\include\winsock2.h(1908) : error C2375: 'gethostbyaddr' : redefinition; different linkage E:\MSVC6\VC98\include\winsock.h(763) : see declaration of 'gethostbyaddr' ------------------------------ __________________________________________________ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com
- Follow-Ups:
- Re: [Ethereal-dev] Cannot compile ethereal 0.9.5 on Windows 2000
- From: Guy Harris
- Re: [Ethereal-dev] Cannot compile ethereal 0.9.5 on Windows 2000
- Prev by Date: [Ethereal-dev] RE: Ethereal-dev digest, Vol 1 #1036 - 1 msg
- Next by Date: Re: [Ethereal-dev] Cannot compile ethereal 0.9.5 on Windows 2000
- Previous by thread: Re: [Ethereal-dev] Cannot compile ethereal 0.9.5 on Windows 2000
- Next by thread: Re: [Ethereal-dev] Cannot compile ethereal 0.9.5 on Windows 2000
- Index(es):