[cairo-bugs] [Bug 16561] New: From darwinports, cairo-quartz-image-surface.c:69: error: 'kCGBitmapByteOrder32Host' undeclared

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Jun 29 11:21:58 PDT 2008


http://bugs.freedesktop.org/show_bug.cgi?id=16561

           Summary: From darwinports, cairo-quartz-image-surface.c:69:
                    error: 'kCGBitmapByteOrder32Host' undeclared
           Product: cairo
           Version: 1.6.4
          Platform: PowerPC
        OS/Version: Mac OS X (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: quartz font backend
        AssignedTo: vladimir at pobox.com
        ReportedBy: david at walend.net
         QAContact: cairo-bugs at cairographics.org


I'm trying to install cairo (on my way to installing graph viz) using
darwinports on a Mac G4. OS is 10.4.11. 

I get

cairo-quartz-image-surface.c:69: error: 'kCGBitmapByteOrder32Host' undeclared

while it's compiling.

I've pasted in the whole listing. Thanks for looking into this bug. It's
stalling a project.

Dave

----

david-walends-powerbook-g4-17:~/projects/jdigraph/v2/source/uber dwalend$ sudo
port install cairo
--->  Building cairo with target all
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_cairo/work/cairo-1.6.4"
&& make all " returned error 2
Command output: make  all-recursive
Making all in src
/bin/sh ../libtool --tag=CC   --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H
-I. -I..   -I/opt/local/include -I. -I/opt/local/include/freetype2
-I/opt/local/include   -I/opt/local/include   -I/opt/local/include/libpng12  
-DXTHREADS -I/opt/local/include -I/usr/X11R6/include    -I/usr/X11R6/include
-I/opt/local/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-missing-field-initializers -Wno-unused-parameter
-Wno-long-long -Winline -fno-strict-aliasing -O2 -MT
libcairo_la-cairo-quartz-image-surface.lo -MD -MP -MF
.deps/libcairo_la-cairo-quartz-image-surface.Tpo -c -o
libcairo_la-cairo-quartz-image-surface.lo `test -f
'cairo-quartz-image-surface.c' || echo './'`cairo-quartz-image-surface.c
 /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I.
-I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include
-I/opt/local/include/libpng12 -DXTHREADS -I/opt/local/include
-I/usr/X11R6/include -I/usr/X11R6/include -I/opt/local/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-missing-field-initializers -Wno-unused-parameter
-Wno-long-long -Winline -fno-strict-aliasing -O2 -MT
libcairo_la-cairo-quartz-image-surface.lo -MD -MP -MF
.deps/libcairo_la-cairo-quartz-image-surface.Tpo -c
cairo-quartz-image-surface.c  -fno-common -DPIC -o
.libs/libcairo_la-cairo-quartz-image-surface.o
cairo-quartz-image-surface.c: In function '_cairo_quartz_create_cgimage':
cairo-quartz-image-surface.c:69: error: 'kCGBitmapByteOrder32Host' undeclared
(first use in this function)
cairo-quartz-image-surface.c:69: error: (Each undeclared identifier is reported
only once
cairo-quartz-image-surface.c:69: error: for each function it appears in.)
make[2]: *** [libcairo_la-cairo-quartz-image-surface.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: Status 1 encountered during processing.


-- 
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