... | @@ -25,3 +25,21 @@ If the error still occurs, you have to link the linux headers source tree to the |
... | @@ -25,3 +25,21 @@ If the error still occurs, you have to link the linux headers source tree to the |
|
```bash
|
|
```bash
|
|
root@raspberry:~# ln -s /usr/src/linux-headers-$(uname -r) /lib/modules/$(uname -r)/build
|
|
root@raspberry:~# ln -s /usr/src/linux-headers-$(uname -r) /lib/modules/$(uname -r)/build
|
|
```
|
|
```
|
|
|
|
|
|
|
|
## APT says `build-essential` could not be found
|
|
|
|
|
|
|
|
If your package manager couldn't fint this package, you most probably just need to update your repository index with
|
|
|
|
|
|
|
|
```bash
|
|
|
|
root@raspberry:~# apt update
|
|
|
|
```
|
|
|
|
|
|
|
|
If this doesn't fix the error, you have to install the required packages manually:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
root@raspberry:~# apt install make gcc libc6.1-dev g++ hurd-dev
|
|
|
|
```
|
|
|
|
|
|
|
|
## Permission denied
|
|
|
|
|
|
|
|
You have to be root to execute the commands. Please do so by typing `su` and then entering your root password. If you don't know what your root password is, you're most probably screwed and have to reinstall your system. |
|
|
|
\ No newline at end of file |