[U-Boot-Users] Compilation error

Hamid Khalessi hkhalessi at yahoo.com
Wed Nov 21 23:48:14 CET 2007


Hi,
In the process of compiling the u-boot-1.1.6 for MPC8541cds .. i am getting the following error; 
Any help is appreciated
KH
---------------------------------------------------------------------------------
make[1]: Leaving directory `/opt/u-boot-1.1.6/common'
powerpc-linux-gcc: CROSS_COMPILE variable is not set or invalid
dirname: missing operand
Try `dirname --help' for more information.
UNDEF_SYM=`powerpc-linux-objdump -x lib_generic/libgeneric.a board/cds/mpc8541cds/libmpc8541cds.a cpu/mpc85xx/libmpc85xx.a lib_ppc/libppc.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 |sed  -n -e 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\
                cd /opt/u-boot-1.1.6 && powerpc-linux-ld -Bstatic -T /opt/u-boot-1.1.6/board/cds/mpc8541cds/u-boot.lds -Ttext 0xfff80000  -n $UNDEF_SYM cpu/mpc85xx/start.o cpu/mpc85xx/resetvec.o \
                        --start-group lib_generic/libgeneric.a board/cds/mpc8541cds/libmpc8541cds.a cpu/mpc85xx/libmpc85xx.a lib_ppc/libppc.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  -lgcc \
                        -Map u-boot.map -o u-boot
powerpc-linux-objcopy --gap-fill=0xff -O srec u-boot u-boot.srec
powerpc-linux-objcopy --gap-fill=0xff -O binary u-boot u-boot.bin


       
---------------------------------
Be a better sports nut! Let your teams follow you with Yahoo Mobile. Try it now.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20071121/88eb5090/attachment.htm 


More information about the U-Boot mailing list