Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: [Wireshark-dev] make error: gcc

Date: Fri, 1 May 2009 16:37:03 +0000 (GMT)
Hi,
I wanted to capture the wireless traffic in the XO.I used tcpdump and I follow this link http://wiki.laptop.org/go/Wireless . Then, to interpret mesh traffic correctly, I installed wireshark-0.99.5 with this patch: http://dev.laptop.org/~javier/patches/wireshark-0.99.5-fw-5.220.11-support.patch.
After patching wireshrak, I run
$make distclean
$./autogen.sh
$/.configure
But when I run "make", I got these errors:
/usr/bin/perl ./make-version.pl .
Version configuration file version.conf not found.  Using defaults.
This is not a SVN build.
svnversion.h is up-to-date.
make  all-recursive
make[1]: Entering directory `/home/pfe/wireshark-0.99.5'
Making all in tools
make[2]: Entering directory `/home/pfe/wireshark-0.99.5/tools'
Making all in lemon
make[3]: Entering directory `/home/pfe/wireshark-0.99.5/tools/lemon'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/pfe/wireshark-0.99.5/tools/lemon'
make[3]: Entering directory `/home/pfe/wireshark-0.99.5/tools'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/pfe/wireshark-0.99.5/tools'
make[2]: Leaving directory `/home/pfe/wireshark-0.99.5/tools'
Making all in wiretap
make[2]: Entering directory `/home/pfe/wireshark-0.99.5/wiretap'
make  all-am
make[3]: Entering directory `/home/pfe/wireshark-0.99.5/wiretap'
make[3]: Leaving directory `/home/pfe/wireshark-0.99.5/wiretap'
make[2]: Leaving directory `/home/pfe/wireshark-0.99.5/wiretap'
Making all in doc
make[2]: Entering directory `/home/pfe/wireshark-0.99.5/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/pfe/wireshark-0.99.5/doc'
Making all in epan
make[2]: Entering directory `/home/pfe/wireshark-0.99.5/epan'
Making all in crypt
make[3]: Entering directory `/home/pfe/wireshark-0.99.5/epan/crypt'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/pfe/wireshark-0.99.5/epan/crypt'
Making all in ftypes
make[3]: Entering directory `/home/pfe/wireshark-0.99.5/epan/ftypes'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/pfe/wireshark-0.99.5/epan/ftypes'
Making all in dfilter
make[3]: Entering directory `/home/pfe/wireshark-0.99.5/epan/dfilter'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/pfe/wireshark-0.99.5/epan/dfilter'
Making all in dissectors
make[3]: Entering directory `/home/pfe/wireshark-0.99.5/epan/dissectors'
make  all-am
make[4]: Entering directory `/home/pfe/wireshark-0.99.5/epan/dissectors'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/pfe/wireshark-0.99.5/epan/dissectors'
make[3]: Leaving directory `/home/pfe/wireshark-0.99.5/epan/dissectors'
make[3]: Entering directory `/home/pfe/wireshark-0.99.5/epan'
odtd_parse.c ./dtd_parse.l
/bin/bash: odtd_parse.c: command not found
make[3]: [dtd_parse.c] Error 127 (ignored)
/bin/bash ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I./.. -I./../tools/lemon    -I/usr/local/include  -DINET6 -D_U_="__attribute__((unused))" -Wall -Wpointer-arith -W  --coverage -I/usr/local/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12   -MT dtd_parse.lo -MD -MP -MF .deps/dtd_parse.Tpo -c -o dtd_parse.lo dtd_parse.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I./.. -I./../tools/lemon -I/usr/local/include -DINET6 "-D_U_=__attribute__((unused))" -Wall -Wpointer-arith -W --coverage -I/usr/local/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -MT dtd_parse.lo -MD -MP -MF .deps/dtd_parse.Tpo -c dtd_parse.c  -fPIC -DPIC -o .libs/dtd_parse.o
gcc: dtd_parse.c: No such file or directory
gcc: no input files
make[3]: *** [dtd_parse.lo] Error 1
make[3]: Leaving directory `/home/pfe/wireshark-0.99.5/epan'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/pfe/wireshark-0.99.5/epan'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/pfe/wireshark-0.99.5'
make: *** [all] Error 2
What must I do?
thanks