1失败:
解决办法:apt-get install ncurses-dev
在device drivers中Graphics support中修改 VGA控制台 改为取消
必须使用2007q3编译器,分别在profile和Makefile中添加相关项
- root@ubuntu:/opt/linux-2.6.30# make menuconfig
- *** Unable to find the ncurses libraries or the
- *** required header files.
- *** 'make menuconfig' requires the ncurses libraries.
- ***
- *** Install ncurses (ncurses-devel) and try again.
- ***
- make[1]: *** [scripts/kconfig/dochecklxdialog] 错误 1
解决办法:apt-get install ncurses-dev
- 2失败:
- drivers/video/console/vgacon.c: In function 'vgacon_startup':
- drivers/video/console/vgacon.c:510: error: 'PCIMEM_BASE' undeclared (first use in this function)
- drivers/video/console/vgacon.c:510: error: (Each undeclared identifier is reported only once
- drivers/video/console/vgacon.c:510: error: for each function it appears in.)
- drivers/video/console/vgacon.c: In function 'vgacon_do_font_op':
- drivers/video/console/vgacon.c:1068: error: 'PCIMEM_BASE' undeclared (first use in this function)
- make[3]: *** [drivers/video/console/vgacon.o] 错误 1
- make[2]: *** [drivers/video/console] 错误 2
- make[1]: *** [drivers/video] 错误 2
- make: *** [drivers] 错误 2
在device drivers中Graphics support中修改 VGA控制台 改为取消
- 3失败:
- init/built-in.o: In function `do_one_initcall':
- /opt/linux-2.6.30/init/main.c:706: undefined reference to `__gnu_mcount_nc'
- init/built-in.o: In function `init_post':
- /opt/linux-2.6.30/init/main.c:804: undefined reference to `__gnu_mcount_nc'
- init/built-in.o: In function `name_to_dev_t':
- /opt/linux-2.6.30/init/do_mounts.c:78: undefined reference to `__gnu_mcount_nc'
- init/built-in.o: In function `rest_init':
- /opt/linux-2.6.30/init/main.c:453: undefined reference to `__gnu_mcount_nc'
- init/built-in.o: In function `calibrate_delay':
- /opt/linux-2.6.30/init/calibrate.c:123: undefined reference to `__gnu_mcount_nc'
- arch/arm/kernel/built-in.o:/opt/linux-2.6.30/arch/arm/kernel/elf.c:8: more undefined references to `__gnu_mcount_nc' follow
- make: *** [.tmp_vmlinux1] 错误 1
必须使用2007q3编译器,分别在profile和Makefile中添加相关项