[cairo-bugs] [Bug 15516] New: Compilation fails on Solaris platforms
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Apr 15 04:07:34 PDT 2008
http://bugs.freedesktop.org/show_bug.cgi?id=15516
Summary: Compilation fails on Solaris platforms
Product: cairo
Version: 1.6.4
Platform: SPARC
OS/Version: Solaris
Status: NEW
Severity: blocker
Priority: medium
Component: general
AssignedTo: cworth at cworth.org
ReportedBy: david.meleedy at analog.com
QAContact: cairo-bugs at cairographics.org
I was able to compile 1.4.6 just fine for all of these platforms, but
I had trouble with 1.6.4. I am using gcc 4.1.2 to compile.
I am more than happy to test any patches. I was able to compile 1.6.4
just fine for FC3, RHEL3, RHEL4, and RHEL5.
sol 8, sparc
cairo (version 1.6.4) will be compiled with the following surface backends:
image: yes (always builtin)
Xlib: yes
Xlib Xrender: yes
Quartz: no (CoreGraphics framework not found)
Quartz-image: no (disabled, use --enable-quartz-image to enable)
XCB: no (disabled, use --enable-xcb to enable)
Win32: no (requires a Win32 platform)
OS2: no (disabled, use --enable-os2 to enable)
PostScript: yes
PDF: yes
SVG: yes
glitz: no (disabled, use --enable-glitz to enable)
BeOS: no (disabled, use --enable-beos to enable)
DirectFB: no (disabled, use --enable-directfb to enable)
the following font backends:
FreeType: yes
Win32: no (requires a Win32 platform)
Quartz: no (CoreGraphics framework not found)
the following features:
PNG functions: yes
and the following debug options:
gcov support: no
test surfaces: no
ps testing: yes
pdf testing: no (requires poppler-glib >= 0.8.0)
svg testing: no (requires librsvg-2.0 >= 2.15.0)
using CFLAGS:
-I/cpd/misc/include/freetype2 -I/cpd/misc/include -I/cpd/misc/include
-I/cpd/misc/include/libpng12 -DXTHREADS -I/cpd/X11R6/include
-I/cpd/X11R6/include -I/cpd/X11R6/include/pixman-1 -Wall -Wextra -Wsign-compare
-Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute
-Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations
-Wdeclaration-after-statement -Wold-style-definition
-Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes
-Wno-long-long -Winline -fno-strict-aliasing
gcc -DHAVE_CONFIG_H -I. -I.. -I/cpd/misc/include -I/cpd/X11R6/include -I.
-I/cpd/misc/include/freetype2 -I/cpd/misc/include -I/cpd/misc/include
-I/cpd/misc/include/libpng12 -DXTHREADS -I/cpd/X11R6/include
-I/cpd/X11R6/include -I/cpd/X11R6/include/pixman-1 -Wall -Wextra -Wsign-compare
-Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute
-Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations
-Wdeclaration-after-statement -Wold-style-definition
-Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes
-Wno-long-long -Winline -fno-strict-aliasing -O3 -MT
libcairo_la-cairo-ps-surface.lo -MD -MP -MF
.deps/libcairo_la-cairo-ps-surface.Tpo -c cairo-ps-surface.c -fPIC -DPIC -o
.libs/libcairo_la-cairo-ps-surface.o
cairo-ps-surface.c: In function '_cairo_ps_surface_emit_header':
cairo-ps-surface.c:110: error: implicit declaration of function 'ctime_r'
cairo-ps-surface.c:110: warning: nested extern declaration of 'ctime_r'
cairo-ps-surface.c:115: warning: format '%s' expects type 'char *', but
argument 5 has type 'int'
gmake[2]: *** [libcairo_la-cairo-ps-surface.lo] Error 1
gmake[2]: Leaving directory `/cpd/src/gnu/cairo/cairo-1.6.4/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/cpd/src/gnu/cairo/cairo-1.6.4'
gmake: *** [all] Error 2
sol 10, sparc
cairo (version 1.6.4) will be compiled with the following surface backends:
image: yes (always builtin)
Xlib: yes
Xlib Xrender: yes
Quartz: no (CoreGraphics framework not found)
Quartz-image: no (disabled, use --enable-quartz-image to enable)
XCB: no (disabled, use --enable-xcb to enable)
Win32: no (requires a Win32 platform)
OS2: no (disabled, use --enable-os2 to enable)
PostScript: yes
PDF: yes
SVG: yes
glitz: no (disabled, use --enable-glitz to enable)
BeOS: no (disabled, use --enable-beos to enable)
DirectFB: no (disabled, use --enable-directfb to enable)
the following font backends:
FreeType: yes
Win32: no (requires a Win32 platform)
Quartz: no (CoreGraphics framework not found)
the following features:
PNG functions: yes
and the following debug options:
gcov support: no
test surfaces: no
ps testing: yes
pdf testing: no (requires poppler-glib >= 0.8.0)
svg testing: no (requires librsvg-2.0 >= 2.15.0)
using CFLAGS:
-I/cpd/misc/include/freetype2 -I/cpd/misc/include -I/cpd/misc/include
-I/cpd/misc/include/libpng12 -I/cpd/X11R6/include -I/cpd/X11R6/include/pixman-1
-Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration
-Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum
-Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self
-Wunsafe-loop-optimizations -Wdeclaration-after-statement
-Wold-style-definition -Wno-missing-field-initializers -Wno-unused-parameter
-Wno-attributes -Wno-long-long -Winline -fno-strict-aliasing
gcc -DHAVE_CONFIG_H -I. -I.. -I/cpd/misc/include -I/cpd/X11R6/include -I.
-I/cpd/misc/include/freetype2 -I/cpd/misc/include -I/cpd/misc/include
-I/cpd/misc/include/libpng12 -I/cpd/X11R6/include -I/cpd/X11R6/include/pixman-1
-Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration
-Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum
-Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self
-Wunsafe-loop-optimizations -Wdeclaration-after-statement
-Wold-style-definition -Wno-missing-field-initializers -Wno-unused-parameter
-Wno-attributes -Wno-long-long -Winline -fno-strict-aliasing -O3 -MT
libcairo_la-cairo-ps-surface.lo -MD -MP -MF
.deps/libcairo_la-cairo-ps-surface.Tpo -c cairo-ps-surface.c -fPIC -DPIC -o
.libs/libcairo_la-cairo-ps-surface.o
cairo-ps-surface.c: In function '_cairo_ps_surface_emit_header':
cairo-ps-surface.c:110: error: too few arguments to function 'ctime_r'
gmake[2]: *** [libcairo_la-cairo-ps-surface.lo] Error 1
gmake[2]: Leaving directory `/cpd/src/gnu/cairo/cairo-1.6.4/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/cpd/src/gnu/cairo/cairo-1.6.4'
gmake: *** [all] Error 2
sol 10, x86
gcc -DHAVE_CONFIG_H -I. -I.. -I/cpd/misc/include -I/cpd/X11R6/include -I.
-I/cpd/misc/include/freetype2 -I/cpd/misc/include -I/cpd/X11R6/include
-I/cpd/misc/include/libpng12 -I/usr/openwin/include
-I/cpd/X11R6/include/pixman-1 -Wall -Wextra -Wsign-compare
-Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute
-Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement
-Wold-style-definition -Wno-unused-parameter -Wno-long-long -Winline
-fno-strict-aliasing -O3 -MT libcairo_la-cairo-ps-surface.lo -MD -MP -MF
.deps/libcairo_la-cairo-ps-surface.Tpo -c cairo-ps-surface.c -fPIC -DPIC -o
.libs/libcairo_la-cairo-ps-surface.o
cairo-ps-surface.c: In function `_cairo_ps_surface_emit_header':
cairo-ps-surface.c:110: error: too few arguments to function `ctime_r'
cairo-ps-surface.c: At top level:
cairo-ps-surface.c:3189: warning: missing initializer
cairo-ps-surface.c:3189: warning: (near initialization for
`cairo_ps_surface_backend.is_similar')
gmake[2]: *** [libcairo_la-cairo-ps-surface.lo] Error 1
gmake[2]: Leaving directory `/cpd/src/gnu/cairo/cairo-1.6.4/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/cpd/src/gnu/cairo/cairo-1.6.4'
gmake: *** [all] Error 2
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the cairo-bugs
mailing list