Wireshark-dev: Re: [Wireshark-dev] Wireshark 0.99.5 "make rpm-package" problems onRHEL3
From: "Maynard, Chris" <Christopher.Maynard@xxxxxxxxx>
Date: Thu, 29 Mar 2007 22:43:03 -0400
Ah, I guess that explains it.  Red Hat Enterprise Linux 3 is equipped
with  gtk2-2.2.4-19 (and gtk+-1.2.10-31).  Is gtk 2.4 or higher a
requirement for building a Wireshark rpm?  I did not see any mention of
any minimum 2.x requirement in the README.developer, README.linux or any
other README* files.

Is there any way to resolve this ... without having to upgrade to 2.4 of
course?  I can upgrade my own development box, but it would not be
possible for me to upgrade all boxes on which Wireshark is intended to
run on.

Thanks in advance,
Chris
(P.S. Thanks Joerg for the epan/crypt/Makefile.common fix.)


-----Original Message-----
From: wireshark-dev-bounces@xxxxxxxxxxxxx
[mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Stephen Fisher
Sent: Wednesday, March 28, 2007 5:34 PM
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] Wireshark 0.99.5 "make rpm-package"
problems onRHEL3

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


-----------------------------------------
This email may contain confidential and privileged material for the
sole use of the intended recipient(s). Any review, use, retention,
distribution or disclosure by others is strictly prohibited. If you
are not the intended recipient (or authorized to receive for the
recipient), please contact the sender by reply email and delete all
copies of this message. Also, email is susceptible to data
corruption, interception, tampering, unauthorized amendment and
viruses. We only send and receive emails on the basis that we are
not liable for any such corruption, interception, tampering,
amendment or viruses or any consequence thereof.