ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Ethereal-dev: [Ethereal-dev] 'ethereal' build target fails?

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

From: Todd Sabin <tsabin@xxxxxxxxxxxxx>
Date: Mon, 22 Sep 2003 23:25:40 -0400
I just did the following:

(check out cvs head into a new directory)
$ ./autogen.sh
$ ./configure
$ make -k ethereal

The build failed in a couple ways.  x11-declarations.h was missing,
and a bunch of plugin stuff wasn't there.  Excerpts:
[...]
gcc -DHAVE_CONFIG_H -I. -I. -I.  -I. -I./wiretap -I/usr/include/rpm -DINET6 -O2 -march=i386 -mcpu=i686 -g -Dlinux -I/usr/include/rpm -I. -I/usr/include/net-snmp  -DINET6 -D_U_="__attribute__((unused))" -Wall -W -g -O2 -I/usr/local/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/rpm -DINET6 -O2 -march=i386 -mcpu=i686 -g -Dlinux -I/usr/include/rpm -I. -I/usr/include/net-snmp -c `test -f 'packet-x11.c' || echo './'`packet-x11.c
packet-x11.c:74:30: x11-declarations.h: No such file or directory
packet-x11.c: In function `colorFlags':
packet-x11.c:798: `hf_x11_coloritem_flags' undeclared (first use in this function)
packet-x11.c:798: (Each undeclared identifier is reported only once
packet-x11.c:798: for each function it appears in.)
packet-x11.c:802: `hf_x11_coloritem_flags_do_red' undeclared (first use in this function)
packet-x11.c:805: `hf_x11_coloritem_flags_do_green' undeclared (first use in this function)
[lots more errors like this]
[...]
gcc -DHAVE_CONFIG_H -I. -I. -I.  -I. -I./wiretap -I/usr/include/rpm -DINET6 -O2 -march=i386 -mcpu=i686 -g -Dlinux -I/usr/include/rpm -I. -I/usr/include/net-snmp  -DINET6 -D_U_="__attribute__((unused))" -Wall -W -g -O2 -I/usr/local/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/rpm -DINET6 -O2 -march=i386 -mcpu=i686 -g -Dlinux -I/usr/include/rpm -I. -I/usr/include/net-snmp -c `test -f 'summary.c' || echo './'`summary.c
make: *** No rule to make target `wiretap/libwiretap.a', needed by `ethereal'.
make: *** No rule to make target `gtk/libui.a', needed by `ethereal'.
make: *** No rule to make target `epan/libethereal.a', needed by `ethereal'.
make: *** No rule to make target `epan/ftypes/libftypes.a', needed by `ethereal'.
make: *** No rule to make target `epan/dfilter/libdfilter.a', needed by `ethereal'.
make: *** No rule to make target `plugins/artnet/artnet.la', needed by `ethereal'.
make: *** No rule to make target `plugins/docsis/docsis.la', needed by `ethereal'.
make: *** No rule to make target `plugins/giop/cosnaming.la', needed by `ethereal'.
make: *** No rule to make target `plugins/giop/coseventcomm.la', needed by `ethereal'.
make: *** No rule to make target `plugins/gryphon/gryphon.la', needed by `ethereal'.
make: *** No rule to make target `plugins/lwres/lwres.la', needed by `ethereal'.
make: *** No rule to make target `plugins/megaco/megaco.la', needed by `ethereal'.
make: *** No rule to make target `plugins/mgcp/mgcp.la', needed by `ethereal'.
make: *** No rule to make target `plugins/pcli/pcli.la', needed by `ethereal'.
make: *** No rule to make target `plugins/rtnet/rtnet.la', needed by `ethereal'.
make: Target `ethereal' not remade because of errors.


Shouldn't "make ethereal" work?  "make all" worked fine.

I'm on RH9.

-- 
Todd Sabin                                          <tsabin@xxxxxxxxxxxxx>