Gcc Version Error 127
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
Make Error 127 Ubuntu
About Us Learn more about Stack Overflow the company Business Learn more about what is make error 127 hiring developers or posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is
Makefile Error 127 Command Not Found
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 error 127 makefile answers are voted up and rise to the top How do you fix a gcc compile 127 error? sudo apt-get install g++ doesn't work up vote 2 down vote favorite 1 *emphasized text*when I try to run a program I get the following error. ubuntu@ubuntu-VirtualBox:~/Desktop$ make g++ -Wall -Wno-switch -I. -g -c -o pass.o pass.cpp make: g++: Command not found make: *** [pass.o] Error 127 I couldn't make error 127 command not found get gcc 4.8.2 installed because it said it couldn't find it. I did install 4.8 I did the following to install gcc sudo add-apt-repository ppa:ubuntu-toolchain-f/test sudo apt-get update sudo apt-get install gcc-4.8 next I did sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.6 60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.6 sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 40 --slave /usr/bin/g++ g++ /usr/bin/g++-4.8 sudo update-alternatives --config gcc the only thing I can think of is I don't have 4.8 when I type the command gcc -v it says gcc version 4.8.1 (Ubuntu 4.8.1-2ubuntu1~12.04) ok I run: ubuntu@ubuntu-VirtualBox:~$ sudo apt-get install g++ Reading package lists... Done Building dependency tree Reading state information... Done g++ is already the newest version. g++ set to manually installed. The following package was automatically installed and is no longer required: thunderbird-globalmenu Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 293 not upgraded. ubuntu@ubuntu-VirtualBox:~$ g++ -v The program 'g++' can be found in the following packages: * g++ * pentium-builder Try: sudo apt-get install
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
Make Error 127 Windows
Us Learn more about Stack Overflow the company Business Learn more about hiring developers make error 127 cygwin or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack
Make Error 127 Permission Denied
Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Linux “make” command Error 127 up vote http://askubuntu.com/questions/448691/how-do-you-fix-a-gcc-compile-127-error-sudo-apt-get-install-g-doesnt-work 3 down vote favorite 3 I'm new to Linux and trying to install mktorrent (latest version) and the README file states to simply run the 'make' command while in the directory. However, after trying 3 different terminals/emulators I would receive the same error as shown quoted below. I've tried install "automake" from repositories as suggested through other answers found on here/Google with no luck. Here are http://stackoverflow.com/questions/30951279/linux-make-command-error-127 the directory contents: http://i.imgur.com/uMDlO7O.png cc -O2 -Wall prefix.c -o prefix make: cc: Command not found make: *** [prefix] Error 127 linux ubuntu terminal makefile share|improve this question asked Jun 20 '15 at 7:04 MerKury 18113 Looks like the command cc does not exist on your system. That would be the c compiler. –arkascha Jun 20 '15 at 7:07 If you have gcc but not cc, check if it will compile successfully with gcc. You can modify Makefile to change cc to gcc. –alvits Jun 20 '15 at 7:33 add a comment| 1 Answer 1 active oldest votes up vote 5 down vote accepted sudo apt-get install build-essential should install the requirements for compiling C/C++ based applications share|improve this answer answered Jun 20 '15 at 7:31 Uku Loskit 22.5k25266 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service. Not the answer you're looking for? Browse other questions
Search Tutorials/Articles Search HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie make: CC: Command not http://www.linuxquestions.org/questions/linux-newbie-8/make-cc-command-not-found-make-***-%5Bmain-o%5D-error-127-on-opensuse-11-3-a-860641/ found make: *** [main.o] Error 127 on opensuse 11.3 User Name Remember http://www.friendlyarm.net/forum/topic/4078 Me? Password Linux - Newbie This Linux forum is for members that are new to Linux. Just starting out and have a question? If it is not in the man pages or the how-to's this is the place! Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. You error 127 are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today! Note that registered members see fewer ads, and ContentLink is completely disabled once you log make error 127 in. Are you new to LinuxQuestions.org? Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here. Having a problem logging in? Please visit this page to clear all LQ-related cookies. Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. Click Here to receive this Complete Gu
Im following this instruction http://www.sasabremec.com/wordpress/arm11-my-friendlyarm/friendlyarm-whe... so, im now make kernel but it makes an error # make zImage The log is: ~/tiny6410/Android/linux-2.6.36-android$ make zImage make: arm-linux-gcc: Command not found CHK include/linux/version.h CHK include/generated/utsrelease.h make[1]: `include/generated/mach-types.h' is up to date. CC kernel/bounds.s /bin/sh: arm-linux-gcc: command not found make[1]: *** [kernel/bounds.s] Error 127 make: *** [prepare0] Error 2 any ideas why i having this error? I tried lots of ways to add arm-linux-gcc but they still recognize this. im using ubuntu 11.10 and tiny6410 board. all resources are copied from the CD davef 2012-04-16 21:05:13 Did this work for you: Check the tool-chain path to see if it is set up correctly or not, whether it show gcc version 4.5.1 # arm-linux-gcc –v help me 2012-04-17 00:12:39 yep, I alreaady did that. And it does not work... I know it must show version but it does not recognize this. I also typed arm- and tab twice, and it does not show arm-linux-gcc. So, they dont recognize stuffs in bin file. davef 2012-04-17 00:39:18 At the command line try: export PATH=/path/to/your/cross-compiler/bin:$PATH and then followed immediately by: # arm-linux-gcc –v Actually, when you try to manually find the path to your cross-compiler you will find it is not installed or your bashrc thing didn't work. Ashish Vishwakarma 2012-08-08 08:35:02 Thanks to davef, according to your suggestion able to compile kernel.. thanks... Sandeep 2012-09-12 11:21:49 sandeep_r@ubuntu:~/linux-2.6.38$ make make: arm-linux-gcc: Command not found CHK include/linux/version.h CHK include/generated/utsrelease.h make[1]: `include/generated/mach-types.h' is up to date. CC kernel/bounds.s /bin/sh: arm-linux-gcc: not found make[1]: *** [kernel/bounds.s] Error 127 make: *** [prepare0] Error 2 I am getting the above error when i try to compile kernel for arm-linux Tiny6410 in ubuntu. I did set the path asbelow sandeep_r@ubuntu:~/linux-2.6.38$ echo $PATH /opt/FriendlyARM/toolschain/4.5.1/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/ usr/bin:/sbin:/bin:/usr/games: checking the version- give below error(no such file or directory) sandeep_r@ubuntu:~/linux-2.6.38$ arm-linux-gcc -v -bash: /usr/bin/arm-linux-gcc: No such file or dir