日期:2014-05-16  浏览次数:20666 次

【在线讨论】针对arm板编译内核出现问题
[root@localhost linux-2.6.22.1]# make zImage
  HOSTLD scripts/kconfig/conf
scripts/kconfig/conf -s arch/arm/Kconfig
  CHK include/linux/version.h
  UPD include/linux/version.h
  SYMLINK include/asm-arm/arch -> include/asm-arm/arch-s3c2410
  Generating include/asm-arm/mach-types.h
  CHK include/linux/utsrelease.h
  UPD include/linux/utsrelease.h
  SYMLINK include/asm -> include/asm-arm
  CC arch/arm/kernel/asm-offsets.s
In file included from include/linux/irqflags.h:46,
  from include/asm/system.h:78,
  from include/asm/bitops.h:23,
  from include/linux/bitops.h:9,
  from include/linux/thread_info.h:20,
  from include/linux/preempt.h:9,
  from include/linux/spinlock.h:49,
  from include/linux/capability.h:47,
  from include/linux/sched.h:46,
  from arch/arm/kernel/asm-offsets.c:13:
include/asm/irqflags.h:11:5: warning: "__LINUX_ARM_ARCH__" is not defined
In file included from include/asm/bitops.h:23,
  from include/linux/bitops.h:9,
  from include/linux/thread_info.h:20,
  from include/linux/preempt.h:9,
  from include/linux/spinlock.h:49,
  from include/linux/capability.h:47,
  from include/linux/sched.h:46,
  from arch/arm/kernel/asm-offsets.c:13:
include/asm/system.h:153:5: warning: "__LINUX_ARM_ARCH__" is not defined
include/asm/system.h:159:5: warning: "__LINUX_ARM_ARCH__" is not defined
include/asm/system.h:163:35: warning: "__LINUX_ARM_ARCH__" is not defined
include/asm/system.h:293:5: warning: "__LINUX_ARM_ARCH__" is not defined
include/asm/system.h:298:5: warning: "__LINUX_ARM_ARCH__" is not defined
In file included from include/linux/bitops.h:9,
  from include/linux/thread_info.h:20,
  from include/linux/preempt.h:9,
  from include/linux/spinlock.h:49,
  from include/linux/capability.h:47,
  from include/linux/sched.h:46,
  from arch/arm/kernel/asm-offsets.c:13:
include/asm/bitops.h:233:5: warning: "__LINUX_ARM_ARCH__" is not defined
In file included from include/asm/thread_info.h:16,
  from include/linux/thread_info.h:21,
  from include/linux/preempt.h:9,
  from include/linux/spinlock.h:49,
  from include/linux/capability.h:47,
  from include/linux/sched.h:46,
  from arch/arm/kernel/asm-offsets.c:13:
include/asm/fpstate.h:28:5: warning: "__LINUX_ARM_ARCH__" is not defined
In file included from include/linux/spinlock.h:326,
  from include/linux/capability.h:47,
  from include/linux/sched.h:46,
  from arch/arm/kernel/asm-offsets.c:13:
include/asm/atomic.h:25:5: warning: "__LINUX_ARM_ARCH__" is not defined
In file included from include/linux/prefetch.h:14,
  from include/linux/list.h:8,
  from include/linux/wait.h:22,
  from include/asm/semaphore.h:9,
  from include/linux/sched.h:59,
  from arch/arm/kernel/asm-offsets.c:13:
include/asm/processor.h:103:5: warning: "__LINUX_ARM_