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 612733 - Build fails because HAVE_REGISTER_PRINTF_SPECIFIER is undefined
Build fails because HAVE_REGISTER_PRINTF_SPECIFIER is undefined
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal normal
: 0.10.29
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-03-12 18:41 UTC by Leo Singer
Modified: 2010-03-12 19:25 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch for gstinfo.c (1.49 KB, application/octet-stream)
2010-03-12 18:41 UTC, Leo Singer
Details

Description Leo Singer 2010-03-12 18:41:28 UTC
Created attachment 155999 [details]
Patch for gstinfo.c

Build of gstreamer fails if HAVE_REGISTER_PRINTF_SPECIFIER is undefined.  Patch attached.
Comment 1 Tim-Philipp Müller 2010-03-12 19:19:40 UTC
Commit, thanks:

commit 3f86f8cee13964527c9667de599c6a46b1628ef4
Author: Leo Singer <lsinger@caltech.edu>
Date:   Fri Mar 12 19:05:16 2010 +0000

    gstinfo: fix compilation error if HAVE_REGISTER_PRINTF_SPECIFIER is undefined
    
    Use #if HAVE_FOO instead of #ifdef HAVE_FOO.
    
    Fixes #612733.


I wonder why this only causes problems now, this code has been around for almost a year.

Just to double-check: are you using an older distro/libc, ie. is it expected that register_printf_specifier() is not available there? (I'm asking because someone reported problems with configure detecting this the other day)
Comment 2 Leo Singer 2010-03-12 19:25:53 UTC
I am using Debian Lenny.