SparkFun Forums 

Where electronics enthusiasts find answers.

Everything ARM and LPC
By robcikss
#150437
Hello!

I have trouble buildin uClinux kernel that came on CD.

So step by step to where I'm stuck.

First. I issued make
got following errors:
/bin/sh: arm-linux-gcc: not found
make[2]: *** [arch/arm/kernel/asm-offsets.s] Error 127
make[1]: *** [prepare0] Error 2
make[1]: Leaving directory `/home/gundars/Desktop/uClinux/uClinux-dist-lpc_2478_stk/linux-2.6.24.2-lpc2478-patched'
make: *** [linux] Error 1
To resolve this I found that I have to add my cross compiler to PATH;
Further more when isuing make I have to add 'ARCH=arm CROSS_COMPILE=/cross/gcc/location/' after make

But now I get folloving error after issuing make:
gcc: installation problem, cannot exec `cc1': No such file or directory
make[2]: *** [arch/arm/kernel/asm-offsets.s] Error 1
I'm lost. Can someone help me please?

Thank You!