Latest xcb does not compile

paul singularity00 at gmail.com
Sun Sep 24 13:25:10 PDT 2006


I'm trying a modular build of Xorg, all from git, to see if its opensource
ATI r300 driver has matured to the point of usability. But I'm getting a
compiler error in xcb.

<snip>
 gcc -DPACKAGE_NAME=\"xcb-util\" -DPACKAGE_TARNAME=\"xcb-util\"
-DPACKAGE_VERSION=\" 0.1\" "-DPACKAGE_STRING=\"xcb-util 0.1\""
-DPACKAGE_BUGREPORT=\"xcb at lists.freedesktop.org\" -DPACKAGE=\"xcb-util\"
-DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I.
-I. -I/opt/Xorg//include -g -O2 -MT libXCBAtom_la- atoms.lo -MD -MP -MF
.deps/libXCBAtom_la-atoms.Tpo -c atoms.c  -fPIC -DPIC -o
.libs/libXCBAtom_la-atoms.o
In file included from atoms.gperf:4:
xcb_atom.h:11: error: syntax error before "XCBInternAtomCookie"
xcb_atom.h:11: warning: no semicolon at end of struct or union
xcb_atom.h:11: warning: no semicolon at end of struct or union
xcb_atom.h:12: warning: data definition has no type or storage class
xcb_atom.h:13: warning: data definition has no type or storage class
xcb_atom.h:14: error: syntax error before '}' token

<snip> About a thousand other errors follow after that one, most of them in
gperf.

I looked at the offending code but it looked right to me...but then again I
don't have much experience in this area. Can someone help?

Using gcc-3.4.6 (Slackware 11), gperf 3.0.2, Xorg as of today's git.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20060924/f7750f8c/attachment.html>


More information about the xorg mailing list