Hi,
i've done an hg pull and update and wanted to build a new dom0 kernel
for my dual P3.
I can build either a SMP kernel (X86_PC [=y] & SMP [=y]) or a Xen-Kernel
(X86_XEN [=y] & SMP [=n]). If I enable both I'll get the stuff down
there...
My .config is attached.
Maybee I'm doing something completly wrong... So please give me an
advice how to compile an smp-kernel for xen.
Thanks and kind regards,
Matthias Quade
root@gisele:/usr/src/linux# make
CHK include/linux/version.h
SPLIT include/linux/autoconf.h -> include/config/*
CC arch/i386/kernel/asm-offsets.s
In file included from include/asm/mach-xen/asm/fixmap.h:27,
from include/asm/mach-xen/asm/smp.h:16,
from include/linux/smp.h:19,
from include/asm/mach-xen/asm/system.h:7,
from include/asm/mach-xen/asm/processor.h:18,
from include/asm/thread_info.h:17,
from include/linux/thread_info.h:21,
from include/linux/preempt.h:10,
from include/linux/spinlock.h:50,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from arch/i386/kernel/asm-offsets.c:7:
include/asm/acpi.h: In Funktion »__acpi_acquire_global_lock«:
include/asm/acpi.h:67: Warnung: implicit declaration of function
`cmpxchg'
In file included from include/linux/pm.h:27,
from include/asm/apic.h:5,
from include/asm/mach-xen/asm/smp.h:22,
from include/linux/smp.h:19,
from include/asm/mach-xen/asm/system.h:7,
from include/asm/mach-xen/asm/processor.h:18,
from include/asm/thread_info.h:17,
from include/linux/thread_info.h:21,
from include/linux/preempt.h:10,
from include/linux/spinlock.h:50,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from arch/i386/kernel/asm-offsets.c:7:
include/linux/list.h: In Funktion »__list_add_rcu«:
include/linux/list.h:94: Warnung: implicit declaration of function
`smp_wmb'
In file included from include/asm/mach-xen/asm/smp.h:22,
from include/linux/smp.h:19,
from include/asm/mach-xen/asm/system.h:7,
from include/asm/mach-xen/asm/processor.h:18,
from include/asm/thread_info.h:17,
from include/linux/thread_info.h:21,
from include/linux/preempt.h:10,
from include/linux/spinlock.h:50,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from arch/i386/kernel/asm-offsets.c:7:
include/asm/apic.h: In Funktion »lapic_disable«:
include/asm/apic.h:26: error: `boot_cpu_data' undeclared (first use in
this function)
include/asm/apic.h:26: error: (Each undeclared identifier is reported
only once
include/asm/apic.h:26: error: for each function it appears in.)
include/asm/apic.h: In Funktion »apic_write_atomic«:
include/asm/apic.h:59: Warnung: implicit declaration of function `xchg'
include/asm/apic.h: In Funktion »apic_wait_icr_idle«:
include/asm/apic.h:70: Warnung: implicit declaration of function
`cpu_relax'
In file included from include/asm/mach-xen/asm/system.h:7,
from include/asm/mach-xen/asm/processor.h:18,
from include/asm/thread_info.h:17,
from include/linux/thread_info.h:21,
from include/linux/preempt.h:10,
from include/linux/spinlock.h:50,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from arch/i386/kernel/asm-offsets.c:7:
include/linux/smp.h: In Funktion »on_each_cpu«:
include/linux/smp.h:67: Warnung: implicit declaration of function
`preempt_disable'
include/linux/smp.h:70: Warnung: implicit declaration of function
`preempt_enable'
In file included from include/asm/thread_info.h:17,
from include/linux/thread_info.h:21,
from include/linux/preempt.h:10,
from include/linux/spinlock.h:50,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from arch/i386/kernel/asm-offsets.c:7:
include/asm/mach-xen/asm/processor.h: Auf höchster Ebene:
include/asm/mach-xen/asm/processor.h:90: error: `boot_cpu_data' used
prior to declaration
include/asm/mach-xen/asm/processor.h:690: error: redefinition of
`prefetch'
include/linux/prefetch.h:43: error: `prefetch' previously defined here
include/asm/mach-xen/asm/processor.h:704: error: redefinition of
`prefetchw'
include/linux/prefetch.h:47: error: `prefetchw' previously defined here
make[1]: *** [arch/i386/kernel/asm-offsets.s] Fehler 1
make: *** [prepare0] Fehler 2
root@gisele:/usr/src/linux#
.config
Description: Text document
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|