主题 : make出错了,求解啊 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 30598
精华: 0
发帖: 3
金钱: 15 两
威望: 3 点
综合积分: 6 分
注册时间: 2010-10-19
最后登录: 2011-07-01
楼主  发表于: 2010-10-20 16:14

 make出错了,求解啊

[size=7]]给uboot1.1.6添加DM9000AE驱动,make时出现了好多这种错误:

for dir in tools examples post post/cpu ; do make -C $dir _depend ; done
make[1]: 正在进入目录 `/home/byg/urbetter-u-boot-1.1.6-v1.0/tools'
make[1]:正在离开目录 `/home/byg/urbetter-u-boot-1.1.6-v1.0/tools'
make[1]: 正在进入目录 `/home/byg/urbetter-u-boot-1.1.6-v1.0/tools'
make[1]: 没有什么可以做的为 `_depend'。
make[1]:正在离开目录 `/home/byg/urbetter-u-boot-1.1.6-v1.0/tools'
make[1]: 正在进入目录 `/home/byg/urbetter-u-boot-1.1.6-v1.0/examples'
In file included from /home/byg/urbetter-u-boot-1.1.6-v1.0/include/linux/types.h:8,
                 from /home/byg/urbetter-u-boot-1.1.6-v1.0/include/common.h:37,
                 from hello_world.c:24:
/home/byg/urbetter-u-boot-1.1.6-v1.0/include/linux/posix_types.h:46:29: error: asm/posix_types.h: No such  file or directory
In file included from /home/byg/urbetter-u-boot-1.1.6-v1.0/include/common.h:39,
                 from hello_world.c:24:
/home/byg/urbetter-u-boot-1.1.6-v1.0/include/asm/ptrace.h:14:29: error: asm/proc/ptrace.h: No such file or directory
In file included from hello_world.c:24:
/home/byg/urbetter-u-boot-1.1.6-v1.0/include/common.h:125:74: error: asm/global_data.h: No such file or directory
/home/byg/urbetter-u-boot-1.1.6-v1.0/include/common.h:234:29: error: asm/mach-types.h: No such file or directory
/home/byg/urbetter-u-boot-1.1.6-v1.0/include/common.h:236:60: error: asm/u-boot-arm.h: No such file or directory
In file included from /home/byg/urbetter-u-boot-1.1.6-v1.0/include/linux/types.h:8,
                 from /home/byg/urbetter-u-boot-1.1.6-v1.0/include/common.h:37,
                 from /home/byg/urbetter-u-boot-1.1.6-v1.0/include/exports.h:6,
                 from stubs.c:1:
/home/byg/urbetter-u-boot-1.1.6-v1.0/include/linux/posix_types.h:46:29: error: asm/posix_types.h: No such file or directory
In file included from /home/byg/urbetter-u-boot-1.1.6-v1.0/include/common.h:39,
                 from /home/byg/urbetter-u-boot-1.1.6-v1.0/include/exports.h:6,
                 from stubs.c:1:
/home/byg/urbetter-u-boot-1.1.6-v1.0/include/asm/ptrace.h:14:29: error: asm/proc/ptrace.h: No such file or directory
In file included from /home/byg/urbetter-u-boot-1.1.6-v1.0/include/exports.h:6,
                 from stubs.c:1:
/home/byg/urbetter-u-boot-1.1.6-v1.0/include/common.h:125:74: error: asm/global_data.h: No such file or directory
/home/byg/urbetter-u-boot-1.1.6-v1.0/include/common.h:234:29: error: asm/mach-types.h: No such file or directory
/home/byg/urbetter-u-boot-1.1.6-v1.0/include/common.h:236:60: error: asm/u-boot-arm.h: No such file or directory
make[1]: *** 没有规则可以创建“_depend”需要的目标“.depend”。 停止。
make[1]:正在离开目录 `/home/byg/urbetter-u-boot-1.1.6-v1.0/examples'
make: *** [depend] 错误 2


哪位大侠给解释一下是哪里出问题的啊?感激不尽