嵌入式初步-----内核编译

 1失败:

  1. root@ubuntu:/opt/linux-2.6.30# make menuconfig
  2. *** Unable to find the ncurses libraries or the
  3. *** required header files.
  4. *** 'make menuconfig' requires the ncurses libraries.
  5. ***
  6. *** Install ncurses (ncurses-devel) and try again.
  7. ***
  8. make[1]: *** [scripts/kconfig/dochecklxdialog] 错误 1

解决办法:apt-get install ncurses-dev



  1. 2失败:

  2. drivers/video/console/vgacon.c: In function 'vgacon_startup':
  3. drivers/video/console/vgacon.c:510: error: 'PCIMEM_BASE' undeclared (first use in this function)
  4. drivers/video/console/vgacon.c:510: error: (Each undeclared identifier is reported only once
  5. drivers/video/console/vgacon.c:510: error: for each function it appears in.)
  6. drivers/video/console/vgacon.c: In function 'vgacon_do_font_op':
  7. drivers/video/console/vgacon.c:1068: error: 'PCIMEM_BASE' undeclared (first use in this function)
  8. make[3]: *** [drivers/video/console/vgacon.o] 错误 1
  9. make[2]: *** [drivers/video/console] 错误 2
  10. make[1]: *** [drivers/video] 错误 2
  11. make: *** [drivers] 错误 2


在device drivers中Graphics support中修改  VGA控制台  改为取消
  1. 3失败:
  2. init/built-in.o: In function `do_one_initcall':
  3. /opt/linux-2.6.30/init/main.c:706: undefined reference to `__gnu_mcount_nc'
  4. init/built-in.o: In function `init_post':
  5. /opt/linux-2.6.30/init/main.c:804: undefined reference to `__gnu_mcount_nc'
  6. init/built-in.o: In function `name_to_dev_t':
  7. /opt/linux-2.6.30/init/do_mounts.c:78: undefined reference to `__gnu_mcount_nc'
  8. init/built-in.o: In function `rest_init':
  9. /opt/linux-2.6.30/init/main.c:453: undefined reference to `__gnu_mcount_nc'
  10. init/built-in.o: In function `calibrate_delay':
  11. /opt/linux-2.6.30/init/calibrate.c:123: undefined reference to `__gnu_mcount_nc'
  12. 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
  13. make: *** [.tmp_vmlinux1] 错误 1

必须使用2007q3编译器,分别在profile和Makefile中添加相关项
  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值