帮我解决。。。
我下了一个内核,然后就用
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#
一般出现莫名其妙的源码错误可能就是编译器版本不符合内核的版本要求,你可以上网上查查