[Root @ localhost u-boot-1.1.6-dm9000] # make
For dir in tools examples post/cpu; do make-C $ dir _ depend; done
Make [1]: Entering directory '/opt/EmbedSkdy/u-boot-1.1.6-dm9000/tools'
Make [1]: Nothing to be done for '_ depend '.
Make [1]: Leaving directory '/opt/EmbedSkdy/u-boot-1.1.6-dm9000/tools'
Make [1]: Entering directory '/opt/EmbedSkdy/u-boot-1.1.6-dm9000/examples'
Make [1]: Nothing to be done for '_ depend '.
Make [1]: Leaving directory '/opt/EmbedSkdy/u-boot-1.1.6-dm9000/examples'
Make [1]: Entering directory '/opt/EmbedSkdy/u-boot-1.1.6-dm9000/Post'
Make [1]: Nothing to be done for '_ depend '.
Make [1]: Leaving directory '/opt/EmbedSkdy/u-boot-1.1.6-dm9000/Post'
Make [1]: Entering directory '/opt/EmbedSkdy/u-boot-1.1.6-dm9000/post/cpu'
Make [1]: Nothing to be done for '_ depend '.
Make [1]: Leaving directory '/opt/EmbedSkdy/u-boot-1.1.6-dm9000/post/cpu'
Make-C tools all
Make [1]: Entering directory '/opt/EmbedSkdy/u-boot-1.1.6-dm9000/tools'
Make [1]: Leaving directory '/opt/EmbedSkdy/u-boot-1.1.6-dm9000/tools'
Make-C examples all
Make [1]: Entering directory '/opt/EmbedSkdy/u-boot-1.1.6-dm9000/examples'
Make [1]: Nothing to be done for 'all '.
Make [1]: Leaving directory '/opt/EmbedSkdy/u-boot-1.1.6-dm9000/examples'
Make-C post all
Make [1]: Entering directory '/opt/EmbedSkdy/u-boot-1.1.6-dm9000/Post'
Make [1]: Nothing to be done for 'all '.
Make [1]: Leaving directory '/opt/EmbedSkdy/u-boot-1.1.6-dm9000/Post'
Make-C post/cpu all
Make [1]: Entering directory '/opt/EmbedSkdy/u-boot-1.1.6-dm9000/post/cpu'
Make [1]: Nothing to be done for 'all '.
Make [1]: Leaving directory '/opt/EmbedSkdy/u-boot-1.1.6-dm9000/post/cpu'
Make-C lib_generic/
Make [1]: Entering directory '/opt/EmbedSkdy/u-boot-1.1.6-dm9000/lib_generic'
Make [1]: 'libgeneric. A' is up to date.
Make [1]: Leaving directory '/opt/EmbedSkdy/u-boot-1.1.6-dm9000/lib_generic'
Make-C board/TQ2440/
Make [1]: Entering directory '/opt/EmbedSkdy/u-boot-1.1.6-dm9000/board/tq2440'
/Usr/local/arm/2.95.3/bin/arm-linux-gcc-dmo-assembly _-g-OS-fno-strict-aliasing-fno-common-ffixed-r8-msoft-float -mshort-load-bytes-d1_kernel _-DTEXT_BASE = 0x33F80000-I/opt/EmbedSkdy/u-boot-1.1.6-dm9000/include-fno-builtin-ffreestanding-nostdinc
-Isystem/usr/local/arm/2.95.3/lib/gcc-lib/arm-linux/2.95.3/include-pipe-DCONFIG_ARM-d1_arm _-march = armv4-mapcs-32-c -o lowlevel_init.o lowlevel_init.S
/Usr/local/arm/2.95.3/bin/arm-linux-ar crv libTQ2440.a TQ2440.o flash. o boot_init.o lowlevel_init.o
R-TQ2440.o
R-flash. o
R-boot_init.o
R-lowlevel_init.o
Make [1]: Leaving directory '/opt/EmbedSkdy/u-boot-1.1.6-dm9000/board/tq2440'
Make-C cpu/arm920t/
Make [1]: Entering directory '/opt/EmbedSkdy/u-boot-1.1.6-dm9000/cpu/arm920t'
/Usr/local/arm/2.95.3/bin/arm-linux-gcc-dmo-assembly _-g-OS-fno-strict-aliasing-fno-common-ffixed-r8-msoft-float -mshort-load-bytes-d1_kernel _-DTEXT_BASE = 0x33F80000-I/opt/EmbedSkdy/u-boot-1.1.6-dm9000/include-fno-builtin-ffreestanding-nostdinc
-Isystem/usr/local/arm/2.95.3/lib/gcc-lib/arm-linux/2.95.3/include-pipe-DCONFIG_ARM-d1_arm _-march = armv4-mapcs-32-c -o start. o start. S
Make [1]: Leaving directory '/opt/EmbedSkdy/u-boot-1.1.6-dm9000/cpu/arm920t'
Make-C cpu/arm920t/s3c24x0/
Make [1]: Entering directory '/opt/EmbedSkdy/u-boot-1.1.6-dm9000/cpu/arm920t/s3c24x0'
Make [1]: Nothing to be done for 'all '.
Make [1]: Leaving directory '/opt/EmbedSkdy/u-boot-1.1.6-dm9000/cpu/arm920t/s3c24x0'
Make-C lib_arm/
Make [1]: Entering directory '/opt/EmbedSkdy/u-boot-1.1.6-dm9000/lib_arm'
/Usr/local/arm/2.95.3/bin/arm-linux-gcc-g-OS-fno-strict-aliasing-fno-common-ffixed-r8-msoft-float-mshort-load -bytes-d1_kernel _-DTEXT_BASE = 0x33F80000-I/opt/EmbedSkdy/u-boot-1.1.6-dm9000/include-fno-builtin-ffreestanding-nostdinc-isystem/usr/local/arm/2.95.3/lib /gcc-lib/arm-linux/2.95.3/include
-Pipe-DCONFIG_ARM-dmo-arm _-march = armv4-mapcs-32-Wall-Wstrict-prototypes-c-o board. o board. c
/Usr/local/arm/2.95.3/bin/arm-linux-ar crv libarm. a _ ashldi3.o _ ashrdi3.o _ divsi3.o _ modsi3.o _ udivsi3.o _ umodsi3.o armlinux. o board. o boot_zImage.o cache. o div0.o
R-_ ashldi3.o
R-_ ashrdi3.o
R-_ divsi3.o
R-_ modsi3.o
R-_ udivsi3.o
R-_ umodsi3.o
R-armlinux. o
R-board. o
R-boot_zImage.o
R-cache. o
R-div0.o
Make [1]: Leaving directory '/opt/EmbedSkdy/u-boot-1.1.6-dm9000/lib_arm'
Make-C fs/cramfs/
Make [1]: Entering directory '/opt/EmbedSkdy/u-boot-1.1.6-dm9000/fs/cramfs'
Make [1]: Nothing to be done for 'all '.
Make [1]: Leaving directory '/opt/EmbedSkdy/u-boot-1.1.6-dm9000/fs/cramfs'
Make-C fs/fat/
Make [1]: Entering directory '/opt/EmbedSkdy/u-boot-1.1.6-dm9000/fs/fat'
Make [1]: Nothing to be done for 'all '.
Make [1]: Leaving directory '/opt/EmbedSkdy/u-boot-1.1.6-dm9000/fs/fat'
Make-C fs/fdos/
Make [1]: Entering directory '/opt/EmbedSkdy/u-boot-1.1.6-dm9000/fs/fdos'
/Usr/local/arm/2.95.3/bin/arm-linux-gcc-g-OS-fno-strict-aliasing-fno-common-ffixed-r8-msoft-float-mshort-load -bytes-d1_kernel _-DTEXT_BASE = 0x33F80000-I/opt/EmbedSkdy/u-boot-1.1.6-dm9000/include-fno-builtin-ffreestanding-nostdinc-isystem/usr/local/arm/2.95.3/lib /gcc-lib/arm-linux/2.95.3/include
-Pipe-DCONFIG_ARM-dmo-arm _-march = armv4-mapcs-32-Wall-Wstrict-prototypes-c-o fat. o fat. c
/Usr/local/arm/2.95.3/bin/arm-linux-gcc-g-OS-fno-strict-aliasing-fno-common-ffixed-r8-msoft-float-mshort-load -bytes-d1_kernel _-DTEXT_BASE = 0x33F80000-I/opt/EmbedSkdy/u-boot-1.1.6-dm9000/include-fno-builtin-ffreestanding-nostdinc-isystem/usr/local/arm/2.95.3/lib /gcc-lib/arm-linux/2.95.3/include
-Pipe-DCONFIG_ARM-dmo-arm _-march = armv4-mapcs-32-Wall-Wstrict-prototypes-c-o vfat. o vfat. c
/Usr/local/arm/2.95.3/bin/arm-linux-gcc-g-OS-fno-strict-aliasing-fno-common-ffixed-r8-msoft-float-mshort-load -bytes-d1_kernel _-DTEXT_BASE = 0x33F80000-I/opt/EmbedSkdy/u-boot-1.1.6-dm9000/include-fno-builtin-ffreestanding-nostdinc-isystem/usr/local/arm/2.95.3/lib /gcc-lib/arm-linux/2.95.3/include
-Pipe-DCONFIG_ARM-dmo-arm _-march = armv4-mapcs-32-Wall-Wstrict-prototypes-c-o dev. o dev. c
/Usr/local/arm/2.95.3/bin/arm-linux-gcc-g-OS-fno-strict-aliasing-fno-common-ffixed-r8-msoft-float-mshort-load -bytes-d1_kernel _-DTEXT_BASE = 0x33F80000-I/opt/EmbedSkdy/u-boot-1.1.6-dm9000/include-fno-builtin-ffreestanding-nostdinc-isystem/usr/local/arm/2.95.3/lib /gcc-lib/arm-linux/2.95.3/include
-Pipe-DCONFIG_ARM-dmo-arm _-march = armv4-mapcs-32-Wall-Wstrict-prototypes-c-o fdos. o fdos. c
/Usr/local/arm/2.95.3/bin/arm-linux-gcc-g-OS-fno-strict-aliasing-fno-common-ffixed-r8-msoft-float-mshort-load -bytes-d1_kernel _-DTEXT_BASE = 0x33F80000-I/opt/EmbedSkdy/u-boot-1.1.6-dm9000/include-fno-builtin-ffreestanding-nostdinc-isystem/usr/local/arm/2.95.3/lib /gcc-lib/arm-linux/2.95.3/include
-Pipe-DCONFIG_ARM-dmo-arm _-march = armv4-mapcs-32-Wall-Wstrict-prototypes-c-o fs. o fs. c
/Usr/local/arm/2.95.3/bin/arm-linux-gcc-g-OS-fno-strict-aliasing-fno-common-ffixed-r8-msoft-float-mshort-load -bytes-d1_kernel _-DTEXT_BASE = 0x33F80000-I/opt/EmbedSkdy/u-boot-1.1.6-dm9000/include-fno-builtin-ffreestanding-nostdinc-isystem/usr/local/arm/2.95.3/lib /gcc-lib/arm-linux/2.95.3/include
-Pipe-DCONFIG_ARM-dmo-arm _-march = armv4-mapcs-32-Wall-Wstrict-prototypes-c-o subdir. o subdir. c
/Usr/local/arm/2.95.3/bin/arm-linux-ar crv libfdos. a fat. o vfat. o dev. o fdos. o fs. o subdir. o
A-fat. o
A-vfat. o
A-dev. o
A-fdos. o
A-fs. o
A-subdir. o
Make [1]: Leaving directory '/opt/EmbedSkdy/u-boot-1.1.6-dm9000/fs/fdos'
Make-C fs/jffs2/
Make [1]: Entering directory '/opt/EmbedSkdy/u-boot-1.1.6-dm9000/fs/jffs2'
Arm-linux-gcc: jffs2_1pass.o: No such file or directory
Arm-linux-gcc: unrecognized option '-mq'
Arm-linux-gcc: compr_rtime.o: No such file or directory
Arm-linux-gcc: unrecognized option '-mq'
Arm-linux-gcc: compr_rubin.o: No such file or directory
Arm-linux-gcc: unrecognized option '-mq'
Arm-linux-gcc: compr_zlib.o: No such file or directory
Arm-linux-gcc: unrecognized option '-mq'
Arm-linux-gcc: mini_inflate.o: No such file or directory
Arm-linux-gcc: unrecognized option '-mq'
Arm-linux-gcc: compr_lzo.o: No such file or directory
Arm-linux-gcc: unrecognized option '-mq'
Arm-linux-gcc: compr_lzari.o: No such file or directory
Arm-linux-gcc: unrecognized option '-mq'
Make [1]: *** No rule to make target '. depend', needed by 'libjffs2. A'. Stop.
Make [1]: Leaving directory '/opt/EmbedSkdy/u-boot-1.1.6-dm9000/fs/jffs2'
Make: *** [fs/jffs2/libjffs2.a] Error 2
I have been tossing around for half an afternoon and have encountered problems similar to the above. I finally figured out that the cross-compilation environment does not match the u-boot source code package. Haha, solution: use a later version of the Cross-compiling environment or download a later version of u-boot.