[cairo-bugs] [Bug 53128] Compilation fails to 'DBL_EPSILON undeclared'

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Aug 20 05:34:49 PDT 2014


--- Comment #1 from YuGiOhJCJ <yugiohjcj at 1s.fr> ---
Same problem here while cross-compiling cairo-1.12.16.

I am on a Linux 32 bit operating system (Slackware 14.1) and I have a
cross-compiler based on:
- binutils-2.24.51
- gcc-4.9.1
- mingwrt-3.20.2
- w32api-3.17.2

Here is how to reproduce:
$ PKG_CONFIG_PATH="/usr/i686-pc-mingw32/lib/pkgconfig"
$ ./configure --prefix=/usr/i686-pc-mingw32 --host=i686-pc-mingw32
--disable-lto --disable-gtk-doc --disable-test-surfaces --disable-gcov
--disable-xlib --disable-xlib-xrender --disable-xcb --disable-quartz
--disable-quartz-font --disable-quartz-image --disable-os2 --disable-beos
--disable-directfb --disable-atomic --enable-win32 --enable-win32-font
--enable-png --enable-ft --enable-ps --enable-pdf --enable-svg
$ make
  CC     cairo-matrix.lo
cairo-matrix.c: In function '_cairo_matrix_to_pixman_matrix_offset':
cairo-matrix.c:1172:24: error: 'DBL_EPSILON' undeclared (first use in this
       if (fabs (den) < DBL_EPSILON)
cairo-matrix.c:1172:24: note: each undeclared identifier is reported only once
for each function it appears in
make[3]: *** [cairo-matrix.lo] Error 1
make[3]: Leaving directory `/tmp/build/cairo-1.12.16/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/build/cairo-1.12.16/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/build/cairo-1.12.16'
make: *** [all] Error 2

Any idea to solve this problem?

You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo-bugs/attachments/20140820/982f0b0e/attachment.html>

More information about the cairo-bugs mailing list