首页 新闻 搜索 专区 学院

编译内核问题

0
悬赏园豆:20 [已关闭问题] 关闭于 2012-12-16 23:30

帮我解决。。。

我下了一个内核,然后就用

cp ./arch/arm/configs/s5pc100_defconfig .config

make menuconfig

make zImage

这三句命令,然后出现了错误,主要是在Framebuffer这一块,然后我就想在make menuconfig里面

设置

Device Drivers  --->

Graphics support  --->

             <*> Support for frame buffer devices  --->

<*>   Samsung S3C framebuffer support(但是没有找到这一块)错误如下:

arch/arm/mach-s5pc100/mach-smdkc100.c:135: error: variable 'smdkc100_fb_win0' has initializer but incomplete type
arch/arm/mach-s5pc100/mach-smdkc100.c:137: error: unknown field 'win_mode' specified in initializer
arch/arm/mach-s5pc100/mach-smdkc100.c:137: error: extra brace group at end of initializer
arch/arm/mach-s5pc100/mach-smdkc100.c:137: error: (near initialization for 'smdkc100_fb_win0')
arch/arm/mach-s5pc100/mach-smdkc100.c:147: warning: excess elements in struct initializer
arch/arm/mach-s5pc100/mach-smdkc100.c:147: warning: (near initialization for 'smdkc100_fb_win0')
arch/arm/mach-s5pc100/mach-smdkc100.c:148: error: unknown field 'max_bpp' specified in initializer
arch/arm/mach-s5pc100/mach-smdkc100.c:148: warning: excess elements in struct initializer
arch/arm/mach-s5pc100/mach-smdkc100.c:148: warning: (near initialization for 'smdkc100_fb_win0')
arch/arm/mach-s5pc100/mach-smdkc100.c:149: error: unknown field 'default_bpp' specified in initializer
arch/arm/mach-s5pc100/mach-smdkc100.c:149: warning: excess elements in struct initializer
arch/arm/mach-s5pc100/mach-smdkc100.c:149: warning: (near initialization for 'smdkc100_fb_win0')
arch/arm/mach-s5pc100/mach-smdkc100.c:165: error: variable 'smdkc100_lcd_pdata' has initializer but incomplete type
arch/arm/mach-s5pc100/mach-smdkc100.c:166: error: unknown field 'win' specified in initializer
arch/arm/mach-s5pc100/mach-smdkc100.c:166: warning: excess elements in struct initializer
arch/arm/mach-s5pc100/mach-smdkc100.c:166: warning: (near initialization for 'smdkc100_lcd_pdata')
arch/arm/mach-s5pc100/mach-smdkc100.c:167: error: unknown field 'vidcon0' specified in initializer
arch/arm/mach-s5pc100/mach-smdkc100.c:167: error: 'VIDCON0_VIDOUT_RGB' undeclared here (not in a function)
arch/arm/mach-s5pc100/mach-smdkc100.c:167: error: 'VIDCON0_PNRMODE_RGB' undeclared here (not in a function)
arch/arm/mach-s5pc100/mach-smdkc100.c:167: warning: excess elements in struct initializer
arch/arm/mach-s5pc100/mach-smdkc100.c:167: warning: (near initialization for 'smdkc100_lcd_pdata')
arch/arm/mach-s5pc100/mach-smdkc100.c:168: error: unknown field 'vidcon1' specified in initializer
arch/arm/mach-s5pc100/mach-smdkc100.c:168: error: 'VIDCON1_INV_HSYNC' undeclared here (not in a function)
arch/arm/mach-s5pc100/mach-smdkc100.c:168: error: 'VIDCON1_INV_VSYNC' undeclared here (not in a function)
arch/arm/mach-s5pc100/mach-smdkc100.c:168: warning: excess elements in struct initializer
arch/arm/mach-s5pc100/mach-smdkc100.c:168: warning: (near initialization for 'smdkc100_lcd_pdata')
arch/arm/mach-s5pc100/mach-smdkc100.c:169: error: unknown field 'setup_gpio' specified in initializer
arch/arm/mach-s5pc100/mach-smdkc100.c:169: error: 's5pc100_fb_gpio_setup_24bpp' undeclared here (not in a function)
arch/arm/mach-s5pc100/mach-smdkc100.c:169: warning: excess elements in struct initializer
arch/arm/mach-s5pc100/mach-smdkc100.c:169: warning: (near initialization for 'smdkc100_lcd_pdata')
arch/arm/mach-s5pc100/mach-smdkc100.c: In function 'smdkc100_machine_init':
arch/arm/mach-s5pc100/mach-smdkc100.c:282: error: implicit declaration of function 's3c_fb_set_platdata'
make[1]: *** [arch/arm/mach-s5pc100/mach-smdkc100.o] Error 1
make: *** [arch/arm/mach-s5pc100] Error 2
root@ubuntu:~/new_android/samsung#

Wandroid的主页 Wandroid | 初学一级 | 园豆:123
提问于:2012-12-04 11:50
< >
分享
所有回答(1)
0

一般出现莫名其妙的源码错误可能就是编译器版本不符合内核的版本要求,你可以上网上查查

glob | 园豆:212 (菜鸟二级) | 2018-08-30 17:29
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册