Wireshark-bugs: [Wireshark-bugs] [Bug 4862] New: GLIB 2.14 necessary to compile Wireshark with P
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4862
Summary: GLIB 2.14 necessary to compile Wireshark with Protocol
help
Product: Wireshark
Version: SVN
Platform: Other
OS/Version: Linux (other)
Status: NEW
Severity: Minor
Priority: Low
Component: Wireshark
AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
ReportedBy: jyoung@xxxxxxx
Jim Young <jyoung@xxxxxxx> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #4781| |review_for_checkin?
Flag| |
Created an attachment (id=4781)
--> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=4781)
Patch for Protocol Help to require GLib 2.14 or greater.
Build Information:
Version 1.5.0 (SVN Rev 33201 from /trunk)
Copyright 1998-2010 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
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 with GTK+ 2.10.4, (32-bit) with GLib 2.12.3, with libpcap 0.9.4, with
libz 1.2.3, without POSIX capabilities, without libpcre, without SMI, without
c-ares, without ADNS, without Lua, without Python, without GnuTLS, without
Gcrypt, without Kerberos, without GeoIP, without PortAudio, without AirPcap.
NOTE: this build doesn't support the "matches" operator for Wireshark filter
syntax.
Running on Linux 2.6.18-164.15.1.el5, with libpcap version 0.9.4, with libz
1.2.3.
Built using gcc 4.1.2 20080704 (Red Hat 4.1.2-46).
Wireshark is Open Source Software released under the GNU General Public
License.
Check the man page and http://www.wireshark.org for more information.
--
Wireshark fails to compile with the following errors on a system with an older
GLIB (2.12.3):
> proto_help.c: In function ‘ph_parse_string’:
> proto_help.c:599: error: ‘GRegex’ undeclared (first use in this function)
> proto_help.c:599: error: (Each undeclared identifier is reported only once
> proto_help.c:599: error: for each function it appears in.)
> proto_help.c:599: error: ‘regex’ undeclared (first use in this function)
> proto_help.c:600: error: ‘GMatchInfo’ undeclared (first use in this function)
> proto_help.c:600: error: ‘match_info’ undeclared (first use in this function)
> cc1: warnings being treated as errors
GRegex requires GLIB 2.14 of greater.
Attached patch adjusts minimum GLIB needed for conditional compilation of
Protocol help.
--
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.