当前位置: 技术问答>linux和unix
2.6.20 内核 lcd驱动移植问题
来源: 互联网 发布时间:2016-08-03
本文导语: 我在2.6.20内核下移植lcd驱动 make时出现如下错误 请高人指教 arch/arm/mach-s3c2410/mach-smdk2410.c:73: warning: initialization makes integer from pointer without a cast arch/arm/mach-s3c2410/mach-smdk2410.c: In function `smdk2410_map_io': arch/arm/mach-...
我在2.6.20内核下移植lcd驱动 make时出现如下错误 请高人指教
arch/arm/mach-s3c2410/mach-smdk2410.c:73: warning: initialization makes integer from pointer without a cast
arch/arm/mach-s3c2410/mach-smdk2410.c: In function `smdk2410_map_io':
arch/arm/mach-s3c2410/mach-smdk2410.c:147: warning: implicit declaration of function `set_s3c2410fb_info'
arch/arm/mach-s3c2410/mach-smdk2410.c:147: error: `smdk2410_lcdcfg' undeclared (first use in this function)
arch/arm/mach-s3c2410/mach-smdk2410.c:147: error: (Each undeclared identifier is reported only once
arch/arm/mach-s3c2410/mach-smdk2410.c:147: error: for each function it appears in.)arch/arm/mach-s3c2410/mach-smdk2410.c: At top level:
arch/arm/mach-s3c2410/mach-smdk2410.c:152: warning: 'smdk2410_lcdcfg' defined but not used
make[1]: *** [arch/arm/mach-s3c2410/mach-smdk2410.o] Error 1
make: *** [arch/arm/mach-s3c2410] Error 2
arch/arm/mach-s3c2410/mach-smdk2410.c:73: warning: initialization makes integer from pointer without a cast
arch/arm/mach-s3c2410/mach-smdk2410.c: In function `smdk2410_map_io':
arch/arm/mach-s3c2410/mach-smdk2410.c:147: warning: implicit declaration of function `set_s3c2410fb_info'
arch/arm/mach-s3c2410/mach-smdk2410.c:147: error: `smdk2410_lcdcfg' undeclared (first use in this function)
arch/arm/mach-s3c2410/mach-smdk2410.c:147: error: (Each undeclared identifier is reported only once
arch/arm/mach-s3c2410/mach-smdk2410.c:147: error: for each function it appears in.)arch/arm/mach-s3c2410/mach-smdk2410.c: At top level:
arch/arm/mach-s3c2410/mach-smdk2410.c:152: warning: 'smdk2410_lcdcfg' defined but not used
make[1]: *** [arch/arm/mach-s3c2410/mach-smdk2410.o] Error 1
make: *** [arch/arm/mach-s3c2410] Error 2
|
单从make反馈错误来看,可能缺少某个.h文件.
|
arch/arm/mach-s3c2410/mach-smdk2410.c:147: warning: implicit declaration of function `set_s3c2410fb_info'
arch/arm/mach-s3c2410/mach-smdk2410.c:147: error: `smdk2410_lcdcfg' undeclared (first use in this function)
arch/arm/mach-s3c2410/mach-smdk2410.c:147: error: (Each undeclared identifier is reported only once
arch/arm/mach-s3c2410/mach-smdk2410.c:147: error: `smdk2410_lcdcfg' undeclared (first use in this function)
arch/arm/mach-s3c2410/mach-smdk2410.c:147: error: (Each undeclared identifier is reported only once
|
make distclean后再试一下
|
make menuconfig
在选择这个LCD驱动的时候,请先看一下HELP
看看它依赖于什么
在选择这个LCD驱动的时候,请先看一下HELP
看看它依赖于什么