Wireshark-dev: Re: [Wireshark-dev] Build Failure.Please help!!
From: "Kumar, Hemant" <kumarh@xxxxxxxxxxxx>
Date: Thu, 5 Jun 2008 15:07:49 -0700

Hello

 

I got around this problem by modifying the statement in Makefile in Wireshark directory.Just modified the -–reference=Makefile.nmake to –r Makefile.nmake.

 

Another problem which I am facing now is related to Bison.exe.I get the following error now.

 

 

  bison  -d -p ascend ascend-grammar.y -o ascend-grammar.c

c:\util\gnu\bin\bison.EXE: /usr/local/lib/bison.simple: No such file or director

y

NMAKE : fatal error U1077: 'c:\util\gnu\bin\bison.EXE' : return code '0x2'

Stop.

NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\n

make.exe"' : return code '0x2'

Stop.

 

I can see that bison.simple in not present in /usr/local/lib . When I installed cygwin it should have come alongwith it?

Or we need to install bison externally also?

 

Thanks

Hemant


From: Kumar, Hemant
Sent: Thursday, June 05, 2008 1:12 PM
To: 'wireshark-dev@xxxxxxxxxxxxx'
Subject: [Wireshark-dev] Build Failure.Please help!!

 

Sorry I used the command for building the wireshark.exe

 

nmake -f makefile.nmake all

 

instead of what is mentioned in the mail below.

 

Thanks

Hemant

 

 


From: Kumar, Hemant
Sent: Thursday, June 05, 2008 1:10 PM
To: 'Developer support list for Wireshark'
Subject: RE: [Wireshark-dev] Build Failure.Please help!!

 

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
Sent: Thursday, June 05, 2008 12:37 PM
To: 'Developer support list for Wireshark'
Subject: Re: [Wireshark-dev] Build Failure.Please help!!

 

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
Sent: 2008-Jun-05 19:33
To: wireshark-dev@xxxxxxxxxxxxx
Cc: wireshark-users@xxxxxxxxxxxxx
Subject: [Wireshark-dev] Build Failure.Please help!!

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