Make Modules Error 2
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings compile make driver error: 2 please check error mesg and policies of this site About Us Learn more about Stack Overflow make error 2 the company Business Learn more about hiring developers or posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Error when installing RTL8188CUS wireless driver from sh: “/lib/modules/3.5.0-27-generic/build: No such file or directory” up vote 0 down vote favorite I'm using 12.10, updated to this day. The Realtek USB Wi-fi dongle doesn't work. I've seen lots of discussions in forums that suggests downloading the official driver. However, when I run "sudo bash install.sh", it gives me this error: ... cd os_dep ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko Authentication requested [root] for make driver: make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/3.5.0-27-generic/build M=/home/kelvin/Downloads/RTL8188C_8192C_USB_linux_v3.4.4_4749.20121105/driver/rtl8188C_8192C_usb_linux_v3.4.4_4749.20121105 modules make: *** /lib/modules/3.5.0-27-generic/build: No such file or directory. Stop. make: *** [modules] Error 2 ################################################## Compile make driver error: 2 Please check error Mesg ################################################## I'm unable to decipher what the error means. Help, please. Thanks. 12.10 wireless drivers bash realtek share|improve this question asked May 1 '13 at 17:19 kelvinilla 348312 Is this your actual kernel 3.5.0-27-generic? –thefourtheye May 1 '13 at 17:42 1 You probably need to install the headers sudo apt-get install linux-headers-$(uname -r) –bodhi.zazen May 1 '13 at 18:57 @thefourtheye Yes, it is. –kelvinilla May 2 '13 at 9:37 1 @thefourtheye Yes, it did. I've installed linux-headers-generic (since this will get the latest and so I won't have to look through the list) from the Software Center. It's now compiled, and I'm posting using the wireless. –kelvinilla May 2 '13 at 13:50 1 @
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Unix & Linux Questions Tags Users Badges Unanswered Ask Question _ Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a http://askubuntu.com/questions/289165/error-when-installing-rtl8188cus-wireless-driver-from-sh-lib-modules-3-5-0-27 minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Make does not compile modules. Error: Building modules, stage 2. MODPOST 0 modules up vote 2 down vote favorite 1 I have banana pi and installed debian with kernel 3.19.3-bananapi from http://www.igorpecovnik.com/2014/09/07/banana-pi-debian-sd-image/ So I want to http://unix.stackexchange.com/questions/197086/make-does-not-compile-modules-error-building-modules-stage-2-modpost-0-modul compile a module so I downloaded kernel from kernel.org and when I try to compile any module, like for example I am in the root of kernel tree and execute sudo make M=drivers/android modules I get error: Building modules, stage 2. MODPOST 0 modules Here is the output with the deubuging V=1 user1@bananapi:~/linux-3.19.3$ sudo make M=drivers/android modules V=1 test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \ echo >&2; \ echo >&2 " ERROR: Kernel configuration is invalid."; \ echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\ echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \ echo >&2 ; \ /bin/false) mkdir -p drivers/android/.tmp_versions ; rm -f drivers/android/.tmp_versions/* make -f ./scripts/Makefile.build obj=drivers/android (cat /dev/null; ) > drivers/android/modules.order make -f ./scripts/Makefile.modpost find drivers/android/.tmp_versions -name '*.mod' | xargs -r grep -h '\.ko$' | sort -u | sed 's/\.ko$/.o/' | scripts/mod/modpost -i ./Module.symvers -I drivers/android/Module.symvers -o drivers/android/Module.symvers -S -w -s -T - I have tried to change the GREP_OPTIONS='--color=always' to never and auto and got the same error. the output of uname -r is 3.19.3-bananapi My headers are installed. The output o
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss http://unix.stackexchange.com/questions/161824/compiling-installing-driver-for-wifi-dongle-missing-kernel-modules the workings and policies of this site About Us Learn more about http://superuser.com/questions/814876/kernel-source-error-on-dahdi-installation-in-centos Stack Overflow the company Business Learn more about hiring developers or posting ads with us Unix & Linux Questions Tags Users Badges Unanswered Ask Question _ Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join error 2 them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Compiling/installing driver for Wifi dongle missing kernel modules? up vote 2 down vote favorite Goal Install the Netis wf2190 wifi dongle onto a NUC with Debian. Environment NUC DC3217IYE Netis make modules error WF2190 Debian Linux 3.16-0.bpo.2-amd64 #1 SMP Debian 3.16.3-2~bpo70+1 (2014-09-21) x86_64 GNU/Linux Installed build-essential I got the driver from the website, and all I am supposed to do is run a script install.sh which throws me this error when trying to compile. I do have the /lib/modules/3.16-0.bpo.2-amd64/ directory, but no build folder. I have tried adding this folder, but the script is apparently looking for some source files and I don't know what they are and where to get them. Any tip? Error Authentication requested [root] for make driver: make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/3.16-0.bpo.2-amd64/build M=/root/netis-wf2190/driver/rtl8812AU_linux_v4.3.8_12175.20140902 modules make: *** /lib/modules/3.16-0.bpo.2-amd64/build: No such file or directory. Stop. make: *** [modules] Error 2 ################################################## Compile make driver error: 2 Please check error Mesg ################################################## ... after creating the missing build folder it is looking for rules (??) Authentication requested [root] for make driver: make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/3.16-0.bpo.2-amd64/build M=/root/netis-wf2190/driver/rtl8812AU_linux_v4.3.8_12175.20140902 modules make[1]: Entering directory `/lib/modules/3.16-0.bpo.2-amd64/build' make[1]: *** No rule to make target `modules'. Stop. make[1]: Leaving directory `/lib/modules/3.16-0.bpo.2-amd64/build' make: *** [modules] Error 2 ################################################## Compile make driver error: 2 Please check error Mesg ###################
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Super User Questions Tags Users Badges Unanswered Ask Question _ Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top kernel source error on dahdi installation in centos up vote 0 down vote favorite Trying to install dahdi from the link. I have downloaded package for dahdi. But on doing cd /usr/src/dahdi-linux-complete* make && make install && make config My terminal shows [root@localhost dahdi-linux-complete-2.10.0+2.10.0]# make make -C linux all make[1]: Entering directory `/usr/src/dahdi-linux-complete-2.10.0+2.10.0/linux' make -C drivers/dahdi/firmware firmware-loaders make[2]: Entering directory `/usr/src/dahdi-linux-complete-2.10.0+2.10.0/linux/drivers/dahdi/firmware' make[2]: Leaving directory `/usr/src/dahdi-linux-complete-2.10.0+2.10.0/linux/drivers/dahdi/firmware' You do not appear to have the sources for the 2.6.32-431.29.2.el6.x86_64 kernel installed. make[1]: *** [modules] Error 1 make[1]: Leaving directory `/usr/src/dahdi-linux-complete-2.10.0+2.10.0/linux' make: *** [all] Error 2 output of uname -r [root@localhost dahdi-linux-complete-2.10.0+2.10.0]# uname -r 2.6.32-431.29.2.el6.x86_64 I have the kernel source then why its showing the message You do not appear to have the sources for the 2.6.32-431.29.2.el6.x86_64 kernel installed. I know this question is asked many times.I have tried those but dint resolve this problem. I have tryed updating my system but it says nothing to update. Any Suggestions apart from reinstalling my OS??? centos kernel asterisk configure share|improve this question edited Sep 22 '14 at 7:07 asked Sep 22 '14 at 6:57 deogratias 1028 add