Make Modules Error 2 Ubuntu
Contents |
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 and policies of this site About Us Learn make error 2 linux more about Stack Overflow the company Business Learn more about hiring developers or posting make error codes ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer site for make command error 2 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
Make * * * Drivers Error 2
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 linux make error *.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 @bodhi.zazen It worked! Put up the answer if you want to. –kelvinilla May 2 '13 at 13:51 | show 5 more comments 1 Answer 1 active oldest votes up vote 1 down vote accepted You probably need to install the headers sudo apt-get install linux-headers-$(uname -r) share|improve this answer answered May
Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME Get make error 8 UbuntuKylin Ubuntu Code of Conduct Ubuntu Wiki Community Wiki Other
Makefile Error 2
Support Launchpad Answers Ubuntu IRC Support AskUbuntu Official Documentation User Documentation Social Media Facebook Twitter Useful
Make Error 126
Links Distrowatch Bugs: Ubuntu PPAs: Ubuntu Web Upd8: Ubuntu OMG! Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum http://askubuntu.com/questions/289165/error-when-installing-rtl8188cus-wireless-driver-from-sh-lib-modules-3-5-0-27 The Ubuntu Forum Community Ubuntu Official Flavours Support Networking & Wireless [SOLVED] make: *** [LINUX] Error 2 when installing wifi driver for TP-WN727N (RT2870 chip) Having an Issue With Posting ? Do you want to help us debug the posting issues ? < is the place to report it, thanks ! Page https://ubuntuforums.org/showthread.php?t=2270202 1 of 2 12 Last Jump to page: Results 1 to 10 of 11 Thread: make: *** [LINUX] Error 2 when installing wifi driver for TP-WN727N (RT2870 chip) Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode March 21st, 2015 #1 Nguyen_Thanh_Hieu View Profile View Forum Posts Private Message First Cup of Ubuntu Join Date Mar 2015 Beans 4 make: *** [LINUX] Error 2 when installing wifi driver for TP-WN727N (RT2870 chip) Hey guys I've started using Ubuntu for a week and still can't install the wifi driver for the TP-LINK TL-WN727N USB adapter (RT2870 chip from Ralink). It's pretty annoying cuz it happens everytime I install anything from the terminal. Here's the codes and my system specs : Code: hieutotet@Alpine:~/Documents/2009_0820_RT2870_STA_WebUI_v2.2.0.0/RT2870$ sudo make[sudo] password for hieutotet: make -C tools make[1]: Entering directory `/home/hieutotet/Documents/2009_0820_RT2870_STA_WebUI_v2.2.0.0/RT2870/tools' gcc -g bin2h.c -o bin2h make[1]: Leaving directory `/home/hieutotet/Documents/2009_0820_RT2870_STA_WebUI_v2.2.0.0/RT2870/tools' /home/hieutotet/Documents/2009_0820_RT2870_ST
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 http://unix.stackexchange.com/questions/197086/make-does-not-compile-modules-error-building-modules-stage-2-modpost-0-modul site About Us Learn more about Stack Overflow the company Business Learn more http://stackoverflow.com/questions/33398815/ubuntu-15-10-kernel-4-2-hello-world-kernel-module-makefile-error 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 minute: Sign up Here's how it error 2 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 compile a module so I downloaded kernel from kernel.org and make modules error 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 of dpkg -l linux* user1@bananapi:~/linux-3.19.3$ dpkg -l linux\* Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-==============-============-============-=====================
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 Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Ubuntu 15.10 (Kernel 4.2): Hello world kernel module makefile error up vote 4 down vote favorite I have been trying for hours to create my first Hello World Kernel module, alas unsuccessfully. My simple C code (hello.c) and makefile are located in /Downloads on my system, if that should be of any importance. hello.c #include