https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=14597

            Bug ID: 14597
           Summary: Issue while building latest version of wireshark 2.4.6
           Product: Wireshark
           Version: 2.4.6
          Hardware: x86-64
                OS: Red Hat
            Status: UNCONFIRMED
          Severity: Blocker
          Priority: Low
         Component: Build process
          Assignee: bugzilla-ad...@wireshark.org
          Reporter: abinaya.manikan...@wipro.com
  Target Milestone: ---

Build Information:
Wireshark 2.4.6 (v2.4.6)

Copyright 1998-2018 Gerald Combs <ger...@wireshark.org> and contributors.
License GPLv2+: GNU GPL version 2 or later
<http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled (64-bit) with Qt 5.8.0, without libpcap, with GLib 2.28.8, with zlib
1.2.3, without SMI, without c-ares, without Lua, with GnuTLS 2.12.23, with
Gcrypt 1.4.5, with MIT Kerberos, without GeoIP, without nghttp2, without LZ4,
without Snappy, without libxml2, with QtMultimedia, without AirPcap, without
SBC, without SpanDSP.

Running on Linux 2.6.32-696.6.3.el6.x86_64, with Intel(R) Xeon(R) CPU E5-2680
v4
@ 2.40GHz (with SSE4.2), with 24160 MB of physical memory, with locale
en_US.UTF-8, with GnuTLS 2.12.23, with Gcrypt 1.4.5, with zlib 1.2.3.

Built using gcc 6.1.0.

--
Hi,

We are trying to build wireshark-2.4.6 on our server.
Please find below details of our server:

*********************************************************
[root@XXX redhat]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.5 (Santiago)
*********************************************************

We followed below step to run wireshark:

Step 1: %configure --with-gtk2=yes --docdir=%{_docdir} --disable-dumpcap
--without-pcap --disable-warnings-as-errors

Step 2: make

Step 3: make install 

Build seems to be fine on %configure section, but facing some warning during
the compilation of make.

Please find below issue:
***************************************************************************
profile.c: In function 'init_profile_list':
profile.c:347:5: error: implicit declaration of function 'g_list_free_full'
[-Werror=implicit-function-declaration]
     g_list_free_full(local_profiles, g_free);
     ^~~~~~~~~~~~~~~~
//cc1: some warnings being treated as errors//
make[3]: *** [libui_a-profile.o] Error 1
make[3]: Leaving directory `/usr/src/redhat/BUILD/wireshark-2.4.6/ui'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/redhat/BUILD/wireshark-2.4.6/ui'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/wireshark-2.4.6'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.6mSKzo (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.6mSKzo (%build)
***************************************************************************

NOTE: from above issue we can see "cc1:some warnings being treated as errors"
this might be the reason why the compilation getting issue every-time.

To be honest i tried lot to fix the issue but i couldn't get any help from
internet.

Can anyone please help us on this.

-- 
You are receiving this mail because:
You are watching all bug changes.
___________________________________________________________________________
Sent via:    Wireshark-bugs mailing list <wireshark-bugs@wireshark.org>
Archives:    https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-bugs
             mailto:wireshark-bugs-requ...@wireshark.org?subject=unsubscribe

Reply via email to