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 788739 - Compiling gdk-pixbuf 2.36.11 on CentOS 7.4 fails
Compiling gdk-pixbuf 2.36.11 on CentOS 7.4 fails
Status: RESOLVED OBSOLETE
Product: gdk-pixbuf
Classification: Platform
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gdk-pixbuf-maint
gdk-pixbuf-maint
Depends on:
Blocks:
 
 
Reported: 2017-10-09 20:31 UTC by Dan Stromberg
Modified: 2018-05-22 13:24 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Dan Stromberg 2017-10-09 20:31:11 UTC
The compile-time error looks like:

In file included from pixops.c:24:0:
../fallback-c89.c:25:1: error: static declaration of 'round' follows non-static declaration
 round (double x)
 ^
../fallback-c89.c:37:1: error: static declaration of 'lrint' follows non-static declaration
 lrint (double x)
 ^
make[4]: *** [pixops.lo] Error 1


I'm using:
$ gcc --version
cmd output started 2017 Mon Oct 09 03:50:23 PM EDT
gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-16)
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Comment 1 Bastien Nocera 2017-11-28 15:04:11 UTC
Please attach the full build log, include the configure steps. A Centos version should be more than new enough to use C99, and not rely on the C89 fallback.
Comment 2 GNOME Infrastructure Team 2018-05-22 13:24:24 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gdk-pixbuf/issues/68.