内核编译模块不通过
执行命令:make ARCH=arm CROSS_COMPILE=arm-hismall-linux-
CHK include/linux/version.h
UPD include/linux/version.h
SPLIT include/linux/autoconf.h -> include/config/*
SYMLINK include/asm-arm/arch -> include/asm-arm/arch-rpc
Generating include/asm-arm/mach-types.h
SYMLINK include/asm -> include/asm-arm
CC arch/arm/kernel/asm-offsets.s
In file included from include/asm/page.h:27,
from include/asm/cpu-single.h:33,
from include/asm/proc-fns.h:154,
from include/asm/system.h:96,
from include/asm/bitops.h:22,
from include/linux/bitops.h:77,
from include/linux/thread_info.h:20,
from include/linux/spinlock.h:53,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from arch/arm/kernel/asm-offsets.c:13:
include/asm/glue.h:111:2: #error Unknown data abort handler type
In file included from include/asm/cpu-single.h:33,
from include/asm/proc-fns.h:154,
from include/asm/system.h:96,
from include/asm/bitops.h:22,
from include/linux/bitops.h:77,
from include/linux/thread_info.h:20,
from include/linux/spinlock.h:53,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from arch/arm/kernel/asm-offsets.c:13:
include/asm/page.h:92:2: #error Unknown user operations model
In file included from include/asm/bitops.h:22,
from include/linux/bitops.h:77,
from include/linux/thread_info.h:20,
from include/linux/spinlock.h:53,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from arch/arm/kernel/asm-offsets.c:13:
include/asm/system.h:136:5: warning: "__LINUX_ARM_ARCH__" is not defined
include/asm/system.h:142:5: warning: "__LINUX_ARM_ARCH__" is not defined
include/asm/system.h:177:5: warning: "__LINUX_ARM_ARCH__" is not defined
include/asm/system.h:341:5: warning: "__LINUX_ARM_ARCH__" is not defined
include/asm/system.h:346:5: warning: "__LINUX_ARM_ARCH__" is not defined
In file included from include/linux/bitops.h:77,
from include/linux/thread_info.h:20,
from include/linux/spinlock.h:53,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from arch/arm/kernel/asm-offsets.c:13:
include/asm/bitops.h:292:5: warning: "__LINUX_ARM_ARCH__" is not defined
In file included from include/linux/spinlock.h:213,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from arch/arm/kernel/asm-offsets.c:13:
include/asm/atomic.h:24:5: warning: "__LINUX_ARM_ARCH__" is not defined
In file included from include/linux/prefetch.h:14,
from include/linux/list.h:7,
from include/linux/wait.h:23,
from include/asm/semaphore.h:9,
from include/linux/sched.h:20,
from arch/arm/kernel/asm-offsets.c:13:
include/asm/processor.h:95:5: warning: "__LINUX_ARM_ARCH__" is not defined
In file included from include/asm/semaphore.h:13,
from include/linux/sched.h:20,
from arch/arm/kernel/asm-offsets.c:13:
include/asm/locks.h:15:5: warning: "__LINUX_ARM_ARCH__" is not defined
In file included from include/linux/sched.h:23,
from arch/arm/kernel/asm-offsets.c:13:
include/asm/mmu.h:5:5: warning: "__LINUX_ARM_ARCH__" is not defined
include/asm/mmu.h:10:5: warning: "__LINUX_ARM_ARCH__" is not defined
arch/arm/kernel/asm-offsets.c:87:5: warning: "__LINUX_ARM_ARCH__" is not defined
make[1]: *** [arch/arm/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2
请问有人知道吗????谢谢!!!!
[解决办法]
ARM吗? 我滴不懂。。。
看看这个http://blog.csdn.net/gniyliu/article/details/1660692
[解决办法]
进入menuconfig配置界面,选择System Type--->S3C2440 Machines根据你自身开发的需要来进行选择的
[解决办法]
内核没有配置好,make menuconfig配置它。
[解决办法]
代码写的有问题?还是 makefile 有问题?
[解决办法]
问题已经解决了,主要是没有选择添加对应的芯片,谢谢大家了!