Wireshark-bugs: [Wireshark-bugs] [Bug 1677] wireshark-0.99.6 does not compiles with --as-needed

Date: Sat, 14 Jul 2007 14:25:51 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1677





------- Comment #2 from pva@xxxxxxxxxx  2007-07-14 14:25 GMT -------
Seems that the problem is in mpeg-audio.h, which defines the following:
extern const int mpa_versions[4];

and thus all objects that are build from sources which include mpeg-audio.h
should depend on wiretap.la. In this case libasndissectors.la should depend on
libwiretap.la:

--- ./epan/dissectors/Makefile.am.orig  2007-07-14 17:43:58.000000000 +0400
+++ ./epan/dissectors/Makefile.am       2007-07-14 17:38:31.000000000 +0400
@@ -32,6 +32,7 @@

 libasndissectors_la_SOURCES = \
        $(ASN_DISSECTOR_SRC)
+libasndissectors_la_LIBADD = ../../wiretap/libwiretap.la

 libpidldissectors_la_SOURCES = \
        $(PIDL_DISSECTOR_SRC)

But what is correct solution? There are other libs that should be added there
then and removed from epan/Makefile... Could anybody comment here? Thank you.


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.