r - cmd_mac.o
make[1]: Leaving directory `/home/icesky/u-boot-1.1.6/common'
powerpc-linux-gcc: CROSS_COMPILE variable is not set or invalid
dirname: too few arguments
Try `dirname --help' for more information.
UNDEF_SYM=`powerpc-linux-objdump -x lib_generic/libgeneric.a board/esd/hh405/libhh405.a cpu/ppc4xx/libppc4xx.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 /home/icesky/u-boot-1.1.6 && powerpc-linux-ld -Bstatic -T /home/icesky/u-boot-1.1.6/board/esd/hh405/u-boot.lds -Ttext 0xFFF80000 -n $UNDEF_SYM cpu/ppc4xx/start.o cpu/ppc4xx/resetvec.o \
--start-group lib_generic/libgeneric.a board/esd/hh405/libhh405.a cpu/ppc4xx/libppc4xx.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
cpu/ppc4xx/speed.o: In function `get_sys_info':
/home/icesky/u-boot-1.1.6/cpu/ppc4xx/speed.c:714: undefined reference to `__udivdi3'
make: *** [u-boot] Error 1
workstation:/home/icesky/u-
boot-1.1.6#
--
Best regards,
Tongyi ,Zhao