GNOME Bugzilla – Bug 440253
no shared lib created and installed (MinGW)
Last modified: 2007-05-24 08:53:32 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.
I tried the same (except that we cross compile), and the proposed solution effectively fixes the problem.
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!