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

[Xen-devel] Is is possible to use the latest changeset and old linux ker

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Is is possible to use the latest changeset and old linux kernel?
From: Xin Zhao <zhaoxin@xxxxxxxxxxxxxx>
Date: Tue, 29 May 2007 15:06:09 -0400
Delivery-date: Tue, 29 May 2007 12:04:33 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.0 (Windows/20070326)
Hi,

I tried to use the latest changeset of xen-unstable with an old linux kernel (2.6.16.33), because some of my codes are developed based on that Linux version. It seems that 2.6.18 changes quite a bit interfaces from 2.6.16.33.

I set the "LINUX_VER = 2.6.16.33" in the file "buildconfigs/mk.linux-2.6-xen". When I did "make world", the xen builder did download 2.6.16.33 tarball. But the compiling procedure failed with the following error message:

/****************************************************/
include2/asm/i387.h: In function â__save_init_fpuâ:
include2/asm/i387.h:63: error: expected expression before â[â token
include2/asm/i387.h:63: error: âfxâ undeclared (first use in this function)
include2/asm/i387.h:63: error: (Each undeclared identifier is reported only once
include2/asm/i387.h:63: error: for each function it appears in.)
include2/asm/i387.h:73: error: expected expression before â[â token
include2/asm/i387.h:73: error: âaddrâ undeclared (first use in this function) /tmp/xen-unstable.hg/linux-2.6.16.33-xen/arch/i386/kernel/asm-offsets.c: In function âfooâ: /tmp/xen-unstable.hg/linux-2.6.16.33-xen/arch/i386/kernel/asm-offsets.c:58: error: âstruct thread_infoâ has no member named âsysenter_returnâ /tmp/xen-unstable.hg/linux-2.6.16.33-xen/arch/i386/kernel/asm-offsets.c:79: error: âVDSO_PRELINKâ undeclared (first use in this function) /tmp/xen-unstable.hg/linux-2.6.16.33-xen/arch/i386/kernel/asm-offsets.c:81: error: âstruct crypto_tfmâ has no member named â__crt_ctxâ
make[7]: *** [arch/i386/kernel/asm-offsets.s] Error 1
make[6]: *** [prepare0] Error 2
make[5]: *** [modules] Error 2
make[4]: *** [modules] Error 2
/****************************************************/

So my question is how to use the latest Xen changeset with old Linux kernel?

Thanks,
Xin


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

<Prev in Thread] Current Thread [Next in Thread>