Makefile Error 127 Command Not Found
Contents |
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 make error 127 linux Overflow the company Business Learn more about hiring developers or posting ads with us
Make Error 127 Ubuntu
Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a
Make Error 127 Command Not Found
community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Makefile Error : Command Not Found- while creating a shared library up vote 0 down
Error 127 Makefile
vote favorite 1 I have 4 .c files hello.c,here.c,bye.c and main.c. One header file mylib.h The contents are as follows hello.c #include
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 make error 127 cygwin Learn more about Stack Overflow the company Business Learn more about hiring developers or make cc command not found centos posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer main command not found c 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 http://stackoverflow.com/questions/3947622/makefile-error-command-not-found-while-creating-a-shared-library rise to the top /bin/bash: g++: command not found error 127 up vote 2 down vote favorite I was trying to install a software quicknet from a tar.gz file. After using ./configure when i tried using make it showed the following erroe g++ -I. -I. -c QN_args.cc /bin/bash: g++: command not found make: *** [QN_args.o] Error 127 i have already installed gcc compiler i am new to Ubuntu and Linux http://askubuntu.com/questions/583171/bin-bash-g-command-not-found-error-127 any help will be appreciated thanks in advance command-line bash compiling gcc share|improve this question edited Feb 8 '15 at 18:19 muru 69.1k12125176 asked Feb 8 '15 at 18:08 Jasmeen Patel 16112 add a comment| 1 Answer 1 active oldest votes up vote 5 down vote You need the g++ compiler, not the gcc, so install the g++ package, and maybe build-essential for any needed headers: sudo apt-get install g++ and if necessary (probably not for this package): sudo apt-get install build-essential You should read the README file(s), then the INSTALL file and follow the instructions. They usually boil down to run configure: ./configure then run make: make and if you want to install the programs in a system area, run: sudo make install The configure step should search out the necessary parts (g++) and complain and stop if necesary parts are not found. It builds the Makefile from the information about your system. I had no issues with the downloaded package, but then again, I do have the build-essential package installed for what I do. g++ gets installed into /usr/bin, which should be a normal part of your PATH. share|improve this answer edited Feb 10 '15 at 17:56 answered Feb 8 '15 at 18:10 u
HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie make: CC: Command not found make: 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/ *** [main.o] Error 127 on opensuse 11.3 User Name Remember Me? http://www.friendlyarm.net/forum/topic/4078 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 error 127 Community. You 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 make error 127 completely disabled once you log 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 encou
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:/