Open TheSilverSadist opened 1 week ago
Same error with
root@midgard:/home/MYUSERNAME/QNAP-EC# sudo make install rm -f qnap-ec make -C /lib/modules/6.1.0-21-amd64/build M=/home/MYUSERNAME/QNAP-EC clean make[1]: Entering directory '/usr/lib/modules/6.1.0-21-amd64/build' make[1]: No rule to make target 'clean'. Stop. make[1]: Leaving directory '/usr/lib/modules/6.1.0-21-amd64/build' make: [Makefile:74: clean] Error 2
Same issue here, but with Ubuntu running the 5.10.55 kernel.
root@ubntu-5:~/QNAP-EC# make install
rm -f qnap-ec
make -C /lib/modules/5.10.55-051055-generic/build M=/root/QNAP-EC clean
make[1]: Entering directory '/usr/lib/modules/5.10.55-051055-generic/build'
make[1]: *** No rule to make target 'clean'. Stop.
make[1]: Leaving directory '/usr/lib/modules/5.10.55-051055-generic/build'
make: *** [Makefile:74: clean] Error 2
root@midgard:/home/MYUSERNAME/QNAP-EC# sudo make package DEBIAN=yes DESTDIR=/lib/modules/6.1.0-21-amd64 rm -f qnap-ec make -C /lib/modules/6.1.0-21-amd64/build M=/home/MYUSERNAME/QNAP-EC clean make[1]: Entering directory '/usr/lib/modules/6.1.0-21-amd64/build' make[1]: No rule to make target 'clean'. Stop. make[1]: Leaving directory '/usr/lib/modules/6.1.0-21-amd64/build' make: [Makefile:74: clean] Error 2