User avatar
kyrios
Posts: 1854
Joined: Thu Sep 22, 2016 4:20 pm

Re: 'make' command error

Sat Feb 03, 2018 6:53 pm

kyrios wrote:
Sat Feb 03, 2018 6:53 pm
kote wrote:
Sat Feb 03, 2018 1:53 pm
Hi, I have a similar error

Code: Select all

admin@solus ~/rtlwifi_new-master $ sudo make
Пароль: 
make -C /lib/modules/4.14.15-48.current/build M=/home/admin/rtlwifi_new-master modules
make[1]: *** /lib/modules/4.14.15-48.current/build: Нет такого файла или каталога.  Останов.
make: *** [Makefile:58: all] Ошибка 2
I tried
sudo eopkg it -c system.devel
sudo eopkg it kernel-headers
and

Code: Select all

sudo eopkg it linux-lts-headers


You have the "current" kernel (4.14.15-48.current/), so you have to install the "current" headers, not the "lts" ones.

Code: Select all

sudo eopkg it linux-current-headers

Return to “Tutorials”