Power & Source of Big Ideas

make: arm-linux-gcc: Command not found

Moderators: chensy, FATechsupport

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
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
I believe I have done everything in that section correctly.

When I do a printenv the correct toolchain path is displayed.
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
Yes, it is a 64bit machine running 14.04LTS
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.
Thanks for the suggestions. I missed this reply.
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>.

Who is online

In total there are 4 users online :: 0 registered, 0 hidden and 4 guests (based on users active over the past 5 minutes)
Most users ever online was 825 on Wed Aug 28, 2019 3:18 pm

Users browsing this forum: No registered users and 4 guests