Focusrite-Scarlett-on-Linux / sound-usb-kernel-module

Latest driver development code for sound/usb on Linux
GNU General Public License v2.0
159 stars 7 forks source link

Failed to make modules #16

Closed dwisiswant0 closed 2 years ago

dwisiswant0 commented 2 years ago
make: Entering directory '/usr/src/linux-headers-4.15.0-142-generic'
  CC [M]  /home/dw1/Development/sound-usb-kernel-module/sound/usb/card.o
/home/dw1/Development/sound-usb-kernel-module/sound/usb/card.c:34:32: fatal error: linux/usb/audio-v3.h: No such file or directory
compilation terminated.
scripts/Makefile.build:330: recipe for target '/home/dw1/Development/sound-usb-kernel-module/sound/usb/card.o' failed
make[1]: *** [/home/dw1/Development/sound-usb-kernel-module/sound/usb/card.o] Error 1
Makefile:1584: recipe for target '_module_/home/dw1/Development/sound-usb-kernel-module/sound/usb' failed
make: *** [_module_/home/dw1/Development/sound-usb-kernel-module/sound/usb] Error 2
make: Leaving directory '/usr/src/linux-headers-4.15.0-142-generic'

Any ideas how to get rid of this?

HinTak commented 2 years ago

Holy crap - I was wondering if 5.15.x was too old (current is 5.18.x), and you are using 4.15.x - "4".15.x!!!

You need to upgrade, a lot!