[Fwd: [Bug 817] New: DMX includes <linux/input.h> on non-Linux platforms]

Alan Coopersmith <Alan.Coopersmith-UdXhSnd/[email protected]>
Newsgroups gmane.comp.freedesktop.release-wranglers
Message-ID <[email protected]>
[Resending to correct address for release-wranglers]

I tried including [email protected] & [email protected] in the cc list, but it
appears neither of those are registered in the freedesktop bugzilla - is there
some address that should be used for DMX bug reports?  (Should a DMX component
be added to the Xorg bugzilla with that address as the default assignee?)


	-Alan Coopersmith-           [email protected]
	 Sun Microsystems, Inc. - X Window System Engineering

-------- Original Message --------
Subject: [Bug 817]  New: DMX includes <linux/input.h> on non-Linux platforms
Date: Fri, 02 Jul 2004 09:39:57 -0700
From: bugzilla-daemon-u7BhqnqprCWvj1b/[email protected]
To: Alan.Coopersmith-UdXhSnd/[email protected]

Please do not reply to this email: if you want to comment on the bug, go to
the URL shown below and enter your comments there.

http://freedesktop.org/bugzilla/show_bug.cgi?id=817

            Summary: DMX includes <linux/input.h> on non-Linux platforms
            Product: xorg
            Version: CVS_head
           Platform: All
         OS/Version: Solaris
             Status: NEW
           Severity: critical
           Priority: P2
          Component: Driver/other
         AssignedTo: [email protected]
         ReportedBy: [email protected]


Attempting to build the post-DMX-merge Xorg tree on Solaris fails in
xc/programs/Xserver/hw/dmx/input since it's not Linux and has no <linux/input.h>
header:

cc -c -xO4 -xbuiltin -xlibmil -xpentium -Xa -v     -I. -I..
-I../../../../../exports/include/X11 -I../../../../../include/fonts
-I../../../mi  -I../../../include -I../../../render
-I../../../../../include/extensions  -I../../../../../programs/Xserver/Xext
-I../../../../../programs/Xserver/Xi  -I../../../../..
-I../../../../../exports/include   -Dsun -Di386 -DSVR4 -D__EXTENSIONS__ -D__i386
-DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP -DXCSECURITY -DTOGCUP  -DXF86BIGFONT
-DDPMSExtension  -DPIXPRIV -DPANORAMIX  -DRENDER -DRANDR -DXFIXES -DDAMAGE
-DINCLUDE_ALLOCA_H -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -DXFreeXDGA
-DXvExtension -DXFree86LOADER -DDLOPEN_HACK -DXFree86Server -DXF86VIDMODE
-DXvMCExtension -DSMART_SCHEDULE -DBUILDDEBUG -DXResExtension
-DX_BYTE_ORDER=X_LITTLE_ENDIAN -DXORG_VERSION_CURRENT="(((6) * 10000000) + ((7)
* 100000) + ((0) * 1000) + 0)"
../../../../../programs/Xserver/hw/xfree86/os-support/sunos/ia32.il -D__SOL8__
-DNDEBUG      -DDDXOSINIT -DSERVER_LOCK -DDDXOSFATALERROR -DDDXOSVERRORF
-DMITMISC -DXTEST -DXTRAP -DXSYNC -DXCMISC -DXRECORD -DMITSHM -DBIGREQS
-DXF86VIDMODE -DXF86MISC -DDBE -DDPMSExtension -DEVI -DSCREENSAVER -DXV -DXVMC
-DGLXEXT  -DGLX_USE_MESA    -DRES -UBEZIER  -UPEXEXT  -UMULTIBUFFER  -UXV  -UXIE
  -UDBE  -UXF86VIDMODE  -UXF86MISC  -UXFreeXDGA  -UXF86DRI  -UMITSHM  -UTOGCUP
-UDPSEXT  -UMITMISC  -USCREENSAVER  -URANDR  -UFONTCACHE  -UXFree86LOADER
-DXVENDORNAME='"The X.Org Foundation"' -DXVENDORNAMESHORT='"X.Org"'  usb-keyboard.c
"usb-private.h", line 48: cannot find include file: <linux/input.h>
"usb-private.h", line 104: undefined symbol: EV_MAX
"usb-private.h", line 104: can not declare variably modified type at file scope
"usb-keyboard.c", line 265: incomplete struct/union/enum input_event: event
"usb-keyboard.c", line 270: improper member use: time
"usb-keyboard.c", line 270: warning: left operand of "." must be struct/union object
"usb-keyboard.c", line 271: improper member use: time
"usb-keyboard.c", line 271: warning: left operand of "." must be struct/union object
"usb-keyboard.c", line 271: cannot access member of non-struct/union object
"usb-keyboard.c", line 272: improper member use: type
"usb-keyboard.c", line 272: undefined symbol: EV_LED
"usb-keyboard.c", line 276: undefined struct/union member: code
"usb-keyboard.c", line 277: improper member use: value
"usb-keyboard.c", line 368: incomplete struct/union/enum input_event: raw
"usb-keyboard.c", line 375: undefined struct/union member: code
"usb-keyboard.c", line 375: improper member use: value

Looking in the Imakefile, usb-keyboard.c is included on all non-SGI platforms.
Either it should be limited to Linux platforms or #ifdef's put in to not use
Linux-only headers on non-Linux platforms.

--
Configure bugmail: http://freedesktop.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.
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.