标题: u-boot移植时出现inline function 'coloured_LED_init' cannot b [打印本页] 作者: thinkfunny 时间: 2020-11-2 13:18 标题: u-boot移植时出现inline function 'coloured_LED_init' cannot b
6 z; W. t1 H0 J( D$ |4 pboard.c:127: error: inline function 'coloured_LED_init' cannot be declared weak 1 n5 F c, z& ~0 S6 Qboard.c:129: error: inline function 'red_LED_on' cannot be declared weak 3 f& I9 S4 L% h9 C5 wboard.c:131: error: inline function 'red_LED_off' cannot be declared weak - u2 Q0 G9 l- x0 B" o' }+ Yboard.c:133: error: inline function 'green_LED_on' cannot be declared weak! j" u; g; j3 X9 ^# t# Z/ b
board.c:135: error: inline function 'green_LED_off' cannot be declared weak; ]& [5 u9 O* t7 A7 |5 ]0 q! s4 P# f
board.c:137: error: inline function 'yellow_LED_on' cannot be declared weak ) ]+ a+ K/ q- ^board.c:139: error: inline function 'yellow_LED_off' cannot be declared weak, _) C; C0 X4 f( b
board.c:141: error: inline function 'blue_LED_on' cannot be declared weak % l/ Y6 d9 M1 u+ Fboard.c:143: error: inline function 'blue_LED_off' cannot be declared weak . e, \0 }0 n9 l! |: P% O3 o$ j; umake[1]: *** [board.o] 错误 1 $ f5 X& W# H4 @6 q, v. b5 ~make[1]: Leaving directory `/root/workspace/u-boot-2009.08/lib_arm'4 G8 V( [) \9 W z- i: T' C
make: *** [lib_arm/libarm.a] 错误 2 / a0 G1 N5 S F5 b[root@localhost u-boot-2009.08]#: ~5 w2 f1 k5 K$ f