Hi all,
I followed the instruction in wiki
http://wiki.xen.org/wiki/Xen_ARMv7_with_Virtualization_Extensions as like
this:
1. git the specific vexpress-dt branch of
git://xenbits.xen.org/people/dvrabel/linux.git<http://xenbits.xen.org/gitweb/?p=people/dvrabel/linux.git;a=summary>
2. download configuration file and copy it into source code folder.
3. compile.
/home/josh/project/xen/linux/arch/arm/include/asm/processor.h:86:5:
warning: "__LINUX_ARM_ARCH__" is not defined [-Wundef]
/home/josh/project/xen/linux/arch/arm/include/asm/processor.h:106:5:
warning: "__LINUX_ARM_ARCH__" is not defined [-Wundef]
In file included from include/linux/atomic.h:4:0,
from include/linux/spinlock.h:387,
from include/linux/seqlock.h:29,
from include/linux/time.h:8,
from include/linux/timex.h:56,
from include/linux/sched.h:57,
from arch/arm/kernel/asm-offsets.c:13:
/home/josh/project/xen/linux/arch/arm/include/asm/atomic.h:30:5: warning:
"__LINUX_ARM_ARCH__" is not defined [-Wundef]
In file included from include/linux/time.h:9:0,
from include/linux/timex.h:56,
from include/linux/sched.h:57,
from arch/arm/kernel/asm-offsets.c:13:
include/linux/math64.h: In function 'div_u64_rem':
include/linux/math64.h:51:15: error: '__LINUX_ARM_ARCH__' undeclared (first
use in this function)
include/linux/math64.h:51:15: note: each undeclared identifier is reported
only once for each function it appears in
In file included from include/linux/mm_types.h:15:0,
from include/linux/sched.h:64,
from arch/arm/kernel/asm-offsets.c:13:
/home/josh/project/xen/linux/arch/arm/include/asm/page.h: At top level:
/home/josh/project/xen/linux/arch/arm/include/asm/page.h:116:2: error:
#error Unknown user operations model
In file included from include/linux/mm.h:43:0,
from arch/arm/kernel/asm-offsets.c:14:
/home/josh/project/xen/linux/arch/arm/include/asm/pgtable.h:235:5: warning:
"__LINUX_ARM_ARCH__" is not defined [-Wundef]
In file included from
/home/josh/project/xen/linux/arch/arm/include/asm/cacheflush.h:15:0,
from arch/arm/kernel/asm-offsets.c:16:
/home/josh/project/xen/linux/arch/arm/include/asm/glue-cache.h:129:2:
error: #error Unknown cache maintenance model
In file included from
/home/josh/project/xen/linux/arch/arm/include/asm/cacheflush.h:17:0,
from arch/arm/kernel/asm-offsets.c:16:
/home/josh/project/xen/linux/arch/arm/include/asm/cachetype.h:28:5:
warning: "__LINUX_ARM_ARCH__" is not defined [-Wundef]
/home/josh/project/xen/linux/arch/arm/include/asm/cachetype.h:33:7:
warning: "__LINUX_ARM_ARCH__" is not defined [-Wundef]
In file included from arch/arm/kernel/asm-offsets.c:16:0:
/home/josh/project/xen/linux/arch/arm/include/asm/cacheflush.h:194:7:
warning: "__LINUX_ARM_ARCH__" is not defined [-Wundef]
/home/josh/project/xen/linux/arch/arm/include/asm/cacheflush.h:196:7:
warning: "__LINUX_ARM_ARCH__" is not defined [-Wundef]
In file included from arch/arm/kernel/asm-offsets.c:17:0:
/home/josh/project/xen/linux/arch/arm/include/asm/glue-df.h:107:2: error:
#error Unknown data abort handler type
In file included from arch/arm/kernel/asm-offsets.c:18:0:
/home/josh/project/xen/linux/arch/arm/include/asm/glue-pf.h:54:2: error:
#error Unknown prefetch abort handler type
make[1]: *** [arch/arm/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2
I followed the instruction in wiki
http://wiki.xen.org/wiki/Xen_ARMv7_with_Virtualization_Extensions as like
this:
1. git the specific vexpress-dt branch of
git://xenbits.xen.org/people/dvrabel/linux.git<http://xenbits.xen.org/gitweb/?p=people/dvrabel/linux.git;a=summary>
2. download configuration file and copy it into source code folder.
3. compile.
/home/josh/project/xen/linux/arch/arm/include/asm/processor.h:86:5:
warning: "__LINUX_ARM_ARCH__" is not defined [-Wundef]
/home/josh/project/xen/linux/arch/arm/include/asm/processor.h:106:5:
warning: "__LINUX_ARM_ARCH__" is not defined [-Wundef]
In file included from include/linux/atomic.h:4:0,
from include/linux/spinlock.h:387,
from include/linux/seqlock.h:29,
from include/linux/time.h:8,
from include/linux/timex.h:56,
from include/linux/sched.h:57,
from arch/arm/kernel/asm-offsets.c:13:
/home/josh/project/xen/linux/arch/arm/include/asm/atomic.h:30:5: warning:
"__LINUX_ARM_ARCH__" is not defined [-Wundef]
In file included from include/linux/time.h:9:0,
from include/linux/timex.h:56,
from include/linux/sched.h:57,
from arch/arm/kernel/asm-offsets.c:13:
include/linux/math64.h: In function 'div_u64_rem':
include/linux/math64.h:51:15: error: '__LINUX_ARM_ARCH__' undeclared (first
use in this function)
include/linux/math64.h:51:15: note: each undeclared identifier is reported
only once for each function it appears in
In file included from include/linux/mm_types.h:15:0,
from include/linux/sched.h:64,
from arch/arm/kernel/asm-offsets.c:13:
/home/josh/project/xen/linux/arch/arm/include/asm/page.h: At top level:
/home/josh/project/xen/linux/arch/arm/include/asm/page.h:116:2: error:
#error Unknown user operations model
In file included from include/linux/mm.h:43:0,
from arch/arm/kernel/asm-offsets.c:14:
/home/josh/project/xen/linux/arch/arm/include/asm/pgtable.h:235:5: warning:
"__LINUX_ARM_ARCH__" is not defined [-Wundef]
In file included from
/home/josh/project/xen/linux/arch/arm/include/asm/cacheflush.h:15:0,
from arch/arm/kernel/asm-offsets.c:16:
/home/josh/project/xen/linux/arch/arm/include/asm/glue-cache.h:129:2:
error: #error Unknown cache maintenance model
In file included from
/home/josh/project/xen/linux/arch/arm/include/asm/cacheflush.h:17:0,
from arch/arm/kernel/asm-offsets.c:16:
/home/josh/project/xen/linux/arch/arm/include/asm/cachetype.h:28:5:
warning: "__LINUX_ARM_ARCH__" is not defined [-Wundef]
/home/josh/project/xen/linux/arch/arm/include/asm/cachetype.h:33:7:
warning: "__LINUX_ARM_ARCH__" is not defined [-Wundef]
In file included from arch/arm/kernel/asm-offsets.c:16:0:
/home/josh/project/xen/linux/arch/arm/include/asm/cacheflush.h:194:7:
warning: "__LINUX_ARM_ARCH__" is not defined [-Wundef]
/home/josh/project/xen/linux/arch/arm/include/asm/cacheflush.h:196:7:
warning: "__LINUX_ARM_ARCH__" is not defined [-Wundef]
In file included from arch/arm/kernel/asm-offsets.c:17:0:
/home/josh/project/xen/linux/arch/arm/include/asm/glue-df.h:107:2: error:
#error Unknown data abort handler type
In file included from arch/arm/kernel/asm-offsets.c:18:0:
/home/josh/project/xen/linux/arch/arm/include/asm/glue-pf.h:54:2: error:
#error Unknown prefetch abort handler type
make[1]: *** [arch/arm/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2