https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4787
Summary: Wireshark fails to cross-build due to lack of
inet_pton.lo
Product: Wireshark
Version: 1.2.8
Platform: Other
OS/Version: Linux (other)
Status: NEW
Severity: Normal
Priority: Low
Component: Wireshark
AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
ReportedBy: pstew@xxxxxxxxxx
Created an attachment (id=4683)
--> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=4683)
Patch to fix link error for missing inet_pton.lo
Build Information:
No build information since app did not build.
--
When configure detects that inet_pton does not exist or is broken (or in my
case because I am cross-compiling), configure adds "inet_pton.lo" to the link
line of the applications wireshark, tshark, etc. via LDADD stanzas in
Makefile.am. However it is not added to the dependencies, so no inet_pton.lo
exists at the toplevel directory where the final libtool links occur.
(inet_pton.lo does get built in the epan/ subdirectory, but the LDADD lines
aren't written this way).
The attached patch resolves the issue by also adding inet_pton.lo to the
_DEPENDENCIES automake variables as well.
This problem has existed as far back as 1.2.5 and persists through 1.3.5, and
variations of this patch alleviates them all. In theory this issue also exists
for inet_ntop.lo, but considering that this file isn't selected just because we
are cross compiling, I haven't personally run into problems with it.
--
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.