Error 2 Make Linux
Contents |
Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME Get make error codes UbuntuKylin Ubuntu Code of Conduct Ubuntu Wiki Community Wiki Other
Make All Error 2
Support Launchpad Answers Ubuntu IRC Support AskUbuntu Official Documentation User Documentation Social Media Facebook Twitter Useful
Gcc Error 2
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
Linux Make Error 1
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 makefile error 2 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/Document
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 log more about Stack Overflow the company Business Learn more about hiring developers or posting error 1 make ads with us Unix & Linux Questions Tags Users Badges Unanswered Ask Question _ Unix & Linux Stack Exchange is a cmake error 2 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 works: Anybody can ask a question Anybody can answer https://ubuntuforums.org/showthread.php?t=2270202 The best answers are voted up and rise to the top make: *** [all] Error 2 up vote 2 down vote favorite I tried to install a decompiler on my macbook, but the terminal returned errors below. ouekihodos-MacBook-Pro:radare2 LewisWang$ gmake /Applications/Xcode.app/Contents/Developer/usr/bin/make -C libr/util ../config.mk:29: /Users/LewisWang/Desktop/Computer: No such file or directory ../config.mk:29: Programming/Hack/radare2/libr/../global.mk: No such file or directory ../config.mk:30: /Users/LewisWang/Desktop/Computer: No such file or directory ../config.mk:30: Programming/Hack/radare2/libr/../mk/.mk: No such file or http://unix.stackexchange.com/questions/154868/make-all-error-2 directory make[1]: *** No rule to make target `Programming/Hack/radare2/libr/../mk/.mk'. Stop. make: *** [all] Error 2 terminal macintosh share|improve this question edited Sep 10 '14 at 17:36 Anthon 47.4k1462125 asked Sep 10 '14 at 17:34 Yicheng Wang 11112 1 The output looks like word splitting has occurred. Try installing it in a path that contains no spaces/special chars. –user000001 Sep 10 '14 at 17:39 @user000001 you should post that as an answer. –derobert Sep 10 '14 at 17:59 @derobert It was more of a guess than a definite answer, but I added one since you asked for it. –user000001 Sep 10 '14 at 18:10 I've tried and it works well! –Yicheng Wang Sep 10 '14 at 22:32 but how to post this as an answer? –Yicheng Wang Sep 10 '14 at 22:33 add a comment| 1 Answer 1 active oldest votes up vote 2 down vote Looking at the error message the output looks suspicious: You have /Users/LewisWang/Desktop/Computer and the next error Programming/Hack/radare2/libr/../global.mk. It looks like the actual path is /Users/LewisWang/Desktop/Computer Programming/Hack/radare2/libr/../global.mk And that the make scripts fails to parse it correctly. A common reason for word splitting to happen is if somebody forgot to quote a shell variable, like writin
all kinds of errors and seems to do everything but compiling that annoying program already. What to do then? This tutorial describes how to get rid of many frequently occuring errors during a typical Linux compiling sequence. https://linuxacademy.com/blog/linux/troubleshooting-configure-make-and-make-install-tutorial/ Note: You should only compile software when you really need to do it. Compiling can be dangerous to your Linux installation. If you want to install some software, please look for a precompiled package (like a http://www.cyberciti.biz/tips/linux-install-rt2870-chipset-based-usb-wireless-adapter.html .rpm or a .deb) first. If you really need to compile, do it with care. Note: This tutorial assumes that you have some linux command line knowledge and that you know how to work with error 2 your distro's package manager. We can divide the errors in three categories: ./configure errors make errors make install errors It should be quite obvious how to recognize them: ./configure errors are outputted by the configure script, make errors by the make command and so on. I'll now list common errors, with solutions, in these three categories. ./configure errors The following list contains some common errors that ./configure can give, sorted error 2 make by frequency of appearance. The first one is the most occuring one. Things between ( and ) are optional, they do not always appear. A bold italic OR indicates that multiple errors have the same solution. Text between < and > describes the kind of string that should appear on that place. (configure:) (error:)
last updated October 19, 2010 in Ubuntu LinuxThis blog post listed Linux Compatible USB wireless adapters. It seems that many new Linux users frequently have problems learning how to install RT2870 driver under Linux. I also received email requesting installation instructions for the same device. This quick tutorial will explains how to install RT2870 based chipset device with WPA2 authentication and TKIP wireless encryption.
Our Sample SetupThe following instructions are tested on:Ubuntu Linux 10.04.1 LTSKernel - Linux 2.6.32-24-generic-pae i686 (32 bit)WPA2 with Linksys 160N routerRT2870 Chipset Based Devices Are Not Working Out Of BoxThe main problem is conflicting driver which are shipped with default kernel. WPA2 is a method of security wireless networking with optional PSK for home users. The default driver only recognizes driver but always failed to join WPA2 based network. The solution is to install RT2870 driver from the vendor site.Step #1: Disable Default DriversType the following command to black list default drivers: $ sudo vi /etc/modprobe.d/blacklist.conf Append the following driver names:blacklist rt2800usb blacklist rt2x00lib blacklist rt2x00usbSave and close the file. Use the rmmod command to remove current drivers or just reboot the system: $ sudo modprobe -r driverName# you need to remove all of the above drivers one by one:
$ sudo modprobe -r rt2800usb OR simply reboot the systems: $ sudo rebootStep 2: Install CompilersType the following command to install required packages so that you can compile source code: $ sudo apt-get install build-essential fakeroot dpkg-dev Finally, install Linux kernel headers so that you can compile kernel device drivers: $ sudo apt-get install linux-headers-$(uname -r)Step #3: Download DriverVisit this page and download USB drivers [RT2870USB(RT2870/RT2770)].Untar TarballType the following command: $ tar -jxvf 2010_0709_RT2870_Linux_STA_v2.4.0.1.tar.bz2
$ cd 2010_0709_RT2870_Linux_STA_v2.4.0.1Compile RT2870 Wireless Lan Linux DriverFirst, edit config.mk file as follows so that Network Manager can be used to set WPA2 auth info: $ vi os/linux/config.mk Set it as follows: # Support Wpa_Supplicant HAS_WPA_SUPPLICANT=y # Support Native WpaSupplicant for Network Manger HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y Save and close the file. To compile the driver, enter: