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

From: Anders Broman <anders.broman@xxxxxxxxxxxx>
Date: Mon, 19 Dec 2016 16:07:45 +0000

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