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

bugzilla-daemon at pdx.freedesktop.org bugzilla-daemon at pdx.freedesktop.org
Fri Jul 2 09:39:57 PDT 2004


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: xorg-bugzilla-noise at freedesktop.org
        ReportedBy: alan.coopersmith at sun.com


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 are the assignee for the bug, or are watching the assignee.



More information about the xorg-bugzilla-noise mailing list