Xnest will not compile on cygwin because of missing _XKBFreeKeyboard symbols from libX11. The xorg server is not affected since BuildXKBlib is set in xorg.cf from X11.tmpl: #ifndef BuildXKBlib #define BuildXKBlib (BuildXKB && !BuildServersOnly) #endif fix: #ifndef BuildXKBlib #define BuildXKBlib (BuildXKB && (!BuildServersOnly || XnestServer)) #endif
For systems that use xorg.cf, BuildXKBLib is enabled, unless explicitly disabled in the host.def file. I think this will be a problem with building DMX on other systems as well. Perhaps it should be: #ifndef BuildXKBlib #define BuildXKBlib (BuildXKB && (!BuildServersOnly || \\ XnestServer || XdmxServer)) #endif
Patch checked in. Closing.
Actually close it this time...
#ifndef BuildXKBlib #define BuildXKBlib (BuildXKB && (!BuildServersOnly || \\ XnestServer || XdmxServer)) #endif I've problems with the \\ at the end. Shouldn't it be a single backslash? $ make Makefile + rm -f Makefile.bak + mv -f Makefile Makefile.bak ../../config/imake/imake -I../../config/cf -DTOPDIR=../.. -DCURDIR=lib/Xcomposite In file included from ../../config/cf/Imake.tmpl:2129, from Imakefile.c:9: ../../config/cf/X11.tmpl:3705: invalid character '\' in #if ../../config/cf/X11.tmpl:3742: invalid character '\' in #if ../../config/cf/X11.tmpl:3777: invalid character '\' in #if ../../config/imake/imake: Exit code 1. Stop. make: *** [Makefile] Error 1
Fixed in cvs, just a typo.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.