make zImage时没有regs-nand.h以及 nand.h文件解决方法
2012-04-17 14:21
288 查看
drivers/mtd/nand/s3c2410.c:63:32: asm/arch/regs-nand.h:No such file or directory
drivers/mtd/nand/s3c2410.c:64:27: asm/arch/nand.h:No such file or directory
打开drivers/mtd/nand/s3c2410.c, 修改第62行及63行中所包含的头文件如下所示:
#include <asm/io.h>
#if 0 // sean chi 17Aug2010, modified.
#include <asm/arch/regs-nand.h>
#include <asm/arch/nand.h>
#else
#include <asm/plat-s3c/regs-nand.h>
#include <asm/plat-s3c/nand.h>
#endif
#ifdef CONFIG_MTD_NAND_S3C2410_HWECC
static int hardware_ecc = 1;
#else
static int hardware_ecc = 0;
#endif
修改后重新编译通后,运行make zImage生成zImage文件
drivers/mtd/nand/s3c2410.c:64:27: asm/arch/nand.h:No such file or directory
打开drivers/mtd/nand/s3c2410.c, 修改第62行及63行中所包含的头文件如下所示:
#include <asm/io.h>
#if 0 // sean chi 17Aug2010, modified.
#include <asm/arch/regs-nand.h>
#include <asm/arch/nand.h>
#else
#include <asm/plat-s3c/regs-nand.h>
#include <asm/plat-s3c/nand.h>
#endif
#ifdef CONFIG_MTD_NAND_S3C2410_HWECC
static int hardware_ecc = 1;
#else
static int hardware_ecc = 0;
#endif
修改后重新编译通后,运行make zImage生成zImage文件
相关文章推荐
- ui文件更改后没有更新,以及解决方法
- Git push 出错以及server端没有显示push后的文件的解决方法
- Git push 出错以及server端没有显示push后的文件的解决方法
- Git push 出错以及server端没有显示push后的文件的解决方法
- 解决Eclipse项目有红感叹号的方法以及clean完没有自动生成R文件的方法
- Qt2010.05 的ui文件更改后没有更新,以及解决方法
- eclipse 引入 没有.project文件的Android项目的解决方法
- 装了数据库之后用DBCA创建数据库实例以及安装Oracle10g服务里没有监听的解决方法
- VMware Tools"无法计算本地文件大小。你可能没有执行该操作的权限。”的解决方法
- xfs文件系统提示没有磁盘空间错误的解决方法
- Win7另存文件没有桌面的解决方法
- symonfy 项目根目录下没有 bin/console 文件的解决方法
- cygwin安装完成后没有passwd文件之解决方法
- Ubuntu Linux 解决 bash ./ 没有那个文件或目录 的方法
- Notepad++没有插件管理器(Plugin Manager)的原因以及解决方法
- ubuntu 下没有pthread库以及报undefined reference to 'pthread_create'的解决方法
- 关于/dev/null 和 /dev/zero文件详解以及误删/dev/null和/dev/zero的解决方法和利用/dev/zero进行磁盘IO测试方法
- Eclipse里的web项目名有红叉,但是底下的每一个文件都没有红叉解决方法
- C#“如果应用程序没有控制台或控制台输入已通过文件进行了重定向,则无法读取键。”的解决方法
- linux上配置jdk时,java命令提示没有此文件或文件夹的解决方法