After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 316076 - MinGW compilation: Only static libraries are built
MinGW compilation: Only static libraries are built
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: dont know
git master
Other Windows
: Normal normal
: 0.9.6
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks: 316073
 
 
Reported: 2005-09-12 12:59 UTC by Michal Benes
Modified: 2005-11-14 17:15 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch for gst-plugins-ugly (730 bytes, patch)
2005-10-14 14:35 UTC, Michal Benes
none Details | Review
Patch for gst-plugins-bad (732 bytes, patch)
2005-10-14 14:35 UTC, Michal Benes
none Details | Review
Patch for gst-ffmpeg (644 bytes, patch)
2005-10-14 14:36 UTC, Michal Benes
none Details | Review

Description Michal Benes 2005-09-12 12:59:53 UTC
libtool creates only static libraries unless -no-undefined is given as parameter
See this comment in libtool:
      # It is impossible to link a dll without this setting, and
      # we shouldn't force the makefile maintainer to figure out
      # which system we are compiling for in order to pass an extra
      # flag for every libtool invocation.
      # allow_undefined=no

      # FIXME: Unfortunately, there are problems with the above when trying
      # to make a dll which has undefined symbols, in which case not
      # even a static library is built.  For now, we need to specify
      # -no-undefined on the libtool link line when we can be certain
      # that all symbols are satisfied, otherwise we get a static library.
      allow_undefined=yes

Since shared libraries are needed in GStreamer we need to call all linking with
this parameter.
Comment 1 Michal Benes 2005-09-13 13:00:06 UTC
I did not mentioned it explicitly but this problem appears in all packages
(gst-plugins-<whatever>)
Comment 2 David Schleef 2005-09-15 05:58:39 UTC
Fixed in gstreamer, not other packages (yet).  Needless to say, this is also
required for plugins.
Comment 3 Michal Benes 2005-10-14 14:35:06 UTC
Created attachment 53460 [details] [review]
Patch for gst-plugins-ugly
Comment 4 Michal Benes 2005-10-14 14:35:51 UTC
Created attachment 53461 [details] [review]
Patch for gst-plugins-bad
Comment 5 Michal Benes 2005-10-14 14:36:29 UTC
Created attachment 53462 [details] [review]
Patch for gst-ffmpeg
Comment 6 Andy Wingo 2005-11-14 17:15:15 UTC
Fixed in CVS, thanks.