求助:随机linux3.2内核编译时出现未申明变量
拿到335xS后,将随机的交叉工具arm-arago-linux-gnueabi,用该工具编译随机的linux3.2系统是出现如下错误,感觉是gpio的驱动程序中有未申明的变量了。版主们,这个问题需要我对linux3.2的内核驱动进行修改么?怎么解决?------
....
LD drivers/cdrom/built-in.o
CC drivers/char/mem.o
CC drivers/char/random.o
CC drivers/char/ttyprintk.o
CC drivers/char/misc.o
CC drivers/char/hw_random/core.o
LD drivers/char/hw_random/rng-core.o
LD drivers/char/hw_random/built-in.o
LD drivers/char/ipmi/built-in.o
LD drivers/char/pcmcia/built-in.o
CC drivers/char/io_ctl.o
drivers/char/io_ctl.c: In function 'gpio_state_store':
drivers/char/io_ctl.c:77:31: error: 'UART3_RTS_CTL' undeclared (first use in this function)
drivers/char/io_ctl.c:77:31: note: each undeclared identifier is reported only once for each function it appears in
drivers/char/io_ctl.c: At top level:
drivers/char/io_ctl.c:85:2: warning: initialization from incompatible pointer type
make: *** Error 1
make: *** Error 2
make: *** Error 2
我将makefile将编译器修改为arm-arago-linux-gnueabi后,直接进行make uImage的,然后出现上面的错误 你先按照手册操作下 看看有问题没
页:
[1]