Wireshark-dev: Re: [Wireshark-dev] RPM Build fails on SUSE 11.3

From: Dario Lombardo <dario.lombardo.ml@xxxxxxxxx>
Date: Mon, 19 Dec 2016 17:25:25 +0100
Hi Anders
I don't see any reference to extcap in packaging/rpm/SPECS/wireshark.spec.in to disable it. I guess you need to change something around line 265.

On Mon, Dec 19, 2016 at 5:07 PM, Anders Broman <anders.broman@xxxxxxxxxxxx> wrote:

Hi,

 

Even though configured with:

/configure --with-lua -enable-setuid-install --without-qt --with-gtk=2 -without-libnl --enable-warnings-as-errors=no --with-extcap=no

 

Rpm-build fails with:

 

extcap_gtk.c: In function 'extcap_gtk_get_state':

extcap_gtk.c:193: error: 'GTimeZone' undeclared (first use in this function)

extcap_gtk.c:193: error: (Each undeclared identifier is reported only once

extcap_gtk.c:193: error: for each function it appears in.)

extcap_gtk.c:193: error: 'tz' undeclared (first use in this function)

extcap_gtk.c:193: warning: implicit declaration of function 'g_time_zone_new'

extcap_gtk.c:195: error: 'GDateTime' undeclared (first use in this function)

extcap_gtk.c:195: error: 'datetime' undeclared (first use in this function)

extcap_gtk.c:195: warning: implicit declaration of function 'g_date_time_new'

extcap_gtk.c:196: warning: implicit declaration of function 'g_date_time_to_unix'

extcap_gtk.c:198: warning: implicit declaration of function 'g_date_time_unref'

extcap_gtk.c:199: warning: implicit declaration of function 'g_time_zone_unref'

 

What do I need to change in

packaging/rpm/SPECS/wireshark.spec.in to make it build without extcap?

 

Regards

Anders


___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@wireshark.org?subject=unsubscribe