当前位置: 技术问答>linux和unix
编译内核section attribute错误
来源: 互联网 发布时间:2016-11-17
本文导语: arch/arm/plat-s3c/include/plat/uncompress.h:67: error: section attribute cannot be specified for local variables arch/arm/plat-s3c/include/plat/uncompress.h:74: error: section attribute cannot be specified for local variables ...
arch/arm/plat-s3c/include/plat/uncompress.h:67: error: section attribute cannot be specified for local variables
arch/arm/plat-s3c/include/plat/uncompress.h:74: error: section attribute cannot be specified for local variables
arch/arm/plat-s3c/include/plat/uncompress.h: In function 鈥榓rch_enable_uart_fifo鈥?
arch/arm/plat-s3c/include/plat/uncompress.h:147: error: section attribute cannot be specified for local variables
arch/arm/plat-s3c/include/plat/uncompress.h:154: error: section attribute cannot be specified for local variables
In file included from arch/arm/boot/compressed/misc.c:30:
arch/arm/mach-s3c2410/include/mach/uncompress.h: In function 鈥榓rch_detect_cpu鈥?
arch/arm/mach-s3c2410/include/mach/uncompress.h:43: error: section attribute cannot be specified for local variables
arch/arm/boot/compressed/misc.c: In function 鈥榠cedcc_putc鈥?
arch/arm/boot/compressed/misc.c:57: error: section attribute cannot be specified for local variables
arch/arm/boot/compressed/misc.c: In function 鈥榩utstr鈥?
arch/arm/boot/compressed/misc.c:77: error: section attribute cannot be specified for local variables
arch/arm/boot/compressed/misc.c: In function 鈥榑_memzero鈥?
arch/arm/boot/compressed/misc.c:112: error: section attribute cannot be specified for local variables
arch/arm/boot/compressed/misc.c:119: error: section attribute cannot be specified for local variables
arch/arm/boot/compressed/misc.c:124: error: section attribute cannot be specified for local variables
arch/arm/boot/compressed/misc.c:127: error: section attribute cannot be specified for local variables
arch/arm/boot/compressed/misc.c:132: error: section attribute cannot be specified for local variables
arch/arm/boot/compressed/misc.c: In function 鈥榤emcpy鈥?
arch/arm/boot/compressed/misc.c:153: error: section attribute cannot be specified for local variables
arch/arm/boot/compressed/misc.c:160: error: section attribute cannot be specified for local variables
arch/arm/boot/compressed/misc.c:165: error: section attribute cannot be specified for local variables
In file included from arch/arm/boot/compressed/misc.c:244:
arch/arm/boot/compressed/../../../../lib/inflate.c: In function 鈥榤alloc鈥?
.
.
.
.arch/arm/boot/compressed/misc.c: In function 鈥榝ill_inbuf鈥?
arch/arm/boot/compressed/misc.c:252: error: section attribute cannot be specified for local variables
、
编译内核报错,请问这个是什么问题,大家帮忙。
arch/arm/plat-s3c/include/plat/uncompress.h:74: error: section attribute cannot be specified for local variables
arch/arm/plat-s3c/include/plat/uncompress.h: In function 鈥榓rch_enable_uart_fifo鈥?
arch/arm/plat-s3c/include/plat/uncompress.h:147: error: section attribute cannot be specified for local variables
arch/arm/plat-s3c/include/plat/uncompress.h:154: error: section attribute cannot be specified for local variables
In file included from arch/arm/boot/compressed/misc.c:30:
arch/arm/mach-s3c2410/include/mach/uncompress.h: In function 鈥榓rch_detect_cpu鈥?
arch/arm/mach-s3c2410/include/mach/uncompress.h:43: error: section attribute cannot be specified for local variables
arch/arm/boot/compressed/misc.c: In function 鈥榠cedcc_putc鈥?
arch/arm/boot/compressed/misc.c:57: error: section attribute cannot be specified for local variables
arch/arm/boot/compressed/misc.c: In function 鈥榩utstr鈥?
arch/arm/boot/compressed/misc.c:77: error: section attribute cannot be specified for local variables
arch/arm/boot/compressed/misc.c: In function 鈥榑_memzero鈥?
arch/arm/boot/compressed/misc.c:112: error: section attribute cannot be specified for local variables
arch/arm/boot/compressed/misc.c:119: error: section attribute cannot be specified for local variables
arch/arm/boot/compressed/misc.c:124: error: section attribute cannot be specified for local variables
arch/arm/boot/compressed/misc.c:127: error: section attribute cannot be specified for local variables
arch/arm/boot/compressed/misc.c:132: error: section attribute cannot be specified for local variables
arch/arm/boot/compressed/misc.c: In function 鈥榤emcpy鈥?
arch/arm/boot/compressed/misc.c:153: error: section attribute cannot be specified for local variables
arch/arm/boot/compressed/misc.c:160: error: section attribute cannot be specified for local variables
arch/arm/boot/compressed/misc.c:165: error: section attribute cannot be specified for local variables
In file included from arch/arm/boot/compressed/misc.c:244:
arch/arm/boot/compressed/../../../../lib/inflate.c: In function 鈥榤alloc鈥?
.
.
.
.arch/arm/boot/compressed/misc.c: In function 鈥榝ill_inbuf鈥?
arch/arm/boot/compressed/misc.c:252: error: section attribute cannot be specified for local variables
、
编译内核报错,请问这个是什么问题,大家帮忙。
|
是不是编译器不对瓦