I can not compile drivers

0

For some time now I have Linux (Parrot OS based on Debian), and every time I want to compile (mostly drivers) the terminal reports this error:

  

/usr/src/linux-headers-4.16.0-parrot5-common/scripts/Makefile.build:329:   failure in the instructions for the objective   '/root/src/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_profile.o'   make [4]: *   [/root/src/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_profile.o]   Error 1 /usr/src/linux-headers-4.16.0-parrot5-common/Makefile:1575:   failure in the instructions for the objective   ' module / root / src / mt7610u_wifi_sta_v3002_dpo_20130916 / os / linux'   make [3]:   [_module_ / root / src / mt7610u_wifi_sta_v3002_dpo_20130916 / os / linux] Error   2 Makefile: 146: failure in the instructions for the 'sub-make' target   make [2]: [sub-make] Error 2 Makefile: 8: instruction failure   for the target 'all' make [1]: * [all] Error 2 make [1]: it leaves the   directory '/usr/src/linux-headers-4.16.0-parrot5-amd64' Makefile: 403:   failure in the instructions for the 'LINUX' target make: *** [LINUX]   Error 2

I have installed and reinstalled the headers a thousand times with apt-get install gcc, and it only tells me that they are already installed. But the error seems to be from headers.

How could I solve it? Thank you Greetings

    
asked by Victor Casado 28.05.2018 в 16:54
source

0 answers