Xorg RC3: Undefined symbol "KEYBOARD"

Alan Coopersmith Alan.Coopersmith at Sun.COM
Sat Aug 28 17:22:42 PDT 2004


Kristian Høgsberg wrote:
> This is triggered by the combination of UseDeprecatedKeyboardDriver YES 
> and LoadableServer NO: the KEYBOARD struct in input/keyboard/kbd.c is 
> only defined when UseDeprecatedKeyboardDriver is NO but it is always 
> included in the generated file drvConf.c because it's the name of the 
> input/keyboard directory.  My suggestion is to just always define the 
> KEYBOARD struct.  When the old driver is used there will be two structs 
> in the array in drvConf.c with .driverName="keyboard", but the old 
> driver will be first in the list and take precedence.
> 
> Patch attached.

Thanks - that patch fixed the problem for me so the build tests now pass on
Solaris for all three host.def configurations. (Well, except for a small
patch I'm about to commit to fix builds on Solaris 10 beta - I'll leave it
up to you & Kevin to determine if your patch should be committed.)

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



More information about the release-wranglers mailing list