Re: Xorg RC3: Undefined symbol "KEYBOARD"

Alan Coopersmith <Alan.Coopersmith-UdXhSnd/[email protected]>
Newsgroups gmane.comp.freedesktop.release-wranglers
Message-ID <[email protected]>
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-           [email protected]
	 Sun Microsystems, Inc. - X Window System Engineering
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.