make[1]: arm-linux-gcc: Command not found in ubuntu
30,376
Do you have ARM toolchain installed? If there is no such package in Ubuntu you can download it from the internet and add it to your $PATH.
Take a look at what is arm-linux-gcc and how to install this in ubuntu
EDIT: It might be, that your makefile is looking for different filenames, than you have.
Try locating arm-linux-gnueabi-gcc
file. Go to that directory and you may create links for each file with arm-linux-gnueabi-
prefix.
Try after sudo su
:
ln -s arm-linux-gnueabi-gcc arm-linux-gcc
ln -s arm-linux-gnueabi-cc arm-linux-cc
etc.
Might help, but I do not guarantee. Usually works ;-)
Author by
Admin
Updated on November 26, 2020Comments
-
Admin over 3 years
Possible Duplicate:
what is arm-linux-gcc and how to install this in ubuntuWhile I'm trying this command
$ make ARCH=arm devkit8000 defconfig
I get this error:
make[1]: arm-linux-gcc: Command not found make[1]: arm-linux-gcc: Command not found scripts/kconfig/conf -s arch/arm/Kconfig *** *** You have not yet configured your kernel! *** (missing kernel .config file) *** *** Please run some configurator (e.g. "make oldconfig" or *** "make menuconfig" or "make xconfig"). *** make[3]: *** [silentoldconfig] Error 1 make[2]: *** [silentoldconfig] Error 2 make[1]: *** No rule to make target `devkit8000'. Stop. make: *** [devkit8000] Error 2
How can i solve this error?
-
Admin over 11 yearsthanks for ur reply , the error still happen although installing this $sudo apt-get install gcc-arm-linux-gnueabi ???
-
Piotr Zierhoffer over 11 years@MohamedNada try with my edit
-
Yang Yu almost 5 years
make CROSS_COMPILE=arm-linux-gnueabi
instead ofmake CROSS_COMPILE=arm-linux-