21ic电子技术开发论坛

标题: make出错了,求解啊 [打印本页]

作者: 小白杨谷    时间: 2010-10-20 10:52
标题: make出错了,求解啊
给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两位大侠能说的更详细一点吗?要根据报错一个个的修正么




欢迎光临 21ic电子技术开发论坛 (https://bbs.21ic.com/) Powered by Discuz! X3.5