Bug 8907 - darwinKeyboard.h:32:20: error: keysym.h: No such file or directory
Summary: darwinKeyboard.h:32:20: error: keysym.h: No such file or directory
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: 7.1 (2006.05)
Hardware: PowerPC Mac OS X (All)
: high normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-06 01:26 UTC by Peter Dyballa
Modified: 2007-03-11 14:00 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Proposed patch to make xserver/hw/darwin/darwinKeyboard.h work on Mac OS X (375 bytes, patch)
2006-11-06 09:48 UTC, Peter Dyballa
no flags Details | Splinter Review

Description Peter Dyballa 2006-11-06 01:26:34 UTC
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
Comment 1 Peter Dyballa 2006-11-06 09:48:10 UTC
Created attachment 7673 [details] [review]
Proposed patch to make xserver/hw/darwin/darwinKeyboard.h work on Mac OS X
Comment 2 Daniel Stone 2007-02-27 01:34:27 UTC
Sorry about the phenomenal bug spam, guys.  Adding xorg-team@ to the QA contact so bugs don't get lost in future.
Comment 3 Peter Dyballa 2007-03-11 14:00:04 UTC
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.