[Intel-gfx] Problem building xorg + xf86-video-intel-2.8.0 from scratch

martin krastev blu.dark at gmail.com
Tue Aug 18 16:44:20 CEST 2009


Hi all,

I've hit a roadblock trying to build xf86-video-intel-2.8.0 on a
kernel 2.6.29.1 host. I've been following from scratch the building
guide at http://wiki.x.org/wiki/Development/git - everything went
smoothly till the building of 2.8.0 edge (step "Building X drivers ->
xf86-video-intel"), at which point I hit extensions inclusion limbo
(through uxa-priv.h).

$ make
Making all in uxa
  CC    uxa.o
In file included from /usr/include/X11/extensions/shmstr.h:35,
                 from uxa-priv.h:49,
                 from uxa.c:37:
/usr/include/X11/extensions/XShm.h:44: error: expected
specifier-qualifier-list before 'Display'
/usr/include/X11/extensions/XShm.h:62: error: expected ')' before '*' token
/usr/include/X11/extensions/XShm.h:66: error: expected ')' before '*' token
/usr/include/X11/extensions/XShm.h:70: error: expected ')' before '*' token
/usr/include/X11/extensions/XShm.h:77: error: expected ')' before '*' token
/usr/include/X11/extensions/XShm.h:80: error: expected '=', ',', ';',
'asm' or '__attribute__' before 'XShmAttach'
/usr/include/X11/extensions/XShm.h:85: error: expected '=', ',', ';',
'asm' or '__attribute__' before 'XShmDetach'
/usr/include/X11/extensions/XShm.h:90: error: expected '=', ',', ';',
'asm' or '__attribute__' before 'XShmPutImage'
/usr/include/X11/extensions/XShm.h:104: error: expected '=', ',', ';',
'asm' or '__attribute__' before 'XShmGetImage'
/usr/include/X11/extensions/XShm.h:113: error: expected '=', ',', ';',
'asm' or '__attribute__' before '*' token
/usr/include/X11/extensions/XShm.h:125: error: expected ')' before '*' token
make[2]: *** [uxa.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


Whereas, if I dully include <X11/Xlib.h> in uxa-priv.h, I end up with:

$ make
Making all in uxa
  CC    uxa.o
In file included from uxa-priv.h:43,
                 from uxa.c:37:
/usr/include/X11/Xlib.h:233: error: conflicting types for 'GC'
/usr/include/xorg/gcstruct.h:321: error: previous declaration of 'GC' was here
make[2]: *** [uxa.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


I buid everything as root, with --prefix=/usr .

I'm using the next from git:

libx11proto - git://git.freedesktop.org/git/xorg/proto/x11proto
libxtrans - git://git.freedesktop.org/git/xorg/lib/libxtrans
libX11 - git://git.freedesktop.org/git/xorg/lib/libX11
libXext - git://git.freedesktop.org/git/xorg/lib/libXext
dri2proto - git://git.freedesktop.org/git/xorg/proto/dri2proto
glproto - git://git.freedesktop.org/git/xorg/proto/glproto
pciaccess - git://git.freedesktop.org/git/xorg/lib/libpciaccess
pixman - git://git.freedesktop.org/git/pixman

and these official snapshots:

fixesproto-4.1.tar.bz2
inputproto-1.9.99.15.tar.bz2
libtool-2.2.6a.tar.gz
xcb-proto-1.5.tar.gz
libxcb-1.4.tar.gz
randrproto-1.3.0.tar.bz2
renderproto-0.11.tar.bz2
xextproto-7.0.99.3.tar.bz2
xf86-video-intel-2.8.0.tar.gz

It's been quite some time since I last built an xorg env from scratch,
and clearly, I'm missing something basic here.

Any ideas?

-martin



More information about the Intel-gfx mailing list