joshuagrisham / samsung-galaxybook-extras

Samsung Galaxybook Linux platform driver and accompanying utilities.
116 stars 15 forks source link

/lib/modules/6.9.8-amd64/build: No such file or directory. #20

Open Blade04208 opened 3 months ago

Blade04208 commented 3 months ago

Running VanillaOS Orchid 2.0

[...]/drivers: make -C /lib/modules/`uname -r`/build M=$PWD
make: *** /lib/modules/6.9.8-amd64/build: No such file or directory.  Stop.
[...]/drivers: sudo make -C /lib/modules/`uname -r`/build M=$PWD modules_install
sudo depmod
make: *** /lib/modules/6.9.8-amd64/build: No such file or directory.  Stop.
sudo: depmod: command not found
joshuagrisham commented 3 months ago

Hi @Blade04208 sorry but I am not super familiar with your distrubtion. As mentioned in the readme, the example I gave on how to build and use this out-of-tree applies mostly to Ubuntu and/or likely most Debian-based distributions and assumes that you have installed some extra packages with headers at the given path. My guess is that there should exist some kind of documentation for your distribution on how to build out-of-tree kernel modules?

achapleau commented 3 months ago

@Blade04208 Try the following command to install the kernel headers package on your Debian based distribution: sudo apt-get install linux-headers-$(uname -r) kmod