i tried method 2, and when I typed make, I got these warnings and errors:
evdev.c:696: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
evdev.c: In function ‘EvdevInit’:
evdev.c:989: warning: passing argument 2 of ‘XIRegisterPropertyHandler’ from incompatible pointer type
evdev.c:989: error: too few arguments to function ‘XIRegisterPropertyHandler’
make: *** [evdev.lo] Error 1
make: Leaving directory `/home/buddha/Desktop/xserver-xorg-input-evdev-2.0.99+git20080912/src'
make: *** [all-recursive] Error 1
make: Leaving directory `/home/buddha/Desktop/xserver-xorg-input-evdev-2.0.99+git20080912'
make: *** [all] Error 2
I have no idea what I could be. I tried the sudo apt-get build-dep xserver-xorg-input-evdev but I still got the same warnings and errors. ./autogen.sh worked fine.
I even tried running make without the pasted code, still got the same errors.
EDIT: I'm running Jaunty