Wireshark mailing list archives

tshark linking in ui/libui.a with undefined symbols in 1.10.5


From: Albert Chin <wireshark-dev () mlists thewrittenword com>
Date: Tue, 11 Mar 2014 15:36:11 -0500

tshark links without the GUI code but the non-GUI code is not fully
self-contained. ui/libui.a is linked into tshark but it contains
functions defined outside of the libraries linked into tshark. Some of
these functions are defined in the GUI code, such as
simple_message_box() defined in gtk/libgtkui.a. HP-UX, Linux, and
Solaris don't have an issue with this but AIX won't link the resulting
executable. We've worked around this by instruction the linker to
ignore the errors by passing -berok. The real solution is not to have
ui/libui.a make calls to a dependent library that an executable
linking to it won't link to but I don't know how much work that would
involve. Maybe a note about this is sufficient for now.

-- 
albert chin (china () thewrittenword com)
___________________________________________________________________________
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: