[cairo-bugs] [Bug 59264] New: 'xcb_generic_error_t' has no member named 'major_code' and no member named 'minor_code'

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jan 11 16:12:27 PST 2013


          Priority: medium
            Bug ID: 59264
          Assignee: psychon at znc.in
           Summary: 'xcb_generic_error_t' has no member named 'major_code'
                    and no member named 'minor_code'
        QA Contact: cairo-bugs at cairographics.org
          Severity: normal
    Classification: Unclassified
                OS: Mac OS X (All)
          Reporter: Peter_Dyballa at Freenet.DE
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: 1.12.8
         Component: xcb backend
           Product: cairo

I trying to build FontForge as an application that could run on many Macs, so I
am trying to build quite a lot of static and shared libraries. Cairo 1.12.8 was
configured as:

    env LANG=C
./configure --prefix=${HOME}/Softwaren64 --with-pic --enable-static
--x-includes=/usr/X11/include --x-libraries=/usr/X11/lib CPPFLAGS="-H
-I${HOME}/Softwaren64/include -DCAIRO_NO_MUTEX=1 " CFLAGS="-pipe -fPIC
-fno-common -Os -march=core2 -mtune=core2 -m64 -fomit-frame-pointer -msse4.2 
-Wimplicit-function-declaration" LDFLAGS="-m64 -Wl,-t -Wl,-dead_strip_dylibs

Xcb is version 1.9. The compiler option -Wimplicit-function-declaration is
needed or this error will be reported:

    cairo-xcb-shm.c: In function '_cairo_xcb_connection_allocate_shm_info':
    cairo-xcb-shm.c:177: error: implicit declaration of function
    cairo-xcb-shm.c:177: warning: nested extern declaration of

With the above configuration I ran into this error:

    cairo-boilerplate-xcb.c: In function
    cairo-boilerplate-xcb.c:59: error: 'xcb_generic_error_t' has no member
named 'major_code'
    cairo-boilerplate-xcb.c:59: error: 'xcb_generic_error_t' has no member
named 'minor_code'
    make[5]: *** [cairo-boilerplate-xcb.lo] Error 1
    make[4]: *** [../boilerplate/libcairoboilerplate.la] Error 2

Is my Xcb version too up-to-date?

The compiler used is GCC 4.2.1, OS is Mac OS X 10.6.8, Snow Leopard.

How can I make the "macros" CC etc. display the complete line of invocation?

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/20130112/5a5754f9/attachment.html>

More information about the cairo-bugs mailing list