Skip to contentSkip to conversation

Compilation error

U-Boot-Users Hamid Khalessi 2 participants 2 messages Nov 21, 2007

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 2 lines · In message <[email protected]> you wrote:

In the process of compiling the u-boot-1.1.6 for MPC8541cds .. i am getting the following error;

Is it any specific archeological interest of you to use such an old version? Try using current code, i. e. version 1.3.0 instead.

Best regards,

Wolfgang Denk

Signature · 4 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
A failure will not appear until a unit has passed final inspection.