Wireshark-dev: Re: [Wireshark-dev] nmake -f Makefile.nmake all is failing
From: "J.C. Wren" <jcwren@xxxxxxxxxx>
Date: Wed, 6 Feb 2008 09:28:59 -0500
ascend-scanner.c is produced by flex.  As the make reported, the C
compiler can't find ascend-scanner.c, so likely flex was unhappy and
there was a silent error.  Have you updated your cygwin tools
recently?  I know that flex-2.5.4 works, as that's what's installed on
my machine.

I would suggest running http://cygwin.com/setup.exe and making sure
everything is up to date.  If you just click through, it'll do
everything for you.

--jc

On Feb 6, 2008 8:50 AM, Satish Srirama <ssn_wireshark@xxxxxxxxx> wrote:
>
> Hi Anders and Abhik,
>     Thank you very much for your replys. I have tried with distclean, then
> checkout the code again and tried to distclean and 'nmake -f Makefile.nmake
> all'. Still I could not make it work.
>     I tried to download wireshark-0.99.7 and tried to build again.
> Surprisingly I got the same error.
>
> ascend-grammar.c
> ascend-scanner.c
> c1 : fatal error C1083: Cannot open source file: 'ascend-scanner.c': No such
> fil
> e or directory
> k12text.c
> Generating Code...
> Compiling...
> file_util.c
> Generating Code...
> NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
> 8\VC\BIN\c
> l.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.
>
>
> Any suggestions? Could there be a trouble with my setup, in general. I am
> using cygwin, python24 . In this regard I am sending my verify_tools report
>
> C:\wireshark-0.99.7>nmake -f Makefile.nmake verify_tools
>
> Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
> Checking for required applications:
>         cl: /cygdrive/c/Program Files/Microsoft Visual Studio 8/VC/BIN/cl
>         link: /cygdrive/c/Program Files/Microsoft Visual Studio
> 8/VC/BIN/link
>         nmake: /cygdrive/c/Program Files/Microsoft Visual Studio
> 8/VC/BIN/nmake
>
>         bash: /usr/bin/bash
>         bison: /usr/bin/bison
>         flex: /usr/bin/flex
>         env: /usr/bin/env
>         grep: /usr/bin/grep
>         /usr/bin/find: /usr/bin/find
>         perl: /usr/bin/perl
>         C:/python24/python.exe: /cygdrive/c/python24/python.exe
>         sed: /usr/bin/sed
>         unzip: /usr/bin/unzip
>         wget: /usr/bin/wget
>
> Thanks & Regards,
> Satish
>
>
>
> ----- Original Message ----
> From: Anders Broman <anders.broman@xxxxxxxxxxxx>
> To: Developer support list for Wireshark <wireshark-dev@xxxxxxxxxxxxx>
> Sent: Wednesday, February 6, 2008 12:38:41 PM
> Subject: Re: [Wireshark-dev] nmake -f Makefile.nmake all is failing
>
>  Hi,
> Start off with a distclean...
> /Anders
>
> -----Original Message-----
> From: wireshark-dev-bounces@xxxxxxxxxxxxx
> [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Abhik Sarkar
> Sent: den 6 februari 2008 12:35
> To: Developer support list for Wireshark
> Subject: Re: [Wireshark-dev] nmake -f Makefile.nmake all is failing
>
> Hi Satish,
>
> Did you get the sources from a tarball or by checking it out from svn.
> If it was from svn, you might want to update and try again.
>
> Hope this helps
> Abhik.
>
> On Feb 6, 2008 3:16 PM, Satish Srirama <ssn_wireshark@xxxxxxxxx> wrote:
> >
> > Hi All,
> >    I am new to wireshark development. I am trying to establish the
> > build setup from source code and I am following the developer
> > guidelines. I am getting the following error when I am working with
> > the command "nmake -f Makefile.nmake all". The snapshot of the details
>
> > are : Further details can be provided at request.  Can anyone help me?
>
> > I also tried to distclean again but the error persists. Thanks in
> advance.
> >
> >    Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
> > Copyright (C) Microsoft Corporation.  All rights reserved.
> >
> >        bison  -d -p ascend ascend-grammar.y -o ascend-grammar.c
> >        bash -o igncr ...\tools\runlex.sh "flex" -oascend-scanner.c
> > ascend-scanne r.l
> >  15432 [main] bash 2588 fork: child -1 - CreateProcessA failed, errno
>
> > 13
> > .../tools/runlex.sh: fork: Permission denied
> > flex: could not create
> >        bash -o igncr ...\tools\runlex.sh "flex" -ok12text.c k12text.l
> >    514 [main] bash 2980 fork: child -1 - CreateProcessA failed, errno
>
> > 13
> > .../tools/runlex.sh: fork: Permission denied
> >        rc  /r ...\image\wiretap.rc
> >        cl -DWIN32 -DNULL=0 -D_MT -D_DLL -WX -DYYMALLOC=malloc
> > -DYYFREE=free -DH AVE_CONFIG_H /I. /I..
> > /IC:\wireshark-win32-libs\glib\include\glib-2.0
> > /IC:\wir
> > eshark-win32-libs\glib\lib\glib-2.0\include
> > /IC:\wireshark-win32-libs\zlib123\in
> > clude /IC:\wireshark-win32-libs\WPdpack/include  -D_U_="" /Zi /W3 /MD
> > /D_CRT_SEC URE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE
> > /DMSC_VER_REQUIRED=1400 -Fd.\ -c 5v iews.c airopeek9.c ascend.c atm.c
> > ber.c btsnoop.c buffer.c catapult_dct2000.c co mmview.c cosine.c
> > csids.c dbs-etherwatch.c erf.c etherpeek.c eyesdn.c file_acces s.c
> > file_wrappers.c hcidump.c i4btrace.c iptrace.c iseries.c k12.c
> > lanalyzer.c l ibpcap.c mpeg.c mpeg-audio.c netmon.c netscreen.c
> > nettl.c network_instruments.c netxray.c ngsniffer.c pcapng.c pppdump.c
>
> > radcom.c snoop.c toshiba.c visual.c vms ..c wtap.c ascend-grammar.c
> > ascend-scanner.c k12text.c file_util.c Microsoft (R) 32-bit C/C++
> > Optimizing Compiler Version 14.00.50727.42 for
> > 80x86
> > Copyright (C) Microsoft Corporation.  All rights reserved.
> >
> > 5views.c
> > airopeek9.c
> > ascend.c
> > atm.c
> > ber.c
> > btsnoop.c
> > buffer.c
> > catapult_dct2000.c
> > commview.c
> > cosine.c
> > csids.c
> > dbs-etherwatch.c
> > erf.c
> > etherpeek.c
> > eyesdn.c
> > file_access.c
> > file_wrappers.c
> > hcidump.c
> > i4btrace.c
> > iptrace.c
> > Generating Code...
> > Compiling...
> > iseries.c
> > k12.c
> > lanalyzer.c
> > libpcap.c
> > mpeg.c
> > mpeg-audio.c
> > netmon.c
> > netscreen.c
> > nettl.c
> > network_instruments.c
> > netxray.c
> > ngsniffer.c
> > pcapng.c
> > pppdump.c
> > radcom.c
> > snoop.c
> > toshiba.c
> > visual.c
> > vms.c
> > wtap.c
> > Generating Code...
> > Compiling...
> > ascend-grammar.c
> > ascend-scanner.c
> > c1 : fatal error C1083: Cannot open source file: 'ascend-scanner.c':
> > No such fil e or directory k12text.c
> > k12text.l(65) : fatal error C1083: Cannot open include file:
> > 'k12text_lex.h': No
> >  such file or directory
> > file_util.c
> > Generating Code...
> > NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
> > 8\VC\BIN\c l.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.
> >
> >
> > Regards,
> > Satish Srirama
> >
> >  ________________________________
> > Looking for last minute shopping deals? Find them fast with Yahoo!
> Search.
> > _______________________________________________
> > Wireshark-dev mailing list
> > Wireshark-dev@xxxxxxxxxxxxx
> > http://www.wireshark.org/mailman/listinfo/wireshark-dev
> >
> >
> _______________________________________________
> Wireshark-dev mailing list
> Wireshark-dev@xxxxxxxxxxxxx
> http://www.wireshark.org/mailman/listinfo/wireshark-dev
> _______________________________________________
> Wireshark-dev mailing list
> Wireshark-dev@xxxxxxxxxxxxx
> http://www.wireshark.org/mailman/listinfo/wireshark-dev
>
>
>  ________________________________
> Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it
> now.
> _______________________________________________
> Wireshark-dev mailing list
> Wireshark-dev@xxxxxxxxxxxxx
> http://www.wireshark.org/mailman/listinfo/wireshark-dev
>
>