21ic电子技术开发论坛 单片机与嵌入式系统 ARM技术论坛 make出错了,求解啊
发新帖我要提问
返回列表
打印

make出错了,求解啊

[复制链接]
3357|3
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
小白杨谷|  楼主 | 2010-10-20 10:52 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
给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


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

相关帖子

沙发
一级菜鸟| | 2010-10-20 10:54 | 只看该作者
头文件包含错误,检查文件名和路径

使用特权

评论回复
板凳
wangkj| | 2010-10-20 11:03 | 只看该作者
ls 说的没错,报错和很清楚,追踪就是了

使用特权

评论回复
地板
小白杨谷|  楼主 | 2010-10-20 11:17 | 只看该作者
头文件包含错误,检查文件名和路径
一级菜鸟 发表于 2010-10-20 10:54

不会是Makefile的错误哈,LS两位大侠能说的更详细一点吗?要根据报错一个个的修正么

使用特权

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

本版积分规则

1

主题

35

帖子

1

粉丝
关闭 热门推荐
快速回复 在线客服 返回列表 返回顶部