make
HOSTCC scripts/genksyms/genksyms.o
SHIPPED scripts/genksyms/lex.c
SHIPPED scripts/genksyms/parse.h
SHIPPED scripts/genksyms/keywords.c
HOSTCC scripts/genksyms/lex.o
scripts/genksyms/lex.c:1228: warning: ‘input’ defined but not used
SHIPPED scripts/genksyms/parse.c
HOSTCC scripts/genksyms/parse.o
HOSTLD scripts/genksyms/genksyms
CC scripts/empty.o
MKELF scripts/elfconfig.h
HOSTCC scripts/file2alias.o
HOSTCC scripts/modpost.o
HOSTLD scripts/modpost
SPLIT include/linux/autoconf.h -> include/config/*
CC arch/x86_64/kernel/asm-offsets.s
In file included from include/linux/spinlock.h:16,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from arch/x86_64/kernel/asm-offsets.c:7:
include/asm/processor.h:80: error: array type has incomplete element type
In file included from include/asm/smp.h:18,
from include/linux/smp.h:17,
from include/linux/sched.h:23,
from arch/x86_64/kernel/asm-offsets.c:7:
include/asm/mpspec.h:79: warning: ‘packed’ attribute ignored for field of type ‘unsigned char[6]’
In file included from include/asm/smp.h:22,
from include/linux/smp.h:17,
from include/linux/sched.h:23,
from arch/x86_64/kernel/asm-offsets.c:7:
include/asm/apic.h: In function ‘apic_write_atomic’:
include/asm/apic.h:33: warning: value computed is not used
In file included from include/linux/topology.h:35,
from include/linux/mmzone.h:297,
from include/linux/gfp.h:4,
from include/linux/slab.h:15,
from include/linux/percpu.h:4,
from include/linux/sched.h:31,
from arch/x86_64/kernel/asm-offsets.c:7:
include/asm/topology.h: At top level:
include/asm/topology.h:15: error: conflicting types for ‘cpu_online_map’
include/asm/smp.h:39: note: previous declaration of ‘cpu_online_map’ was here
include/asm/topology.h: In function ‘pcibus_to_cpumask’:
include/asm/topology.h:26: error: invalid operands to binary & (have ‘cpumask_t’ and ‘long unsigned int’)
In file included from include/linux/mmzone.h:297,
from include/linux/gfp.h:4,
from include/linux/slab.h:15,
from include/linux/percpu.h:4,
from include/linux/sched.h:31,
from arch/x86_64/kernel/asm-offsets.c:7:
include/linux/topology.h: In function ‘__next_node_with_cpus’:
include/linux/topology.h:50: error: incompatible types when assigning to type ‘cpumask_t’ from type ‘long unsigned int’
make[1]: *** [arch/x86_64/kernel/asm-offsets.s] Error 1
make: *** [arch/x86_64/kernel/asm-offsets.s] Error 2 作者: wayling 时间: 2012-02-07 10:39
你.config用错 或是你编译环境用错都有可能, 请检查作者: morgin7 时间: 2012-02-07 10:42
哦,谢谢,新手,请指点怎么检查呢?作者: wayling 时间: 2012-02-07 12:48
你gcc ,kernel, 怎么来的,版本是多少, gcc 跟kernl版本太多了 有些不兼容或需要做修改,
config你怎么设的,我看你是想编x64的kernel ?你去找正确的config来用八 作者: morgin7 时间: 2012-02-07 14:10
嗯:以下是版本号: