Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Feb 28th, 2010  |  syntax: None  |  size: 2.75 KB  |  hits: 384  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. xbmc@xbmc-desktop:~$ cd /home/xbmc/xpad
  2. xbmc@xbmc-desktop:~/xpad$ sudo make
  3. [sudo] password for xbmc:
  4. make modules -C /usr/src/linux-headers-2.6.31-19-generic SUBDIRS=/home/xbmc/xpad
  5. make[1]: Entering directory `/usr/src/linux-headers-2.6.31-19-generic'
  6.   CC [M]  /home/xbmc/xpad/xpad.o
  7. /home/xbmc/xpad/xpad.c: In function ‘xpad_wireless_connect’:
  8. /home/xbmc/xpad/xpad.c:291: error: implicit declaration of function ‘info’
  9. /home/xbmc/xpad/xpad.c: In function ‘xpad_open’:
  10. /home/xbmc/xpad/xpad.c:382: error: ‘struct input_dev’ has no member named ‘private’
  11. /home/xbmc/xpad/xpad.c: In function ‘xpad_close’:
  12. /home/xbmc/xpad/xpad.c:408: error: ‘struct input_dev’ has no member named ‘private’
  13. /home/xbmc/xpad/xpad.c: In function ‘xpad_probe’:
  14. /home/xbmc/xpad/xpad.c:496: error: ‘struct input_dev’ has no member named ‘cdev’
  15. /home/xbmc/xpad/xpad.c:497: error: ‘struct input_dev’ has no member named ‘private’
  16. make[2]: *** [/home/xbmc/xpad/xpad.o] Error 1
  17. make[1]: *** [_module_/home/xbmc/xpad] Error 2
  18. make[1]: Leaving directory `/usr/src/linux-headers-2.6.31-19-generic'
  19. make: *** [all] Error 2
  20. xbmc@xbmc-desktop:~/xpad$ sudo make install
  21. cp -f xpad.ko /lib/modules/2.6.31-19-generic/kernel/drivers/input/joystick
  22. cp: cannot stat `xpad.ko': No such file or directory
  23. make: *** [install] Error 1
  24. xbmc@xbmc-desktop:~/xpad$ sudo modprobe -r xpad
  25. xbmc@xbmc-desktop:~/xpad$ sudo depmod -a
  26. ^[[Axbmc@xbmc-desktop:~/xpad$ sudo depmod -a
  27. xbmc@xbmc-desktop:~/xpad$ sudo modprobe xpad
  28. xbmc@xbmc-desktop:~/xpad$ sudo make
  29. make modules -C /usr/src/linux-headers-2.6.31-19-generic SUBDIRS=/home/xbmc/xpad
  30. make[1]: Entering directory `/usr/src/linux-headers-2.6.31-19-generic'
  31.   CC [M]  /home/xbmc/xpad/xpad.o
  32. /home/xbmc/xpad/xpad.c: In function ‘xpad_wireless_connect’:
  33. /home/xbmc/xpad/xpad.c:291: error: implicit declaration of function ‘info’
  34. /home/xbmc/xpad/xpad.c: In function ‘xpad_open’:
  35. /home/xbmc/xpad/xpad.c:382: error: ‘struct input_dev’ has no member named ‘private’
  36. /home/xbmc/xpad/xpad.c: In function ‘xpad_close’:
  37. /home/xbmc/xpad/xpad.c:408: error: ‘struct input_dev’ has no member named ‘private’
  38. /home/xbmc/xpad/xpad.c: In function ‘xpad_probe’:
  39. /home/xbmc/xpad/xpad.c:496: error: ‘struct input_dev’ has no member named ‘cdev’
  40. /home/xbmc/xpad/xpad.c:497: error: ‘struct input_dev’ has no member named ‘private’
  41. make[2]: *** [/home/xbmc/xpad/xpad.o] Error 1
  42. make[1]: *** [_module_/home/xbmc/xpad] Error 2
  43. make[1]: Leaving directory `/usr/src/linux-headers-2.6.31-19-generic'
  44. make: *** [all] Error 2
  45. xbmc@xbmc-desktop:~/xpad$ sudo cp xpad.ko /lib/modules/$(uname -r)/kernel/drivers/usb/input
  46. cp: cannot stat `xpad.ko': No such file or directory
  47. xbmc@xbmc-desktop:~/xpad$