[PATCH] KMS support also depends on dri2
Submitted by Bernd Kuhls
Assigned to Xorg Project Team
Description
Building Xorg xserver 1.17.2 fails if dri2proto is disabled with these configure options:
--enable-xorg --disable-kdrive --disable-dri --disable-libdrm --disable-glx --disable-aiglx --enable-config-udev --enable-config-udev-kms --enable-libdrm --disable-dri2 --disable-dri3
This is the error message:
make[6]: Entering directory `/home/test/autobuild/instance-3/output/build/xserver_xorg-server-1.17.2/hw/xfree86/drivers/modesetting' CC dri2.lo In file included from dri2.c:43:0: ./../../dri2/dri2.h:36:39: fatal error: X11/extensions/dri2tokens.h: No such file or directory #include <X11/extensions/dri2tokens.h> ^ compilation terminated. make[6]: *** [dri2.lo] Error 1 make[6]: *** Waiting for unfinished jobs....
The dependency for DRI2 support in the modesetting driver can be seen here: http://cgit.freedesktop.org/xorg/xserver/tree/hw/xfree86/drivers/modesetting/Makefile.am#n46
The complete compile log can be found here: http://autobuild.buildroot.net/results/f26/f26018d5ad62bc7b61623dd173dc1e92e2c958a4//build-end.log