Wireshark mailing list archives

Re: Wireshark 1.10.0rc1 is now available


From: Evan Huus <eapache () gmail com>
Date: Sat, 4 May 2013 08:51:55 -0400

On Fri, May 3, 2013 at 5:16 PM, Reinhard Speyerer <rspmn () arcor de> wrote:
Evan Huus <eapache () gmail com> wrote:

The test programs are not used in Wireshark proper, so someone with
the proper automake-foo can disable wmem_test for older glib versions.
Glib 2.14 is quite old at this point though, so it may just be worth
bumping our minimum version. [...]

Using a modified wmem_test.c which only contains a dummy main()
the Wireshark 1.10.0rc1 build now stops when trying to link
wireshark

I've checked in a similar fix to trunk and 1.10, the wmem test suite
is stubbed out for glib versions that are too old. Along with Guy's
commits for the g_strcmp0 issue, this will hopefully fix compatibility
with Glib 2.14.

wireshark-fileset.o: In function `fileset_find_by_path':
/tmp/wireshark-1.10.0rc1/fileset.c:183: undefined reference to `g_strcmp0'
ui/gtk/libgtkui.a(libgtkui_a-main_menubar.o): In function `make_menu_xml':
/tmp/wireshark-1.10.0rc1/ui/gtk/main_menubar.c:3753: undefined reference to `g_strcmp0'
/tmp/wireshark-1.10.0rc1/ui/gtk/main_menubar.c:3786: undefined reference to `g_strcmp0'
ui/gtk/libgtkui.a(libgtkui_a-main_menubar.o): In function `make_menu_actions':
/tmp/wireshark-1.10.0rc1/ui/gtk/main_menubar.c:3841: undefined reference to `g_strcmp0'
ui/gtk/libgtkui.a(libgtkui_a-decode_as_dlg.o): In function `decode_add_notebook':
/tmp/wireshark-1.10.0rc1/ui/gtk/decode_as_dlg.c:2047: undefined reference to `g_strcmp0'
ui/gtk/libgtkui.a(libgtkui_a-decode_as_dlg.o):/tmp/wireshark-1.10.0rc1/ui/gtk/decode_as_dlg.c:2049: more undefined 
references to `g_strcmp0' follow
collect2: ld returned 1 exit status

It looks like the g_strcmp0 substitute from epan/strutil.c is not
contained in the archives/objects wireshark is linked against.
A few minor adaptations still seem to be needed if we want to keep
glib 2.14 compatibility.

Regards,
Reinhard
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: