主题 : linux内核 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 102945
精华: 0
发帖: 2
金钱: 15 两
威望: 3 点
综合积分: 4 分
注册时间: 2014-04-14
最后登录: 2014-09-14
楼主  发表于: 2014-04-18 19:24

 linux内核

nand flash设备注册到系统中出错
arch/arm/mach-s3c2440/mach-mini2440.c: In function 'mini2440_machine_init':
arch/arm/mach-s3c2440/mach-mini2440.c:176: error: 'mini2440_nand_info' undeclared (first use in this function)
arch/arm/mach-s3c2440/mach-mini2440.c:176: error: (Each undeclared identifier is reported only once
arch/arm/mach-s3c2440/mach-mini2440.c:176: error: for each function it appears in.)
make[1]: *** [arch/arm/mach-s3c2440/mach-mini2440.o] 错误 1
make: *** [arch/arm/mach-s3c2440] 错误 2
求解!!!!!!
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2014-04-19 14:44
arch/arm/mach-s3c2440/mach-mini2440.c:176: error: 'mini2440_nand_info' undeclared (first use in this function)

mini2440_nand_info没有定义?
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."