Compile error building xf86-input-keyboard from current git

Alan Coopersmith Alan.Coopersmith at Sun.COM
Wed Jan 21 15:07:42 PST 2009


Alex Villací­s Lasso wrote:
> kbd.c:154: error: 'XKB_DFLT_RULES' undeclared here (not in a function)
> 
> This is from a recent git pulled this morning. I am pulling the changes 
> from the last few hours, in the hope this is fixed by compiling an 
> updated proto somewhere.

The xorg-server.h file installed by the Xorg server build should define
either __XKBDEFRULES__ (Xorg git prior to this week) or XKB_DFLT_RULES
(current Xorg git).   The kbd driver as of yesterday's git checkout
should be accepting either one:

#if !defined(XKB_DFLT_RULES) && defined(__XKBDEFRULES__)
# define XKB_DFLT_RULES __XKBDEFRULES__
#endif

-- 
	-Alan Coopersmith-           alan.coopersmith at sun.com
	 Sun Microsystems, Inc. - X Window System Engineering




More information about the xorg mailing list