LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Embedded & Single-board computer (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/)
-   -   difficulty in compiling the uClinux for lpc2478 ARM7TDMI using ubuntu9.04 (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/difficulty-in-compiling-the-uclinux-for-lpc2478-arm7tdmi-using-ubuntu9-04-a-805012/)

aneeshradhakrishnan 04-29-2010 12:47 PM

difficulty in compiling the uClinux for lpc2478 ARM7TDMI using ubuntu9.04
 
Hi all,

I tried to compile the uClinux for the lpc2478 ARM7 controller using

make menu config.

After that i used the make command and I got the following errors and the output.

* uClibc development/debugging options
*
Build uClibc with debugging symbols (DODEBUG) [N/y/?] n
Build uClibc with run-time assertion testing (DOASSERTS) [N/y/?] n
Manuel's hidden warnings (UCLIBC_MJN3_ONLY) [N/y/?] n
make[2]: Leaving directory `/home/aneesh/Documents/uClinux-dist/uClibc'
make[1]: Leaving directory `/home/aneesh/Documents/uClinux-dist'
root@aneesh-laptop:/home/aneesh/Documents/uClinux-dist# make
make -C tools/ucfront
make[1]: Entering directory `/home/aneesh/Documents/uClinux-dist/tools/ucfront'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/aneesh/Documents/uClinux-dist/tools/ucfront'
ln -sf /home/aneesh/Documents/uClinux-dist/tools/ucfront/ucfront tools/ucfront-gcc
ln -sf /home/aneesh/Documents/uClinux-dist/tools/ucfront/ucfront tools/ucfront-g++
ln -sf /home/aneesh/Documents/uClinux-dist/tools/ucfront/ucfront-ld tools/ucfront-ld
make ARCH=arm CROSS_COMPILE=arm-elf- -j8 -C linux-2.6.x || exit 1
make[1]: arm-linux-gcc: Command not found
make[1]: Entering directory `/home/aneesh/Documents/uClinux-dist/linux-2.6.x'
scripts/kconfig/conf -s arch/arm/Kconfig
drivers/usb/core/Kconfig:66:warning: defaults for choice values not supported
make[1]: Leaving directory `/home/aneesh/Documents/uClinux-dist/linux-2.6.x'
make[1]: arm-linux-gcc: Command not found
make[1]: Entering directory `/home/aneesh/Documents/uClinux-dist/linux-2.6.x'
CHK include/linux/version.h
SYMLINK include/asm-arm/arch -> include/asm-arm/arch-lpc22xx
CHK include/linux/utsrelease.h
make[2]: `include/asm-arm/mach-types.h' is up to date.
CC scripts/mod/empty.o
/bin/sh: arm-linux-gcc: not found
make[3]: *** [scripts/mod/empty.o] Error 127
make[2]: *** [scripts/mod] Error 2
make[1]: *** [scripts] Error 2
make[1]: *** Waiting for unfinished jobs....
CC arch/arm/kernel/asm-offsets.s
/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/aneesh/Documents/uClinux-dist/linux-2.6.x'
make: *** [linux] Error 1

FemtoLinux 04-30-2010 02:05 AM

As you can see from the following message
/bin/sh: arm-linux-gcc: not found
you don't have an ARM cross compiler toolchain. Get one from uClinux site


All times are GMT -5. The time now is 04:22 AM.