[U-Boot-Users] make error

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#

In message 380d4510611230145r6e993412rc8af476c5ce0d00c@mail.gmail.com you wrote:
make[1]: Leaving directory `/home/icesky/u-boot-1.1.6/common' powerpc-linux-gcc: CROSS_COMPILE variable is not set or invalid
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
User error. Fix this, then try again.
Best regards,
Wolfgang Denk

thanks a lot , It is ok,,
2006/11/24, Wolfgang Denk wd@denx.de:
In message 380d4510611230145r6e993412rc8af476c5ce0d00c@mail.gmail.com you wrote:
make[1]: Leaving directory `/home/icesky/u-boot-1.1.6/common' powerpc-linux-gcc: CROSS_COMPILE variable is not set or invalid
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
User error. Fix this, then try again.
Best regards,
Wolfgang Denk
-- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de What we anticipate seldom occurs; what we least expect generally happens. - Bengamin Disraeli
participants (2)
-
Wolfgang Denk
-
Zhao Tongyi