[cairo-bugs] [Bug 16349] New: make fails with "conflicting types for 'Picture'" on Mac OS X 10.4.11 PPC

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Jun 14 04:06:02 PDT 2008


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

           Summary: make fails with "conflicting types for 'Picture'" on Mac
                    OS X 10.4.11 PPC
           Product: cairo
           Version: 1.6.4
          Platform: PowerPC
        OS/Version: Mac OS X (All)
            Status: NEW
          Severity: blocker
          Priority: medium
         Component: general
        AssignedTo: cworth at cworth.org
        ReportedBy: margali at imapmail.org
         QAContact: cairo-bugs at cairographics.org


Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT 2007;
root:xnu-792.24.17~1/RELEASE_PPC
gcc 4.0.1

1) ./configure
2) edit Makefiles to replace "-include render.h renderproto.h" with "-include
render.h -include renderproto.h"
[3) edit libtool to replace "-dynamiclib" with "-dynamiclib -flat_namespace"]
4) make

Have tried with and without step 3. (Without step 2, make fails much sooner.)

make fails with the following error:

gcc -DHAVE_CONFIG_H -I. -I.. -I. -I/usr/local/include/freetype2
-I/usr/local/include -I/usr/local/include -I/usr/local/include/libpng12
-include render.h -include renderproto.h -DXTHREADS -I/usr/local/include
-I/usr/local/include/X11/extensions -I/usr/X11R6/include -I/usr/X11R6/include
-I/usr/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 -g -O2 -MT
libcairo_la-cairo-quartz-surface.lo -MD -MP -MF
.deps/libcairo_la-cairo-quartz-surface.Tpo -c cairo-quartz-surface.c 
-fno-common -DPIC -o .libs/libcairo_la-cairo-quartz-surface.o
In file included from
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QD.h:42,
                 from
/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:30,
                 from ./cairo-quartz.h:43,
                 from cairo-quartz-private.h:44,
                 from cairo-quartz-surface.c:39:
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Quickdraw.h:309:
error: conflicting types for 'Picture'
/usr/local/include/X11/extensions/render.h:31: error: previous declaration of
'Picture' was here
make[2]: *** [libcairo_la-cairo-quartz-surface.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Any suggestions would be very welcome.

- cfr


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