Wireshark-dev: Re: [Wireshark-dev] Wireshark 0.99.5 "make rpm-package" problemsonRHEL3

From: "Maynard, Chris" <Christopher.Maynard@xxxxxxxxx>
Date: Fri, 30 Mar 2007 17:22:31 -0400
Right.  I run a buildrpm.sh script that essentially encapsulates the
following:

../autogen.sh
../conf.sh
make clean
make rpm-package

The conf.sh script is attached.  It disables almost everything
(including gtk2), again as I'm primarily only interested in tshark for
this particular rpm.  I attached the output of the configuration in a
prior post, but that is attached again here as well.  Anyway, I still
get the "undefined reference" failure, so my feeling is that this
function is incorrectly being used in all cases and not taking into
account whether gtk2 is actually enabled or not.  But even if it is
enabled, shouldn't there be a check somewhere for 2.4 or greater?
Regardless, for my purposes, I'd be happy to get it working with gtk1
only, but as I said, it still fails with the same error.

Regards,
Chris
P.S. In case the conf.sh script gets mangled in transit for some reason,
here's the basic contents:

../configure --disable-gtk2 --enable-wireshark=no --enable-tshark=yes
--enable-editcap=yes --enable-dumpcap=yes --enable-capinfos=no
--enable-mergecap=yes --enable-text2pcap=no --enable-idl2wrs=no
--enable-dftest=no --enable-randpkt=no --enable-ipv6=no
--enable-threads=no --without-ssl --without-net-snmp --without-adns
--without-lua --without-portaudio --without-pcre --without-krb5


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

On Fri, Mar 30, 2007 at 08:23:08PM +0200, Ulf Lamping wrote:

> You may try GTK 1.2 which should still work. Don't ask me how to do 
> (configure) this, I'm currently Win32 only ;-)

../configure --disable-gtk2 :)


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.
The Wireshark package has been configured with the following options.
                    Build wireshark : no
                       Build tshark : yes
                     Build capinfos : no
                      Build editcap : yes
                      Build dumpcap : yes
                     Build mergecap : yes
                    Build text2pcap : no
                      Build idl2wrs : no
                      Build randpkt : no
                       Build dftest : no
 
                     Install setuid : no
                        Use plugins : yes
                   Build lua plugin : no
                   Build rtp_player : no
                Use GTK+ v2 library : no
                   Use pcap library : yes
                   Use zlib library : yes
                   Use pcre library : no
               Use kerberos library : no
               Use GNU ADNS library : no
             Use GNU crypto library : no
             Use SSL crypto library : no
           Use IPv6 name resolution : no
               Use Net-SNMP library : no
                 Use gnutls library : no

Attachment: conf.sh
Description: conf.sh