Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] Wireshark 0.99.5 "make rpm-package" problems on RHEL3

From: Stephen Fisher <stephentfisher@xxxxxxxxx>
Date: Wed, 28 Mar 2007 14:33:45 -0700
On Wed, Mar 28, 2007 at 04:07:34PM -0400, Maynard, Chris wrote:

> 2) Ran into an "undefined reference" problem.  Here's the relevant
> output:
> 
> gtk/libui.a(ssl-dlg.o)(.text+0x1f3e): In function
> `follow_find_button_cb':
> /home/username/wireshark-0.99.5/packaging/rpm/BUILD/wireshark-0.99.5/gtk
> /ssl-dlg.c:861: undefined reference to `gtk_text_buffer_select_range'
> gtk/libui.a(follow_dlg.o)(.text+0x2431): In function
> `follow_find_button_cb':
> /home/username/wireshark-0.99.5/packaging/rpm/BUILD/wireshark-0.99.5/gtk
> /follow_dlg.c:991: undefined reference to `gtk_text_buffer_select_range'
> collect2: ld returned 1 exit status
> make[3]: *** [wireshark] Error 1

I've never tried building a Wireshark RPM unfortunately.  However, since 
I wrote the code referenced above, your message caught my eye.  What 
version of GTK are you using on this system?  The 
gtk_text_buffer_select_range() function is available in GTK 2.4 and 
above.


Steve