Page 1 of 1

make: *** [modules] Error 2

Posted: Wed Mar 29, 2017 11:21 am
by dredhat
Hi guys

I'm trying to install a wireless USB adapter to my raspberry pi 2 the models is a D-Link Wireless N nano DWA-131 ver: E1
I have searched for a Linux driver and found one on this page:
now the problem is in the command

Code: Select all

 sudo make 
it gives me an error:

Code: Select all

make ARCH=armv7l CROSS_COMPILE= -C /lib/modules/4.4.0-1030-raspi2/build M=/home/dredhat/rtl8192eu-linux-driver  modules
make[1]: *** /lib/modules/4.4.0-1030-raspi2/build: No such file or directory.  Stop.
Makefile:1335: recipe for target 'modules' failed
make: *** [modules] Error 2
I'm running ubuntu snappy on my raspberry pi 2

any solution and thanks.