[Bug 744034] New: MinGW Compilation error in gstfdsrc.c: unknown conversion type character 'l' in format
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Thu Feb 5 03:00:55 PST 2015
https://bugzilla.gnome.org/show_bug.cgi?id=744034
GStreamer | gst-plugins | git master
Summary: MinGW Compilation error in gstfdsrc.c: unknown
conversion type character 'l' in format
Classification: Platform
Product: GStreamer
Version: git master
OS/Version: Windows
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: fred.wang at free.fr
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created an attachment (id=296184)
View: https://bugzilla.gnome.org/attachment.cgi?id=296184
Review: https://bugzilla.gnome.org/review?bug=744034&attachment=296184
Patch
I just tried to compile gstreamer core with MSYS2/MinGW
(http://sourceforge.net/projects/msys2/) and got a build error in gstfdsrc.c
This is essentially the same as what is described here:
http://sourceforge.net/p/mingw/bugs/1315/
The Glib doc says that "that scanf() may not support 64-bit integers, even if
G_GINT64_FORMAT is defined" and suggests "using g_ascii_strtoull() instead"
https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#G-GUINT64-FORMAT:CAPS
https://developer.gnome.org/glib/unstable/glib-String-Utility-Functions.html#g-ascii-strtoull
I attach a patch with which I was able to build gstreamer core, but note that
it is not tested yet.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list