On Tue, 29 Oct 2002, Roy wrote: > Hi,list > I'm trying to write a module for X,but I got some error msg witch I can't >understand when building them,And I tried to find out the answer in the list but I >failed: > ../../../../../../programs/Xserver/hw/xfree86/common/xf86str.h:250: warning: comma >at end of enumerator list > ../../../../../../programs/Xserver/hw/xfree86/common/xf86str.h:250: parse error > before `0x10' > ../../../../../../programs/Xserver/hw/xfree86/common/xf86str.h:251: warning: comma >at end of enumerator list
> I'd modify the xf86str.h---replace "BUS_ISA" "BUS_PCI" with "BUS_NONE1" >"BUS_NONE2",then my module can pass the gcc,by failed to run. > Can somebody tell me what's wrong and what can I do? Sounds like your code is #include'ing <linux/input.h>. Have a look at what is done about this in the acecad and wacom drivers. Marc. +----------------------------------+-----------------------------------+ | Marc Aurele La France | work: 1-780-492-9310 | | Computing and Network Services | fax: 1-780-492-1729 | | 352 General Services Building | email: [EMAIL PROTECTED] | | University of Alberta +-----------------------------------+ | Edmonton, Alberta | | | T6G 2H1 | Standard disclaimers apply | | CANADA | | +----------------------------------+-----------------------------------+ XFree86 Core Team member. ATI driver and X server internals. _______________________________________________ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert