Rohit Walavalkar
Rohit Walavalkar

Reputation: 818

Getting arm-buildroot-linux-uclibcgnueabihf-gcc: Command not found

I am trying to build Linux for my Raspberry Pi 3.

When I do make, I get the below error.

make[2]: /home/rohit/workplace/rp/buildroot/output/host/usr/bin/arm-buildroot-linux-uclibcgnueabihf-gcc: Command not found

A little background will help. I am following this link . To summarize this is what I ran.

make raspberrypi3_defconfig
make linux-menuconfig
make

From the error I get that the cross gcc is not available at the path as it should be. But I am not sure what I am missing.

The complete log of the make is pasted here. The output/host/usr/bin folder also doesn't contain arm-buildroot-linux-uclibcgnueabihf-gcc, though it does contain arm-buildroot-linux-uclibcgnueabi-gcc. I have pasted the contents of the folder here.

Please help.

Upvotes: 0

Views: 7061

Answers (1)

Rui Sebastião
Rui Sebastião

Reputation: 883

i was having this problem and after a make clean the problem was solved. I think the error was because different toolchains used in different builds. The manual says that is one of the cases that you have to do a make clean

Upvotes: 4

Related Questions