Ethereal-dev: Re: [Ethereal-dev] Linux build fails

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

From: Jeff Morriss <jeff.morriss@xxxxxxxxxxx>
Date: Tue, 03 May 2005 11:55:37 +0200

"Me too!"  (Glad it's not just me. ;-) )

I posted bug 156 for this (first attempt using the bug tracker). I went ahead and marked it as a Blocker (maybe that's unkind--if so, let me know for next time).

Steve Schaeffer wrote:
I see that you are nearing a release and I haven't seen mention of the
problem I'm having building on Fedora 3. A couple of times I've tried a
complete cleanup (distclean) and build but for the last couple of weeks
the linker has been failing with the same error in the same place and
I've been unable to ascertain where the objects are supposed to be:

gcc -DINET6 "-D_U_=__attribute__((unused))" -Wall -W -g -O2 -
I/usr/local/include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -
I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -
I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2
-I/usr/include/freetype2/config -I/usr/include/glib-2.0 -
I/usr/lib/glib-2.0/include -o .libs/ethereal pcap-util-unix.o
capture_stop_conditions.o capture_ui_utils.o cfile.o clopts_common.o
conditions.o disabled_protos.o packet-range.o pcap-util.o print.o ps.o
ringbuffer.o timestats.o util.o version_info.o alert_box.o capture.o
capture_opts.o capture_sync.o capture_loop.o color_filters.o file.o
fileset.o filters.o g711.o merge.o proto_hier_stats.o
summary.o .libs/etherealS.o -Wl,--export-dynamic -Wl,--export-dynamic  -
L/usr/local/lib gtk/libui.a wiretap/.libs/libwiretap.so
epan/.libs/libethereal.so -lpcap -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -
latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -
lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 -lkrb5 -
lk5crypto -lcom_err -lresolv -lz -Wl,--rpath -
Wl,/projects/ethereal/build/lib
epan/.libs/libethereal.so: undefined reference to `.LC771'
epan/.libs/libethereal.so: undefined reference to `.LC770'
epan/.libs/libethereal.so: undefined reference to `.LC772'
collect2: ld returned 1 exit status
make[2]: *** [ethereal] Error 1
make[2]: Leaving directory `/projects/ethereal'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/projects/ethereal'
make: *** [install] Error 2