Ethereal-dev: [Ethereal-dev] Zillions of undefined references when linking ethereal.exe on cyg
Hi list,
When I try to compile Ethereal (latest snapshot, but already so for a
longer time), I cannot link ethereal.exe but instead I get tons of
warnings that symbols used have undefined references.
I run configure as:
./configure --config-cache --with-extra-gcc-checks --without-plugins -
-with-pcre --enable-gtk2 --disable-editcap --disable-text2pcap --disab
le-mergecap --disable-randpkt --disable-dftest --disable-dependency-tr
acking
And the faulty step in make starts with:
/bin/bash ./libtool --mode=link
gcc -D_U_="__attribute__((unused))" -Wall -W -Wcast-qual -Wcast-align
-Wbad-function-cast -pedantic -Wstrict-prototypes -g -O2 -I/usr/local
/include -pthreads -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/lib/gtk-2
.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R
6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -L/us
r/local/lib -L/usr/local/lib -o ethereal.exe -export-dynamic
pcap-util-unix.o capture_stop_conditions.o cfile.o conditions.o
disabled_protos.o pcap-util.o print.o ps.o range.o ringbuffer.o
timestats.o version_info.o alert_box.o capture.o file.o filters.o
proto_hier_stats.o summary.o gtk/libui.a wiretap/libwiretap.la
epan/libethereal.la -lpcre -lpcap -Wl,--export-dynamic -pthreads -L/u
sr/X11R6/lib -lgtk-x11-2.0 -lX11 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-
2.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0
-lglib-2.0 -lintl -liconv -lm -lz
I get 755 warnings about 243 undefined references. I attached the
relevant part of the output of 'make' to this mail. Hopefully someone
can figure out what is the problem :)
Regards,
Olivier
Attachment:
ethereal_link.log.gz
Description: GNU Zip compressed data