[U-Boot-Users] Build u-boot on Cygwin failed - fixed

Arun Biyani "abiyani at unix dot telasic dot com" at unix.telasic.com
Wed Jun 20 22:55:08 CEST 2007


Arun Biyani wrote:
> I tried to build u-boot under Cygwin. It failed with error message 
> below.  Although not critical since
> I can always build it on Linux, I'd still like to find out  how to fix 
> error below . Looks like the compiles
> were all successful. Only the last link step failed. Perhaps, I need 
> newer cross compile toolchain.
> Does anyone know where I can download a pre-built cross compile 
> toolchain for 68k running
> under Cygwin?
>
>       cd /c/home/wrk/u-boot-1.2.0 && m68k-elf-ld -Bstatic -T 
> /c/home/wrk/u-boot-1.2.0/board/m5272c3/u-boot.lds -Ttext 0xffe00000  
> -n $UNDEF_SYM cpu/mcf52x2/start.o \
>                --start-group lib_generic/libgeneric.a 
> board/m5272c3/libm5272c3.a cpu/mcf52x2/libmcf52x2.a lib_m68k/libm68k.a 
> fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a 
> fs/jffs2/libjffs2.a fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a 
> net/libnet.a disk/libdisk.a rtc/librtc.a dtt/libdtt.a 
> drivers/libdrivers.a drivers/nand/libnand.a 
> drivers/nand_legacy/libnand_legacy.a drivers/sk98lin/libsk98lin.a 
> post/libpost.a post/cpu/libcpu.a common/libcommon.a --end-group -L 
> /bin/../lib/gcc-lib/m68k-elf/3.4.0/m5307 -lgcc \
>                -Map u-boot.map -o u-boot
> m68k-elf-ld: internal error /usr/src/xtools-3.4w/ld/ldlang.c 1974
> make: *** [u-boot] Error 1
> [u-boot-1.2.0$:523]
>
I updated my cross compile tools (in Cygwin) to gcc 4.1.1. Now u-boot 
builds successfully under Cygwin.







More information about the U-Boot mailing list