Hello If anyone is facing the issue of not being
able to locate unistd.h file in scanner.c file , just copy a blank unistd.h
file in C:\Program Files\Microsoft Visual Studio
8\VC\include\sys Directory. No need of changing anything in
the fparticular file as that file is being automatically generated in build
process and everytime You make distclean the same problem will
be reproduced during the build process Thanks Hemant From: Kumar, Hemant Hi One more thing If I launch the application
from C:\wireshark-1.0.0\wireshark-gtk1 or C:\wireshark-1.0.0\wireshark-gtk12 it works
fine but not from C:\wireshark-1.0.0\ which
is the root directory and where I actually expected the application to be
correctly build. Can you please shed light on this aspect ? Thanks in advance Hemant From:
wireshark-dev-bounces@xxxxxxxxxxxxx
[mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On
Behalf Of Kumar, Hemant Hi Thanks!! for the input. Actually c:>
utils executables were being utilized rather that cygwins so I removed the
utils paths setting in Path variable. Also I removed the include Unistd.h file
statement in scanner.c as it was giving error, I believe it is not required on
Win32 platform. So finally after all this It worked and I
was able to successfully build the wireshark exe in wireshark1.0.0. folder. But now on launching the application it
says that it is unable to locate wiretap-0.3.1.dll though it is present in the
following locations:-- C:\wireshark-1.0.0\wiretap C:\wireshark-1.0.0\wireshark-gtk1 C:\wireshark-1.0.0\wireshark-gtk2 Can you please tell what I need to do to
overcome this? Thanks Hemant From:
wireshark-dev-bounces@xxxxxxxxxxxxx
[mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On
Behalf Of Jaap Keuter Hi, Looks like you'll need to update your
cygwin installation. Thanx, Jaap From:
wireshark-dev-bounces@xxxxxxxxxxxxx
[mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On
Behalf Of Kumar, Hemant Hello I tried to delete and setup again but it
again fails with the same message. So I downloaded all the required
libraries from the link http://anonsvn.wireshark.org/wireshark-win32-libs/tags/2008-03-17/packages/ and instead of doing setup I went for the
build with the command nmake -f makefile.nmake setup but now it fails stating the
following:---- Wireshark is ready to build. c:\util\gnu\bin\touch.EXE:
unrecognized option `--reference=Makefile.nmake' Usage: c:\util\gnu\bin\touch.EXE [-acfm] [-r reference-file] [-t MMDDhhmm[[CC]YY ][.ss]] [-d
time] [--time={atime,access,use,mtime,modify}] [--date=time] [--file=reference-file] [--no-create]
[--help] [--version] file... NMAKE : fatal error U1077:
'c:\util\gnu\bin\touch.EXE' : return code '0x1' Stop. I don’t know why touch.exe in
util/gnu fails to recognize the –reference option. It says It identifies –r or –file
option , so I want to know where should I make change in one of the build files so that touch.exe is able to
recognize and build process can move ahead. Can you please shed some light on this
issue? Thanks in advance Hemant Kumar From:
wireshark-dev-bounces@xxxxxxxxxxxxx
[mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On
Behalf Of Jaap Keuter Hi, Seems like a budged download. Can you open
the zipfile by yourself? Otherwise just delete it and setup again. Thanx, Jaap From:
wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx]
On Behalf Of Kumar, Hemant Hello all I am a new user of Wireshark1.0.0 and an setting up my build
environment on WindowsXP. I have followed the instructions as
mentioned in the Developer user guide and everything was working fine until I encountered this
problem. When I run the command nmake -f makefile.nmake setup it results in the following error after it has unpacked a
lot of package. ****** user-guide-24665.zip ****** No HTTP proxy specified (http_proxy and HTTP_PROXY are
empty). Downloading user-guide-24665.zip into C:\WIRESH~2.0,
installing into user-guide --10:27:33--
http://anonsvn.wireshark.org/wireshark-win32-libs/tags/2008-03-17/ packages//user-guide-24665.zip
=> `user-guide-24665.zip' Resolving anonsvn.wireshark.org... 67.228.110.124 Connecting to anonsvn.wireshark.org|67.228.110.124|:80...
connected. HTTP request sent, awaiting response... 200 OK Length: 2,713,431 (2.6M) [application/octet-stream] 100%[====================================>]
2,713,431 1.27M/s 10:27:35 (1.27 MB/s) - `user-guide-24665.zip' saved
[2713431/2713431] Extracting C:\WIRESH~2.0/user-guide-24665.zip into
C:\WIRESH~2.0/user-guide skipping:
user-guide.chm
compression method 9 ERROR: Couldn't unpack C:\WIRESH~2.0/user-guide-24665.zip NMAKE : fatal error U1077: 'c:\cygwin\bin\bash.EXE' : return
code '0x1' Stop. The problem is related to unpacking if user-guide zipped
package and before I can do anything the build fails and the remaining zipped
package Necessary for compile while using the command “nmake -f
makefile.nmake all “ are not downloaded and intalled. Any help in this regard would be highly appreciated. Thanks in advance Hemant Kumar |
- Follow-Ups:
- Re: [Wireshark-dev] unistd.h issue-- a suggestion
- From: Graham Bloice
- Re: [Wireshark-dev] unistd.h issue-- a suggestion
- Prev by Date: Re: [Wireshark-dev] SMTP: Extracting parametrs
- Next by Date: Re: [Wireshark-dev] unistd.h issue-- a suggestion
- Previous by thread: Re: [Wireshark-dev] SMTP: Extracting parametrs
- Next by thread: Re: [Wireshark-dev] unistd.h issue-- a suggestion
- Index(es):