打印

make时出现了好多这种错误,求解

[复制链接]
1838|0
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
小白杨谷|  楼主 | 2010-10-18 19:44 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 小白杨谷 于 2010-10-20 10:49 编辑


给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


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

相关帖子

发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

1

主题

35

帖子

1

粉丝