Ethereal-dev: [Ethereal-dev] Problem in building ethereal - help needed

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

From: "Sattanathan. S" <sattanathan@xxxxxxxxx>
Date: Tue, 14 Feb 2006 14:16:26 +0530
Hello,
 
Thanks for the comments.
I have installed bison v2.1 (downloaded from http://gnuwin32.sourceforge.net/), and setted the path in config.nmake file.
Here is the output of nmake -f MakeFile.nmake verify_tools. Output shows that, it is able to detect the bison properly as per my configurations in config.win32
 
C:\ethereal-0.10.14>nmake -f MakeFile.nmake verify_tools

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

Checking for required applications:
        cl: /cygdrive/c/Program Files/Microsoft Visual Studio/VC98/bin/cl
        link: /cygdrive/c/Program Files/Microsoft Visual Studio/VC98/bin/link
        nmake: /cygdrive/c/Program Files/Microsoft Visual Studio/VC98/bin/nmake

        bash: /usr/bin/bash
        bison: /cygdrive/c/GnuWin32/bin/bison
        flex: /cygdrive/c/GnuWin32/bin/flex
        env: /usr/bin/env
        grep: /usr/bin/grep
        /usr/bin/find: /usr/bin/find
        perl: /cygdrive/c/Perl/bin/perl
        python: /cygdrive/c/python24/python
        sed: /cygdrive/c/GnuWin32/bin/sed
        unzip: /cygdrive/c/GnuWin32/bin/unzip
        wget: /cygdrive/c/GnuWin32/bin/wget

Problem is happening when it tries to execute bison -d -p ascend ascend-grammar.y -o ascend-grammar.c. Please let me know how I can solve this problem for executing nmake -f makefile.nmake all  for building ethereal.
Looking for your early help.


Regds
Sattanathan. S
 
 
 
  • Subject: RE: [Ethereal-dev] Problem in building ethereal - help needed
  • From: "Graham Bloice" <graham.bloice@xxxxxxxxxxxxx>
  • Date: Mon, 13 Feb 2006 09:33:30 -0000

Continuing the html top posting style
 
Hmmm.
 
Bison should be in the usual place for cygwin bison, e.g. drive_and_path_to_cygwin/usr/bin/bison.
 
It sounds as though your build environment is fubared.
 
The path to the cygwin binaries (CYGWIN_PATH) is set in config.nmake which is then added to the main PATH.
 
Regards,
 
Graham
 
-----Original Message-----
From: ethereal-dev-bounces@xxxxxxxxxxxx [mailto: ethereal-dev-bounces@xxxxxxxxxxxx]On Behalf Of Muthyala, Rajeswara Rao (Rajeswara Rao)** CTR **
Sent: 13 February 2006 05:55
To: 'Ethereal development'
Subject: RE: [Ethereal-dev] Problem in building ethereal - help needed

please make sure that you have bison.exe file in \VC98\bin folder .if not just download it and deploy.
-----Original Message-----
From: ethereal-dev-bounces@xxxxxxxxxxxx [mailto: ethereal-dev-bounces@xxxxxxxxxxxx]On Behalf Of Sattanathan. S
Sent: Friday, February 10, 2006 6:13 PM
To: ethereal-dev@xxxxxxxxxxxx; ethereal-user@xxxxxxxxxxxx
Subject: [Ethereal-dev] Problem in building ethereal - help needed

Hi,
 
I'm getting the following error when I was trying to execute nmake -f makefile.nmake in command line prompt of Windows XP for the purpose of setting up of an development environment.
Platform: Windows XP, using Visual Studio 6.
FYI: I have installed all the softwares/tools/libraries as per README.win32 file, developer guide. nmake -f makefile.nmake verify_tools command is listing all the installed softwares as per the documentation provided in the Ethereal site.
. . . .
. . . .
. . . .
        "bison"  -d -p ascend ascend-grammar.y -o ascend-grammar.c
bison: m4: Invalid argument
NMAKE : fatal error U1077: '"bison"' : return code '0x1'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio\VC98\bin\N
MAKE.EXE"' : return code '0x2'
Stop.
 
Please let me know how I can solve this problem for executing nmake -f makefile.nmake all  for building ethereal.
Looking for your kind help.
 
Thanks a lot,
Regds
Sattanathan. S