List,
I have been using Linux for 3 or 4 years and the one thing that I have
always had problems with is making the Joystick driver. I got the latest
driver and unpack it. then when I type make, I get all kinds of errors. If
you need to see them, let me know and I will paste it to the next message.

I am running RedHat 7.3 with the latest kernel. I have made several other
packages without problems. The kernel is set up to use a joystick module.
I will paste the last few lines of the make if this will help.

Oh, Im trying to get BASIC functionality from an F-22 Pro and TQS F-16
from Thrustmaster. All I really need for now is the axis and the first 3
or 4 buttons and the hats. Any help would be appreciated...

Here is some of the code from the make:

joystick.c: At top level:
joystick.c:770: variable `js_fops' has initializer but incomplete type
joystick.c:772: unknown field `read' specified in initializer
joystick.c:772: warning: excess elements in struct initializer
joystick.c:772: warning: (near initialization for `js_fops')
joystick.c:773: unknown field `poll' specified in initializer
joystick.c:773: warning: excess elements in struct initializer
joystick.c:773: warning: (near initialization for `js_fops')
joystick.c:774: unknown field `ioctl' specified in initializer
joystick.c:774: warning: excess elements in struct initializer
joystick.c:774: warning: (near initialization for `js_fops')
joystick.c:775: unknown field `open' specified in initializer
joystick.c:775: warning: excess elements in struct initializer
joystick.c:775: warning: (near initialization for `js_fops')
joystick.c:776: unknown field `release' specified in initializer
joystick.c:776: warning: excess elements in struct initializer
joystick.c:776: warning: (near initialization for `js_fops')
joystick.c: In function `init_module':
joystick.c:791: warning: implicit declaration of function `register_chrdev'
joystick.c:792: `KERN_ERR' undeclared (first use in this function)
joystick.c:792: parse error before string constant
joystick.c:796: `KERN_INFO' undeclared (first use in this function)
joystick.c:796: parse error before string constant
joystick.c: In function `cleanup_module':
joystick.c:874: warning: implicit declaration of function `unregister_chrdev'
joystick.c:875: `KERN_ERR' undeclared (first use in this function)
joystick.c:875: parse error before string constant
make: *** [joystick.o] Error 1

Thanks again!!!

--
Joe Giles
[EMAIL PROTECTED]
AOL: mcigiles




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to