OpenWrt Forum Archive

Topic: mipsel-openwrt-linux-uclibc-gcc : Command not found error

The content of this topic has been archived on 22 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello,


I'm having a problem when compiling openwrt backfire. I have no idea what is the problem. I'm trying to create an image for backfire (target : adm5120). After I configure the kernel and save changes I get this error.Here is the output :

/bin/sh: mipsel-openwrt-linux-uclibc-gcc: not found
/bin/sh: mipsel-openwrt-linux-uclibc-gcc: not found
make[4]: mipsel-openwrt-linux-uclibc-gcc: Command not found
make[4]: mipsel-openwrt-linux-uclibc-gcc: Command not found
/bin/sh: mipsel-openwrt-linux-uclibc-gcc: not found
/bin/sh: mipsel-openwrt-linux-uclibc-gcc: not found
scripts/kconfig/conf -s arch/mips/Kconfig
/bin/sh: mipsel-openwrt-linux-uclibc-gcc: not found
/bin/sh: mipsel-openwrt-linux-uclibc-gcc: not found
/bin/sh: mipsel-openwrt-linux-uclibc-gcc: not found
make[4]: mipsel-openwrt-linux-uclibc-gcc: Command not found
make[4]: mipsel-openwrt-linux-uclibc-gcc: Command not found
make[4]: mipsel-openwrt-linux-uclibc-gcc: Command not found
  CHK     include/linux/version.h
  UPD     include/linux/version.h
make[4]: mipsel-openwrt-linux-uclibc-gcc: Command not found
  CHK     include/linux/utsrelease.h
  UPD     include/linux/utsrelease.h
make[4]: mipsel-openwrt-linux-uclibc-gcc: Command not found
  SYMLINK include/asm -> include/asm-mips
make[4]: mipsel-openwrt-linux-uclibc-gcc: Command not found
make[4]: mipsel-openwrt-linux-uclibc-gcc: Command not found
make[4]: mipsel-openwrt-linux-uclibc-gcc: Command not found
  CC      kernel/bounds.s
/bin/sh: mipsel-openwrt-linux-uclibc-gcc: not found
make[5]: *** [kernel/bounds.s] Error 127
make[4]: *** [prepare0] Error 2
make[3]: *** [prepare] Error 2
make[3]: Leaving directory `/home/mateusz/tests/backfire/build_dir/linux-adm5120_router_le/linux-2.6.32.10'
make[2]: [menuconfig] Error 2 (ignored)
rm -rf /home/mateusz/tests/backfire/build_dir/linux-adm5120_router_le/modules
make[2]: Leaving directory `/home/mateusz/tests/backfire/target/linux/adm5120'
make[1]: Leaving directory `/home/mateusz/tests/backfire/target/linux'

Any idea what could be wrong ?? I've done the feeds update etc etc Looks like some compiler is missing. Can I do anything about it ? Any ideas ??

Thank You in advance

You ran the kernel stuff before the toolchain was even built. Its normal that you see those errors then. Do toolchain/compile first, then proceed with modifying the kernel config.

Thank You for the reply. Is there a specific command that I can issue to build the toolchain ? Or its just make toolchain/compile ?

(Last edited by IdealVithVodka on 2 Aug 2010, 15:48)

Didn't compile - I've tried again today and no luck - while yesterday using make world worked out fine. Any clues ?

(Last edited by IdealVithVodka on 3 Aug 2010, 12:59)

IdealVithVodka wrote:

Any clues ?

Not without any details.

I got it sorted now. Created a virtual machine with Ubuntu 8.10 on it and everything works fine. Seems like there are some issues with my 10.04

I know this is an old topic, but I have ran into the similar problem,
so here is my solution to the posterity:

make toolchain/clean
make toolchain/install
make V=99
martonmiklos wrote:

I know this is an old topic, but I have ran into the similar problem,
so here is my solution to the posterity:

make toolchain/clean
make toolchain/install
make V=99

Thank you so much! You just saved me from an all-nighter. Works like a charm...

Köszönöm szépen smile

The discussion might have continued from here.