Error building Firmware

2 replies [Last post]
theonlyrealcj
Offline
Joined: 10 Oct 2010

Hi,

I'm interested in developing the firmware for the livebox.

I've followed the instructions for building the firmware however I get the following error:

 

make[3]: Leaving directory `/opt/livebox-hah-read-only/kernel_2_4_17/linux/arch/mips/lib'

make[2]: Leaving directory `/opt/livebox-hah-read-only/kernel_2_4_17/linux'

make[1]: Leaving directory `/opt/livebox-hah-read-only/kernel_2_4_17/linux'

make[1]: Entering directory `/opt/livebox-hah-read-only/kernel_2_4_17/linux'

scripts/split-include include/linux/autoconf.h include/config

mips-uclibc-gcc -I /opt/livebox-hah-read-only/kernel_2_4_17/linux/include/asm/gcc -DANNEX_A -D__KERNEL__ -I/opt/livebox-hah-read-only/kernel_2_4_17/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -G 0 -mno-abicalls -fno-pic -mcpu=r4600 -mips2 -Wa,--trap -pipe   -c -o init/main.o init/main.c

make[1]: mips-uclibc-gcc: Command not found

make[1]: *** [init/main.o] Error 127

make[1]: Leaving directory `/opt/livebox-hah-read-only/kernel_2_4_17/linux'

make: *** [kernelbuild] Error 2

I'm using Ubuntu 10.10, any idea what I need to do to get it working?
Chris

 

brett
Offline
Providence, United States
Joined: 9 Jan 2010
I write this stuff up

The answer is on this page: http://www.dbzoo.com/livebox/hah_software

1. Install the MIPS cross compile tools.

2. Place PATH=$PATH:/opt/toolchains/bin into your .bashrc AND unless you've logged out and log back in again you'll need to do this once for your current session.

You either not done step 1 or 2.

brett
Offline
Providence, United States
Joined: 9 Jan 2010
LUA engine

BTW: When the next version of the LUA engine is released there should be less need to write C code to build new things.  This work has been on hold whilst I've been getting the iServer working. 

The new scripting engine is currently in an ALPHA state and I'm planning on a release after XMAS.  I say that as I've got some of the LUA coding books on my xmas wish list and I want to have a read to make sure I'm doing things correctly before pushing it out there.

Hardware Info