waveshare / mk_arcade_joystick_rpi

arcade joystick module for Pi
GNU General Public License v2.0
7 stars 4 forks source link

compilation error during install.sh on pi #1

Closed jclauzel closed 4 years ago

jclauzel commented 4 years ago

I have just downloaded latest noobs full and installed it on my raspberry pi 3B+ when compiling it.

/var/lib/dkms/mk_arcade_joystick_rpi/0.1.5/build/mk_arcade_joystick_rpi.c:548:5: error: implicit declaration of function ‘setup_timer’; did you mean ‘del_timer’ ? [-Werror=implicit-function-declaration] setup_timer(&mk->timer, mk_timer, (long) mk); ^~~ del_timer

kernel headers /usr/src/linux-headers-4.19.75-v7+ 

This has been happening on all fresh installs i have made. Can we get this fixed please?

jclauzel commented 4 years ago

I made a patch https://github.com/jclauzel/mk_arcade_joystick_rpi

Install by doing:

sudo git clone https://github.com/jclauzel/mk_arcade_joystick_rpi.git