From: Xin Zhao Subject: Is is possible to use the latest changeset and old linux kernel? Date: Tue, 29 May 2007 15:06:09 -0400 Message-ID: <465C79A1.6070405@eecs.umich.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Hi, I tried to use the latest changeset of xen-unstable with an old linux=20 kernel (2.6.16.33), because some of my codes are developed based on that=20 Linux version. It seems that 2.6.18 changes quite a bit interfaces from=20 2.6.16.33. I set the "LINUX_VER =3D 2.6.16.33" in the file=20 "buildconfigs/mk.linux-2.6-xen". When I did "make world", the xen=20 builder did download 2.6.16.33 tarball. But the compiling procedure=20 failed with the following error message: /****************************************************/ include2/asm/i387.h: In function =E2__save_init_fpu=E2: include2/asm/i387.h:63: error: expected expression before =E2[=E2 token include2/asm/i387.h:63: error: =E2fx=E2 undeclared (first use in this fun= ction) include2/asm/i387.h:63: error: (Each undeclared identifier is reported=20 only once include2/asm/i387.h:63: error: for each function it appears in.) include2/asm/i387.h:73: error: expected expression before =E2[=E2 token include2/asm/i387.h:73: error: =E2addr=E2 undeclared (first use in this=20 function) /tmp/xen-unstable.hg/linux-2.6.16.33-xen/arch/i386/kernel/asm-offsets.c:=20 In function =E2foo=E2: /tmp/xen-unstable.hg/linux-2.6.16.33-xen/arch/i386/kernel/asm-offsets.c:5= 8:=20 error: =E2struct thread_info=E2 has no member named =E2sysenter_return=E2 /tmp/xen-unstable.hg/linux-2.6.16.33-xen/arch/i386/kernel/asm-offsets.c:7= 9:=20 error: =E2VDSO_PRELINK=E2 undeclared (first use in this function) /tmp/xen-unstable.hg/linux-2.6.16.33-xen/arch/i386/kernel/asm-offsets.c:8= 1:=20 error: =E2struct crypto_tfm=E2 has no member named =E2__crt_ctx=E2 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=20 kernel? Thanks, Xin