Open Selvadigo opened 2 years ago
Hi, I've done the certs ok (i needed to put the destination manually two in fact because there was linux-headers-5.15.0-52-generic, and linux-headers-5.15.0-53 so i've two cp)
But the compilation fail: make: Entering directory '/usr/src/linux-headers-5.15.0-53-generic' scripts/Makefile.build:44: /home/phase_lot/Makefile: No such file or directory make[1]: No rule to make target '/home/phase_lot/Makefile'. Stop. make: [Makefile:1903: /home/phase_lot] Error 2 make: Leaving directory '/usr/src/linux-headers-5.15.0-53-generic'
same eroor using sudo ...
replacing make -C /lib/modules/uname -r
/build M=$PWD by
make -C /lib/modules/uname -r
/build M=$ mypassword
start to compile after a while error flex then bison
miss the instruction in your build command: sudo apt-get install flex sudo apt-get install bison
make -C /lib/modules/uname -r
/build M=$ mypassword
make: Entering directory '/usr/src/linux-headers-5.15.0-53-generic' make: *** No rule to make target 'part of my password'. Stop. make: Leaving directory '/usr/src/linux-headers-5.15.0-53-generic'
I've downloaded the sources manualy:
sudo make -C /lib/modules/uname -r
/build M=$PWD Seems OK
sudo make -C /lib/modules/uname -r
/build M=$PWD modules_install
make: Entering directory '/usr/src/linux-headers-5.15.0-53-generic'
arch/x86/Makefile:142: CONFIG_X86_X32 enabled but no binutils support
INSTALL /lib/modules/5.15.0-53-generic/extra/motu.ko
SIGN /lib/modules/5.15.0-53-generic/extra/motu.ko
DEPMOD /lib/modules/5.15.0-53-generic
Warning: modules_install: missing 'System.map' file. Skipping depmod.
make: Leaving directory '/usr/src/linux-headers-5.15.0-53-generic'
needed to do: sudo ln -s /boot/System.map-5.15.0-53-generic /lib/modules/5.15.0-53-generic/build/System.map
then
sudo make -C /lib/modules/uname -r
/build M=$PWD modules_install
seems OK
sudo depmod seems OK
sudo modprobe motu modprobe: ERROR: could not insert 'motu': Exec format error
Please help need for the motu xt
Howdy! Thanks for posting this issue. I am not sure what is going on and what I'm supposed to do, is there something that I need to add to the Makefile or to the README, so it compiles on Ubuntu?
It seems to work for me on 22.04.1 LTS, although I've not tested it much, just opened MIDI monitor and saw note messages arrive.
Before compilation I needed to create certs for signing the kernel module. See here for some pointers.