|
|
# Troubleshooting
|
|
|
|
|
|
This page provides troubleshooting guides concerning build problems.
|
|
|
|
|
|
## make: command not found
|
|
|
|
|
|
If you see this error message, it means that you don't have the `build-essential` package installed. Please install it by typing
|
|
|
|
|
|
```bash
|
|
|
root@raspberry:~# apt install build-essential
|
|
|
```
|
|
|
|
|
|
## gcc: command not found
|
|
|
|
|
|
The same as above.
|
|
|
|
|
|
## make: /lib/modules/.../build: No such file or directory. Stop.
|
|
|
|
|
|
Please install your current linux headers by typing
|
|
|
|
|
|
```bash
|
|
|
root@raspberry:~# apt install linux-headers-$(uname -r)
|
|
|
```
|
|
|
|
|
|
If the error still occurs, you have to link the linux headers source tree to the build directory manually:
|
|
|
|
|
|
```bash
|
|
|
root@raspberry:~# ln -s /usr/src/linux-headers-$(uname -r) /lib/modules/$(uname -r)/build
|
|
|
``` |
|
|
\ No newline at end of file |