Bug 12463

Summary: xorg-server fails to compile
Product: xorg Reporter: Hanno Böck <hanno>
Component: Server/GeneralAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Hanno Böck 2007-09-17 13:03:50 UTC
on current -git and no-pci-rework branch.

My renderproto is 0.9.3


 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I../include -I../include -I../Xext -I../composite -I../damageext -I../xfixes -I../Xi -I../mi -I../miext/shadow -I../miext/damage -I../render -I../randr -I../fb -O2 -march=pentium-m -fomit-frame-pointer -pipe -MT renderedge.lo -MD -MP -MF .deps/renderedge.Tpo -c renderedge.c  -fPIC -DPIC -o .libs/renderedge.o
In file included from /usr/include/X11/extensions/renderproto.h:31,
                 from glyphstr.h:29,
                 from picturestr.h:28,
                 from renderedge.h:27,
                 from renderedge.c:28:
/usr/include/X11/extensions/render.h:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Glyph'
/usr/include/X11/extensions/render.h:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GlyphSet'
/usr/include/X11/extensions/render.h:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Picture'
/usr/include/X11/extensions/render.h:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PictFormat'
In file included from picturestr.h:28,
                 from renderedge.h:27,
                 from renderedge.c:28:
glyphstr.h:139: error: expected declaration specifiers or '...' before 'Glyph'
glyphstr.h:142: error: expected declaration specifiers or '...' before 'Glyph'
glyphstr.h:145: error: expected declaration specifiers or '...' before 'Glyph'
In file included from renderedge.h:27,
                 from renderedge.c:28:
picturestr.h:514: error: expected ')' before 'pid'
picturestr.h:667: error: expected ')' before 'pid'
picturestr.h:672: error: expected ')' before 'pid'
picturestr.h:681: error: expected ')' before 'pid'
picturestr.h:692: error: expected ')' before 'pid'
make[1]: *** [renderedge.lo] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/x11-base/xorg-server-9999/work/xorg-server-9999/render'
make: *** [all-recursive] Fehler 1
Comment 1 Hanno Böck 2007-09-20 17:08:48 UTC
fixed here:
http://gitweb.freedesktop.org/?p=xorg/xserver.git;a=commit;h=07630d897ef37cad8b79d073d9edc891d5a7bddd

but only on git-head. Can someone apply to no-pci-rework-branch?
Comment 2 Michel Dänzer 2007-09-21 00:50:38 UTC
Already done: 643a263f2cefbb680c3289466a233fccf335baa0
Comment 3 David Nusinow 2008-07-26 11:52:59 UTC
This should have been closed ages ago.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.