[gstreamer-bugs] [Bug 573593] New: Linking static directx libraries to gstdirect* plugins on Windows

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sat Feb 28 17:25:46 PST 2009


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=573593

  GStreamer | gst-plugins-good | Ver: git
           Summary: Linking static directx libraries to gstdirect* plugins
                    on Windows
           Product: GStreamer
           Version: git
          Platform: Other
        OS/Version: Windows
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: lrn1986 at gmail.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


gstdirectdrawsink and gstdirectsoundsink depend on libdxguid.a and libdxerr9.a
Both .a files are static libraries (not import libraries) and do not have
corresponding .dll files. According to libtool, they can only be linked to
applications (executables), but not to .dlls, since linking static library to
shared library may have unpleasant consequences on most OSes. Fortunately,
gstdirecdrawsink and gstdirectsoundsink are THE cases when it is safe to link
static library - there's no possibility of symbol duplication, they are C-only
(right?) and PIC doesn't matter because .dlls don't support PIC. Unfortunately,
libtool developers are aiming to be cross-platform and do not wish to implement
features in libtool that are exclusive for some platforms (such as Win32).
Because of that libtool can't (and won't) allow us to link these libraries to
these plugins.

Roumen Petrov suggested that one can pass library dependencies via "-Wl,"
syntax, in which case they are ignored by libtool.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=573593.




More information about the Gstreamer-bugs mailing list