ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: [Wireshark-dev] Compile error on FC4 (since rev 20951)

From: Sake Blok <sake@xxxxxxxxxx>
Date: Thu, 8 Mar 2007 20:44:23 +0100
Hi All,

Does anyone else have problems compiling Wireshark on FC4? Since
revision 20951 I get the following errors:

rm -f .libs/wiresharkS.c .libs/wireshark.nm .libs/wireshark.nmS .libs/wireshark.nmT
gcc -DINET6 "-D_U_=__attribute__((unused))" -Wall -Wpointer-arith -W -g -O2 -I/usr/local/include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread -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/wireshark capture-pcap-util-unix.o capture_errs.o capture-pcap-util.o capture_stop_conditions.o capture_ui_utils.o cfile.o clopts_common.o conditions.o disabled_protos.o packet-range.o print.o ps.o pcapio.o ringbuffer.o timestats.o util.o version_info.o airpcap_loader.o alert_box.o capture.o capture_info.o capture_opts.o capture_sync.o color_filters.o file.o fileset.o filters.o g711.o merge.o proto_hier_stats.o sync_pipe_write.o summary.o tempfile.o .libs/wiresharkS.o -pthread -Wl,--export-dynamic  -L/usr/local/lib gtk/libui.a codecs/libcodec.a wiretap/.libs/libwiretap.so epan/.libs/libwireshark.so -lpcap -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 -lkrb5support -lcom_err -lresolv -lgcrypt -lgpg-error -lz -Wl,--rpath -Wl,/usr/local/lib
gtk/libui.a(wireshark-tap-register.o)(.text+0x25): In function `register_all_tap_listeners':
/home/sake/wireshark/gtk/wireshark-tap-register.c:18: undefined reference to `register_tap_listener_gtk_cl_http_stat'
collect2: ld returned 1 exit status
make[2]: *** [wireshark] Error 1
make[2]: Leaving directory `/home/sake/wireshark'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sake/wireshark'
make: *** [all] Error 2


I'm a bit in the dark here, but if I fall back to 20950, the problem is
gone. I would like to fix this so I can continue my work on the
"Copy as Filter" patch.

I have attached a tarball with the output of "configure" and with the
output of "make".

Cheers,


Sake