leomelo@RLMeloPComputer:~$ cd /home/leomelo/.xpad360
leomelo@RLMeloPComputer:~/.xpad360$ sudo make
Password:
make modules -C /usr/src/linux-headers-2.6.20-13-generic SUBDIRS=/home/leomelo/.xpad360
make[1]: Entering directory `/usr/src/linux-headers-2.6.20-13-generic'
CC [M] /home/leomelo/.xpad360/xpad.o
/home/leomelo/.xpad360/xpad.c:54:26: error: linux/config.h: No such file or directory
/home/leomelo/.xpad360/xpad.c:62:29: error: linux/usb_input.h: No such file or directory
/home/leomelo/.xpad360/xpad.c: In function ‘xpad_process_packet’:
/home/leomelo/.xpad360/xpad.c:161: warning: implicit declaration of function ‘input_regs’
/home/leomelo/.xpad360/xpad.c: In function ‘xpad_probe’:
/home/leomelo/.xpad360/xpad.c:368: error: ‘SLAB_ATOMIC’ undeclared (first use in this function)
/home/leomelo/.xpad360/xpad.c:368: error: (Each undeclared identifier is reported only once
/home/leomelo/.xpad360/xpad.c:368: error: for each function it appears in.)
/home/leomelo/.xpad360/xpad.c:386: warning: implicit declaration of function ‘usb_to_input_id’
/home/leomelo/.xpad360/xpad.c:451: warning: passing argument 6 of ‘usb_fill_int_urb’ from incompatible pointer type
make[2]: *** [/home/leomelo/.xpad360/xpad.o] Error 1
make[1]: *** [_module_/home/leomelo/.xpad360] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-13-generic'
make: *** [all] Error 2
I get those errors when i enter sudo make
Bookmarks