3月1日数平项目系统移植问题记录!

来源:互联网 发布:linux命令试题 编辑:程序博客网 时间:2024/06/02 07:28

1、make[3]: *** [drivers/video/console/vgacon.o] 错误 1

当我们都配置好以后执行make uImage时,出现了以下的错误信息,根据信息的大概意思是关于vga的支持问题,在这里我直接把关于vga的配置选项去掉不选

Device Drivers

      ---->Graphics support

              ----->Console display driver  support

                      ------>VGA text Console(这个选项不选就能解决此问题)

 

CC      drivers/video/console/dummycon.o

CC      drivers/video/console/vgacon.o
drivers/video/console/vgacon.c: In function 'vgacon_startup':
drivers/video/console/vgacon.c:489: error: 'PCIMEM_BASE' undeclared (first use in this function)
drivers/video/console/vgacon.c:489: error: (Each undeclared identifier is reported only once
drivers/video/console/vgacon.c:489: error: for each function it appears in.)
drivers/video/console/vgacon.c: In function 'vgacon_do_font_op':
drivers/video/console/vgacon.c:1047: 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

 

2、make[1]: *** [kernel/bounds.s] Error 1

      cc1: error: invalid option `abi=aapcs-linux'

 

错误信息如下:1 L1 Z, r+ N7 d/ k
gouwa@gouwa:~/project/kernel/linux-2.6.29$ make
  G- W3 e) M, _/ ]scripts/kconfig/conf -s arch/arm/Kconfig4 a5 O  g* F7 I9 ~
CHK     include/linux/version.h
8 F% x8 O: ?' T, D+ F# imake[1]: `include/asm-arm/mach-types.h' is up to date.
4 }2 a) {8 k$ I* K4 @# HCHK     include/linux/utsrelease.h
  o% z8 b( ~+ F; l) h3 T) ^" [- r: ESYMLINK include/asm -> include/asm-arm
5 U, I) V0 R8 i0 tCC      kernel/bounds.s) Q! ^5 U( g* Q) o4 D, v
cc1: error: invalid option `abi=aapcs-linux'
$ F( w3 @) f' w7 h* w0 l2 B" L! Xmake[1]: *** [kernel/bounds.s] Error 1
4 T" x3 p" T* V+ t5 z' L7 w5 D* Qmake: *** [prepare0] Error 2
2 W( s2 k+ ^$ U: p$ ~
解决办法:0 t& k1 C9 @: D  j, ?3 ]' u
修改内核配置:+ ~. z' e) Q! s" o2 W' {
    Kernel Features ---->Use the ARM EABIto compile the kernel(不选择)

还有一种方法 用arm-none-linux-gnueabi编译器可解决此问题

原创粉丝点击