[gstreamer-bugs] [Bug 392473] New: [PATCH] Undefined references while building with MinGW
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Wed Jan 3 12:59:57 PST 2007
Do not reply to this via email (we are currently unable to handle email
responses and they get discarded). You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=392473
GStreamer | gstreamer (core) | Ver: 0.10.11
Summary: [PATCH] Undefined references while building with MinGW
Product: GStreamer
Version: 0.10.11
Platform: Other
OS/Version: Windows
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gstreamer (core)
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: alberto.botti at gmail.com
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME version: Unspecified
GNOME milestone: Unspecified
I'm trying to build GStreamer under Windows XP using MinGW. The build process
works for the most part but stops with many undefined references while linking,
such as
undefined reference to `_imp__GST_CAT_GST_INIT'
These values are part of the debug subsystem of GStreamer, and are defined in
gst_private.h and gstinfo.h. There are existing preprocessor checks that enable
"__declspec(dllimport)" unconditionally for every build under Win32, but they
don't seem to be necessary with MinGW.
The attached patch disables that #define when building with MinGW, and fixes
the build. It has also been tested under Linux and doesn't show regressions.
--
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
More information about the Gstreamer-bugs
mailing list