给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
哪位大侠给解释一下是哪里出问题的啊?感激不尽 |