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 440253 - no shared lib created and installed (MinGW)
no shared lib created and installed (MinGW)
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-libav
git master
Other Windows
: Normal normal
: 0.10.3
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-05-21 19:19 UTC by Vincent Torri
Modified: 2007-05-24 08:53 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Vincent Torri 2007-05-21 19:19:52 UTC
No shared lib is created and installed with MinGW, hence the ffmpeg and libpostproc plugins can't be registered.

A solution would be to add -no-undefined to libgstffmpeg_la_LDFLAGS in ext/ffmpeg/Makefile.am and to libgstpostproc_la_LDFLAGS in ext/libpostproc/Makefile.am

In gst-plugins-bad, for example, that flag is added everywhere (It is stored in GST_ALL_LDFLAGS, then in GST_PLUGIN_LDFLAGS. GST_PLUGIN_LDFLAGS is then added everywhere). I don't know if it is the correct solution for gst-ffmpeg, or if it must be added only if mingw is detected. That's why i didn't proposed a patch.
Comment 1 Ali Sabil 2007-05-22 15:54:13 UTC
I tried the same (except that we cross compile), and the proposed solution effectively fixes the problem.
Comment 2 Tim-Philipp Müller 2007-05-24 08:53:32 UTC
Don't see why we can't add it to GST_ALL_LDFLAGS like we do everywhere else (if it's only required in the ext/* Makefiles):

 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>

       * configure.ac:
         Add -no-undefined to GST_ALL_LDFLAGS; without it, no shared libs
         will be built or installed on MingW for our plugins in ext/; also,
         it looks like the right thing to do and we do it for all our other
         plugin modules as well. Fixes #440253.

Please re-open if it doesn't fix the problem properly, thanks!