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

Wireshark-dev: Re: [Wireshark-dev] trunk/gtk/wireshark-tap-register.c:18 undefined reference to

From: Toralf Förster <toralf.foerster@xxxxxx>
Date: Fri, 2 Mar 2007 22:10:02 +0100
I' got:

...
lib-2.0.so -lrt /usr/lib/libgnutls.so /usr/lib/libtasn1.so /usr/lib/libgcrypt.so -lnsl /usr/lib/libgpg-error.so -lz
gtk/libui.a(wireshark-tap-register.o): In function `register_all_tap_listeners':
/home/tfoerste/devel/wireshark/trunk/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/tfoerste/devel/wireshark/trunk'


but the compile error couldn be solved by comment out line 17 and 18:

tfoerste@n22 ~/devel/wireshark/trunk $ nl -ba /home/tfoerste/devel/wireshark/trunk/gtk/wireshark-tap-register.c | grep '//'
    17  //  { extern void register_tap_listener_gtk_cl_http_stat (void);
    18  //   register_tap_listener_gtk_cl_http_stat ();}

Hhm, today after deleting that file (yesterday I did a "make distclean" but that didn't helped me) the compile error went
 away (svn revision is now 20957 and not 20956).


-- 
MfG/Sincerely

Toralf Förster

Attachment: pgpDzju7eyzab.pgp
Description: PGP signature