|
我编译的内核版本是2.6.8采用的是源码方试进行编译出现了问题
www:/usr/src/kernel-source-2.6.8# make-kpkg kernel-image
Please ignore the warning about overriding and ignoring targets above.
These are harmless. They are only invoked in a part of the process
that tries to snarf variable values for the conf.vars file.
echo done > stamp-configure
test -f stamp-configure || /usr/bin/make -f /usr/share/kernel-package/rules configure
/usr/bin/make ARCH=i386 \
bzImage
make[1]: Entering directory `/usr/src/kernel-source-2.6.8'
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/file2alias.o
HOSTCC scripts/mod/modpost.o
HOSTCC scripts/mod/sumversion.o
HOSTLD scripts/mod/modpost
make[2]: `arch/i386/kernel/asm-offsets.s' is up to date.
CHK include/asm-i386/asm_offsets.h
CHK include/linux/compile.h
CC arch/i386/kernel/process.o
{standard input}: Assembler messages:
{standard input}:730: Error: suffix or operands invalid for `mov'
{standard input}:731: Error: suffix or operands invalid for `mov'
{standard input}:920: Error: suffix or operands invalid for `mov'
{standard input}:921: Error: suffix or operands invalid for `mov'
{standard input}:1020: Error: suffix or operands invalid for `mov'
{standard input}:1021: Error: suffix or operands invalid for `mov'
{standard input}:1103: Error: suffix or operands invalid for `mov'
{standard input}:1104: Error: suffix or operands invalid for `mov'
{standard input}:1170: Error: suffix or operands invalid for `mov'
{standard input}:1182: Error: suffix or operands invalid for `mov'
make[2]: *** [arch/i386/kernel/process.o] Error 1
make[1]: *** [arch/i386/kernel] Error 2
make[1]: Leaving directory `/usr/src/kernel-source-2.6.8'
make: *** [stamp-build] Error 2
www:/usr/src/kernel-source-2.6.8#
从出错的提示来看好像是处理器的什么问题
我的make menuconfig
Processor type and features --->
Subarchitecture Type (PC-compatible) --->
(X) PC-compatible
Processor family (Pentium-4/Celeron(P4-based)/Pentium-4 M/Xeon)
(X) Pentium-4/Celeron(P4-based)/Pentium-4 M/Xeon Generic x86 support
[ ] 486 emulation HPET Timer Support
[ ] Symmetric multi-processing support Preemptible Kernel Local APIC support on uniprocessors IO-APIC support on uniprocessors
[ ] Machine Check Exception
< > Toshiba Laptop support
< > Dell laptop support
< > /dev/cpu/microcode - Intel IA32 CPU microcode support
<M> /dev/cpu/*/msr - Model-specific register support
<M> /dev/cpu/*/cpuid - CPU information support
Firmware Drivers --->
High Memory Support (4GB) --->
[ ] Allocate 3rd-level pagetables from highmem
[ ] Math emulation MTRR (Memory Type Range Register) support
[ ] Boot from EFI support (EXPERIMENTAL)
[ ] Use register arguments (EXPERIMENTAL) |
|