WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] compiler errors in latest unstable from 20051027

On Wed, 9 Nov 2005, Adam Heath wrote:

> On Wed, 9 Nov 2005, Ian Pratt wrote:
>
> >
> >
> > > -----Original Message-----
> > > From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
> > > [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Adam Heath
> > > Sent: 09 November 2005 17:23
> > > To: xen-devel@xxxxxxxxxxxxxxxxxxx
> > > Subject: [Xen-devel] compiler errors in latest unstable from 20051027
> >
> > Why are you using unstable from 20051027 rather than today? A week is a
> > long time in the unstable tree, and there have definitely been patches
> > in this area.
>
> Er, no.  I verified that smp_alt.h doesn't exist in the latest before sending
> this mail.  As for the other problems, that I didn't verify.

And I just verified that it doesn't work with latest unstable either.

==
purple2:~/kernel/xen/linux-2.6.12.6-xen0# cd ..
purple2:~/kernel/xen# mv linux-2.6.12.6-xen0/ foo
purple2:~/kernel/xen# rm foo -rf &
purple2:~/kernel/xen# cp linux-2.6.12.6 linux-2.6.12.6-xen0 -a
purple2:~/kernel/xen# wget 
http://www.cl.cam.ac.uk/Research/SRG/netos/xen/downloads/xen-unstable-src.tgz
purple2:~/kernel/xen# tar zxf xen-unstable-src.tgz
purple2:~/kernel/xen# cd xen-unstable/linux-2.6-xen-sparse/
purple2:~/kernel/xen/xen-unstable/linux-2.6-xen-sparse# ./mkbuildtree 
~/kernel/xen/linux-2.6.12.6-xen0/
purple2:~/kernel/xen/xen-unstable/linux-2.6-xen-sparse# cd 
~/kernel/xen/linux-2.6.12.6-xen0/
purple2:~/kernel/xen/linux-2.6.12.6-xen0# cp ../config-xen0 .config
purple2:~/kernel/xen/linux-2.6.12.6-xen0# make oldconfig ARCH=xen
purple2:~/kernel/xen/linux-2.6.12.6-xen0# make bzImage modules ARCH=xen 
CC=gcc-3.3
....
 CC      arch/i386/kernel/asm-offsets.s
In file included from include/asm-xen/asm/processor.h:18,
                 from include/asm/thread_info.h:17,
                 from include/linux/thread_info.h:21,
                 from include/linux/spinlock.h:12,
                 from include/linux/capability.h:45,
                 from include/linux/sched.h:7,
                 from arch/i386/kernel/asm-offsets.c:7:
include/asm-xen/asm/system.h:11:25: asm/smp_alt.h: No such file or directory
In file included from include/asm-xen/asm/processor.h:18,
                 from include/asm/thread_info.h:17,
                 from include/linux/thread_info.h:21,
                 from include/linux/spinlock.h:12,
                 from include/linux/capability.h:45,
                 from include/linux/sched.h:7,
                 from arch/i386/kernel/asm-offsets.c:7:
include/asm-xen/asm/system.h: In function `__cmpxchg':
include/asm-xen/asm/system.h:256: error: `LOCK' undeclared (first use in this 
function)
include/asm-xen/asm/system.h:256: error: (Each undeclared identifier is 
reported only once
include/asm-xen/asm/system.h:256: error: for each function it appears in.)
include/asm-xen/asm/system.h:256: error: syntax error before string constant
include/asm-xen/asm/system.h:262: error: syntax error before string constant
include/asm-xen/asm/system.h:268: error: syntax error before string constant
In file included from include/linux/spinlock.h:43,
                 from include/linux/capability.h:45,
                 from include/linux/sched.h:7,
                 from arch/i386/kernel/asm-offsets.c:7:
include/asm-xen/asm/spinlock.h:9:25: asm/smp_alt.h: No such file or directory
make[1]: *** [arch/i386/kernel/asm-offsets.s] Error 1
make: *** [arch/i386/kernel/asm-offsets.s] Error 2
==


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel