paroj / xpad

Linux Kernel Driver for the Xbox/ Xbox 360/ Xbox One Controllers
845 stars 184 forks source link

Error running 'sudo dkms install -m xpad -v 0.4' #127

Open kumailn opened 5 years ago

kumailn commented 5 years ago

Getting this error when I try to run the DKMS command:

nvidia@tegra-ubuntu:~$ sudo dkms install -m xpad -v 0.4

Kernel preparation unnecessary for this kernel. Skipping...

Building module: cleaning build area.... make KERNELRELEASE=4.4.38-tegra KVERSION=4.4.38-tegra....(bad exit status: 2) ERROR (dkms apport): binary package for xpad: 0.4 not found Error! Bad return status for module build on kernel: 4.4.38-tegra (aarch64) Consult /var/lib/dkms/xpad/0.4/build/make.log for more information.

OOPMan commented 5 years ago

@kumailn Hi there. You need to do the following before installing the module:

cd /usr/src/xpad-0.4;
make