xf86-video-vmware compilation issue with xserver built with meson

Tuomo Rinne tuomo.rinne at pm.me
Sat Jan 12 12:18:11 UTC 2019


Hi,

There's a different behaviour between the build systems in how they define the
variables in xorg-server.h. I've in particular run into problem with variable 
XSERVER_LIBPCIACCESS. 

The autotools build system defines this as: 
#define XSERVER_LIBPCIACCESS 1 

whereas meson build system defines this as:
#define XSERVER_LIBPCIACCESS 

The xf86-video-vmware driver has statements such as
#if XSERVER_LIBPCIACCESS which causes compilation errors when compiled 
in conjunction with the meson build of xserver.

The correct fix would be to use #ifdef statements in the xf86-video-vmware 
driver correct? I'm happy to send a patch if this is the case. 

Thanks, Tuomo



More information about the xorg-devel mailing list