QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2130|回复: 0

img2srec.c: stdlib.h: No file

[复制链接]
发表于 2006-12-27 14:30:00 | 显示全部楼层 |阅读模式
[root@localhost u-boot]# make distclean
find . -type f \
\( -name 'core' -o -name '*.bak' -o -name '*~' \
-o -name '*.o'  -o -name '*.a'  \) -print \
| xargs rm -f
rm -f examples/hello_world examples/timer \
      examples/eepro100_eeprom examples/sched \
      examples/mem_to_mem_idma2intr examples/82559_eeprom
rm -f tools/img2srec tools/mkimage tools/envcrc tools/gen_eth_addr
rm -f tools/easylogo/easylogo tools/bmp_logo
rm -f tools/gdb/astest tools/gdb/gdbcont tools/gdb/gdbsend
rm -f tools/env/fw_printenv tools/env/fw_setenv
rm -f board/cray/L1/bootscript.c board/cray/L1/bootscript.image
find . -type f \
\( -name .depend -o -name '*.srec' -o -name '*.bin' \) \
-print \
| xargs rm -f
rm -f cpu/at91rm9200/start.o *.bak tags TAGS
rm -fr *.*~
rm -f u-boot u-boot.bin u-boot.srec u-boot.map System.map
rm -f tools/crc32.c tools/environment.c tools/env/crc32.c
rm -f tools/inca-swap-bytes cpu/mpc824x/bedbug_603e.c
rm -f include/asm/proc include/asm/arch include/asm
rm -f include/config.h include/config.mk
[root@localhost u-boot]# make zenitech_config
rm -f include/config.h include/config.mk
Configuring for zenitech board...
[root@localhost u-boot]# make
make[1]: Entering directory `/home/ARM/u-boot/tools'
ln -s ../common/environment.c environment.c
ln -s ../lib_generic/crc32.c crc32.c
gcc -M -Wall -pedantic -I../include -I.. -DTEXT_BASE=0x21f00000 -DUSE_HOSTCC environment.c img2srec.c mkimage.c crc32.c envcrc.c gen_eth_addr.c bmp_logo.c > .depend
img2srec.c:56: stdio.h: No such file or directory
img2srec.c:57: stdlib.h: No such file or directory
img2srec.c:58: ctype.h: No such file or directory
img2srec.c:59: string.h: No such file or directory

In file included from img2srec.c:60:
../include/elf.h:43: stdint.h: No such file or directory
img2srec.c:61: unistd.h: No such file or directory
img2srec.c:62: errno.h: No such file or directory
mkimage.c:8: errno.h: No such file or directory
mkimage.c:9: fcntl.h: No such file or directory
mkimage.c:10: stdio.h: No such file or directory
mkimage.c:11: stdlib.h: No such file or directory
mkimage.c:12: string.h: No such file or directory
mkimage.c:14: make[1]: *** Deleting file `.depend'
make[1]: *** [.depend] Interrupt
make: *** [depend] Interrupt


都是头文件没有找到,是否路径设置不对呀,多指教
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-2 04:44 , Processed in 0.034036 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表