Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.misc > #13992
| From | William Unruh <unruh@invalid.ca> |
|---|---|
| Newsgroups | comp.os.linux.misc |
| Subject | Re: Why does the make have error? |
| Date | 2015-03-09 16:40 +0000 |
| Organization | A noiseless patient Spider |
| Message-ID | <mdkidg$pls$1@dont-email.me> (permalink) |
| References | <78b1cc7c-8084-41dc-8c8a-344946b4e5e5@googlegroups.com> |
On 2015-03-09, fl <rxjwg98@gmail.com> wrote: > Hi, > > There is an on-line video tutorial of Sitara SDK 6, which talked about uboot > build with CCS 5. Now I install Sitara SDK 8 on a Ubuntu PC. I try to build > uboot after selecting the appropriate the new toolchain in the path in Make > Target, CCS 6. It has error: > > 22:02:15 **** Build of configuration Default for project u-boot-2014.07 > -g7e537bf **** > make ARCH=arm CROSS_COMPILE=arm-arago-linux-gnueabi- am335x_evm_config > /bin/sh: 1: uname: not found > /bin/sh: 1: sed: not found > /bin/sh: 1: sed: not found > /bin/sh: 1: uname: not found Well, do you have uname and sed installed on your system? You seem to be compiling this as user. Try adding to your path export PATH=$PATH:/bin before running make. > /home/ruwan2/ti-sdk-am335x-evm-08.00.00.00/board-support/u-boot-2014.07- > g7e537bf/mkconfig: 1: /home/ruwan2/ti-sdk-am335x-evm-08.00.00.00/board > -support/u-boot-2014.07-g7e537bf/mkconfig: sed: not found > make: *** [am335x_evm_config] Error 127 > > In the Makefile, I suspect the following lines generates the error: > > HOSTARCH := $(shell uname -m | \ > sed -e s/i.86/x86/ \ > -e s/sun4u/sparc64/ \ > -e s/arm.*/arm/ \ > -e s/sa110/arm/ \ > -e s/ppc64/powerpc/ \ > -e s/ppc/powerpc/ \ > -e s/macppc/powerpc/\ > -e s/sh.*/sh/) > > HOSTOS := $(shell uname -s | tr '[:upper:]' '[:lower:]' | \ > sed -e 's/\(cygwin\).*/cygwin/') > > > Especially the last two lines, have all the command names in the error. > Description Resource Path Location Type > make: *** [am335x_evm_config] Error 127 u-boot-2014.07-g7e537bf C/C++ > Problem > > I am still new to Linux. I have check /bin folder. Both sed and uname are > there. But the following error message has the extra /sh after /bin. > > 'sh' means shell here? How to make the original command, which is in the > Makefile, to know these commands are in /bin? It looks like something './' > in the command line can do, but I don't know how to deal with it for the > Makefile. > > > Thanks,
Back to comp.os.linux.misc | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Why does the make have error? fl <rxjwg98@gmail.com> - 2015-03-09 08:31 -0700
Re: Why does the make have error? Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2015-03-09 17:57 +0200
Re: Why does the make have error? William Unruh <unruh@invalid.ca> - 2015-03-09 16:40 +0000
Re: Why does the make have error? Richard Kettlewell <rjk@greenend.org.uk> - 2015-03-09 17:14 +0000
Re: Why does the make have error? Aragorn <thorongil@telenet.be.invalid> - 2015-03-09 18:28 +0100
Re: Why does the make have error? Richard Kettlewell <rjk@greenend.org.uk> - 2015-03-09 19:21 +0000
Re: Why does the make have error? fl <rxjwg98@gmail.com> - 2015-03-09 19:23 -0700
Re: Why does the make have error? Robert Riches <spamtrap42@jacob21819.net> - 2015-03-10 03:46 +0000
Re: Why does the make have error? William Unruh <unruh@invalid.ca> - 2015-03-10 04:15 +0000
Re: Why does the make have error? Richard Kettlewell <rjk@greenend.org.uk> - 2015-03-10 08:48 +0000
Re: Why does the make have error? Unknown <dog@gmail.com> - 2015-03-16 18:13 +0000
csiph-web