Page 1 of 1

make: arm-linux-gcc: Command not found

Posted: Wed Mar 02, 2016 5:51 am
by davef
From the Compile U-Boot section:

Code: Select all

make CROSS_COMPILE=arm-linux-

gives me the error:

Code: Select all

make: arm-linux-gcc: Command not found



From the Compile Debian Kernel section:

Code: Select all

make uImage

gives me the error:

Code: Select all

rm: cannot remove ‘include/config/kernel.release’: Permission denied
make: *** [include/config/kernel.release] Error 1


Code: Select all

sudo make uImage

gives me the error:

Code: Select all

make: arm-linux-gcc: Command not found


Yet from both of the respective directories running:

Code: Select all

arm-linux-gcc -v


gives me the correct result.


I am running this on a 64bit machine with Ubuntu 14.04LS and installed build-essential and automake.

Any suggestions?

Thanks,
davef

Re: make: arm-linux-gcc: Command not found

Posted: Thu Mar 10, 2016 6:02 am
by FATechsupport
Hi it is probably because you didn't install the cross compiler correctly :
Please check this link:
http://wiki.friendlyarm.com/wiki/index. ... s_Compiler

Re: make: arm-linux-gcc: Command not found

Posted: Thu Mar 10, 2016 6:18 am
by davef
I believe I have done everything in that section correctly.

When I do a printenv the correct toolchain path is displayed.

Re: make: arm-linux-gcc: Command not found

Posted: Wed Mar 16, 2016 8:16 am
by FATechsupport
Hi Dave could you check whether or not your PC host's OS is ubuntu 14.04 64 bit? Our toolchain only works under a 64bit OS

Re: make: arm-linux-gcc: Command not found

Posted: Wed Mar 16, 2016 11:00 am
by davef
Yes, it is a 64bit machine running 14.04LTS

Re: make: arm-linux-gcc: Command not found

Posted: Fri Mar 25, 2016 8:53 am
by FATechsupport
Hi Dave, we tried your way and failed too.
We did "sudo arm-linux-gcc -v" and got "sudo: arm-linux-gcc: command not found"

We haven't found out the root cause. What we usually do is to login the system and open a gnome-termnial and swtich to root and then begin to do all the stuff.

Or you can try

sudo bash -c "PATH=/opt/FriendlyARM/toolchain/4.9.3/bin:$PATH; arm-linux-gcc -v"

Or just compile the uboot without using "su" this should work too.

Re: make: arm-linux-gcc: Command not found

Posted: Fri Apr 08, 2016 8:03 am
by davef
Thanks for the suggestions. I missed this reply.

Re: make: arm-linux-gcc: Command not found

Posted: Thu Apr 21, 2016 4:35 am
by davef
Found that by installing most of the tools mentioned in this post on the old forum http://www.friendlyarm.net/forum/topic/6519 that things started to work properly.

I am just guessing that it was <fakechroot>.