While compiling the server in xserver/hw/darwin/iokit/xfIOKitStartup.c this error is reported: In file included from xfIOKitStartup.c:32: ../darwin.h:50: warning: function declaration isn’t a prototype In file included from xfIOKitStartup.c:33: ../darwinKeyboard.h:32:20: error: keysym.h: No such file or directory xfIOKitStartup.c:49: warning: no previous prototype for ‘DarwinHandleGUI’ xfIOKitStartup.c:59: warning: no previous prototype for ‘DarwinGlxExtensionInit’ xfIOKitStartup.c:69: warning: no previous prototype for ‘DarwinGlxWrapInitVisuals’ This patch for xserver/hw/darwin/darwinKeyboard.h corrects the problem: 32c32 < #include "keysym.h" --- > #include "X11/keysym.h" Mac OS X 10.4.8 GCC 4.0.1 Release 7.1.99.2
Created attachment 7673 [details] [review] Proposed patch to make xserver/hw/darwin/darwinKeyboard.h work on Mac OS X
Sorry about the phenomenal bug spam, guys. Adding xorg-team@ to the QA contact so bugs don't get lost in future.
The error is gone, the warnings persist, including a new one: ../darwin.h:51: warning: function declaration isn’t a prototype
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.