[uClinux-dev] Error compiling uClinux on Ubuntu 9.10

Greg Ungerer gerg at snapgear.com
Fri May 21 01:34:33 EDT 2010


Hi Jonathan,

HALLEE, JONATHAN wrote:
> I have some problems compiling uClinux version. 
> 
> I have downloaded uClinux-dist-20070130 and installed the toolchain 
> |/m68k-uclinux-tools-20061214./|| I also added /usr/local/bin to $PATH. 
> Since I’m using Ubuntu 9.10, I also linked the /bin/sh to bash.|
> 
> It would be great if someone could help me.
> 
> rohs at ubuntu:~/uClinux-dist$ make
> 
> make -C tools/ucfront
> 
> make[1]: Entering directory `/home/rohs/uClinux-dist/tools/ucfront'
> 
> make[1]: Nothing to be done for `all'.
> 
> make[1]: Leaving directory `/home/rohs/uClinux-dist/tools/ucfront'
> 
> ln -sf /home/rohs/uClinux-dist/tools/ucfront/ucfront tools/ucfront-gcc 
> ln -sf /home/rohs/uClinux-dist/tools/ucfront/ucfront tools/ucfront-g++ 
> ln -sf /home/rohs/uClinux-dist/tools/ucfront/ucfront-ld tools/ucfront-ld 
> make ARCH=m68knommu CROSS_COMPILE=m68k-elf- -j4 -C linux-2.6.x  || exit 1
> 
> make[1]: m68k-elf-gcc: Command not found
> 
> make[1]: Entering directory `/home/rohs/uClinux-dist/linux-2.6.x'
> 
>   CHK     include/linux/version.h
> 
>   CHK     include/linux/utsrelease.h
> 
>   CC      scripts/mod/empty.o
> 
> /bin/sh: /usr/local/bin/m68k-elf-gcc: No such file or directory

Its not finding your toolchain. Check your toolchain install,
did the m68k-elf-* binaries end up in /usr/local/bin?

Regards
Greg



------------------------------------------------------------------------
Greg Ungerer  --  Principal Engineer        EMAIL:     gerg at snapgear.com
SnapGear Group, McAfee                      PHONE:       +61 7 3435 2888
8 Gardner Close                             FAX:         +61 7 3217 5323
Milton, QLD, 4064, Australia                WEB: http://www.SnapGear.com



More information about the uClinux-dev mailing list