- 积分
- 8
贡献35
飞刀6 FD
注册时间2016-3-16
在线时间4 小时
扫一扫,手机访问本帖
|
拿到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[2]: *** [drivers/char/io_ctl.o] Error 1
make[1]: *** [drivers/char] Error 2
make: *** [drivers] Error 2
|
|