|
|
EDA365欢迎您登录!
您需要 登录 才可以下载或查看,没有帐号?注册
x
错误1:
' Q; c8 P" O- z# I6 |, D) i9 P8 X: Q m/ z6 x! L3 W [7 U4 G
4 @7 T8 A% V7 ?. k% qarch/ARM/mach-s3c2440/mach-mini2440.c:84: error: array type has incomplete element type
: B9 J0 }( c$ j$ u3 j! N8 V
3 f1 j2 ?/ W( O( F9 z, P4 }& u% M3 u1 r" [, W) A5 y/ m% J
arch/arm/mach-s3c2440/mach-mini2440.c:85: error: array index in non-array initializer
+ p5 W2 _ D$ Z7 g) narch/arm/mach-s3c2440/mach-mini2440.c:85: error: (near initialization for 'mini2440_nand_sets')% p3 I, J8 E3 \5 H/ E9 u, L
arch/arm/mach-s3c2440/mach-mini2440.c:86: error: field name not in record or union initializer
. D0 w( Y) {. Barch/arm/mach-s3c2440/mach-mini2440.c:86: error: (near initialization for 'mini2440_nand_sets')# a. I$ l( R" z. R: b! ?( w; {% x
arch/arm/mach-s3c2440/mach-mini2440.c:87: error: field name not in record or union initializer 9 I, c3 h' O( _7 Q5 F7 ]- e
! e0 C5 I% U( d/ W8 `% l( a* ~/ X; U( ]" v
解决:
/ ^' x$ {; _2 J( v* X. M. E/ x8 C6 A# N3 r% a
5 C6 m( @0 I0 d% j m
在linux2.6.32/arch/arm/mach-s3c2440/mach-mini2440.c中添加头文件3 y2 x- m, ^9 p; S
' r4 E5 l M: U; b* f% j
: V5 H$ y. P$ u3 G( E! p1 V& x2 U, K
8 [, L4 \( h9 p" S1 |9 q/ f' x ^
% Y$ K: \1 H- y% t4 t
; Z0 }; }% @7 q# z$ @
* W9 e& ~' H2 p2 r, d" R; }& h
5 L* }$ x7 H2 d |
|