Unable to find the kernel source tree
-
- OMV 5.x
- HiiiroZZ
-
-
sudo apt-get install linux-source
-
Thank's ! And how can I specify the path and where can I find it?
-
-
Try installing the headers package.
sudo apt-get install linux-headers
-
-
-
-
That's the log
Code
Alles anzeigenmake[1]: Entering directory '/usr/src/linux-headers-5.8.0-0.bpo.2-common' /usr/bin/make -C /usr/src/linux-headers-5.8.0-0.bpo.2-amd64 -f /usr/src/linux-headers-5.8.0-0.bpo.2-common/Makefile modules make[2]: Entering directory '/usr/src/linux-headers-5.8.0-0.bpo.2-amd64' test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \ echo >&2; \ echo >&2 " ERROR: Kernel configuration is invalid."; \ echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\ echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \ echo >&2 ; \ /bin/false) ERROR: Kernel configuration is invalid. include/generated/autoconf.h or include/config/auto.conf are missing. Run 'make oldconfig && make prepare' on kernel src to fix it. make[2]: *** [/usr/src/linux-headers-5.8.0-0.bpo.2-common/Makefile:718: include/config/auto.conf] Error 1 make[2]: Leaving directory '/usr/src/linux-headers-5.8.0-0.bpo.2-amd64' make[1]: *** [Makefile:185: __sub-make] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-5.8.0-0.bpo.2-common' NVIDIA: left KBUILD. nvidia.ko failed to build! make: *** [Makefile:197: nvidia.ko] Error 1 -> Error. ERROR: Unable to build the NVIDIA kernel module.
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!