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] xen-unstable compile error in linux-2.6.18-xen_x86_64 an

To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] xen-unstable compile error in linux-2.6.18-xen_x86_64 and x86
From: "Todd Deshane" <deshantm@xxxxxxxxx>
Date: Sat, 28 Jul 2007 16:32:34 -0400
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 28 Jul 2007 13:30:12 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:references; b=e//Gqmcs0PkVsL3/XviQ07KysTmrXWqhyGzrxxMYzG0BIUz+IHTPKoLvKaZ4YFzcUed5/OQjeHfPXquiNnIF6I33lk+jF40c4YmUjqrtqBkbWtxDTmG8VBiV2/PFDPEsyY4l85VJ9tb15BAtZmxK8RF+bKgqBVvkB9UnNSCzbxs=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:references; b=Da9I4I2Yo0t1MJbtglDTXlLSvft7Xkr9ezXsvipRwWQBHgpJEQ/9sLxZEkbc7VQJLbapeI5VmcO3kMtELHwrda+uStAOB/uRLh0skLiISCEcde1Xm2XzNFoQBVecxcaUkxH2l6tVEW1A3o4YKN9Dxa3as4Kk3kY60XW/b81I5zw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C2D0B1BA.B930%Keir.Fraser@xxxxxxxxxxxx>
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>
References: <1e16a9ed0707272303q5a740c0cn7823a093047db1f1@xxxxxxxxxxxxxx> <C2D0B1BA.B930%Keir.Fraser@xxxxxxxxxxxx>
Reply-to: deshantm@xxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx


On 7/28/07, Keir Fraser <Keir.Fraser@xxxxxxxxxxxx> wrote:
You need to do a completely clean build (make mrproper at the root of your Xen repository, thus deleting old Linux build trees). You are not correctly picking up *- xen.c versions of files.

I did the make mrproper, but I still get the problem. I pulled them from http://xenbits.xensource.com/ directly, and still after running the make mrproper, I get the same errors.

Any other suggestions?

Thanks,
Todd


 -- Keir


On 28/7/07 07:03, "Todd Deshane" <deshantm@xxxxxxxxx> wrote:

Hi All,

I just pulled the latest xen-unstable.hg and linux-2.6.18.hg and I am getting the following compile error. Any suggestions on how to get it to compile correctly?

I also get the same error compiling under 32bit, so that is not the problem.

if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod -ae -F System.map -b /var/hg/repos/xen-unstable.hg/dist/install -r 2.6.18-xen ; fi
make[3]: Leaving directory `/var/hg/repos/xen-unstable.hg/build- linux-2.6.18-xen_x86_64'
make -C build-linux-2.6.18-xen_x86_64 ARCH=x86_64 INSTALL_PATH=/var/hg/repos/xen-unstable.hg/dist/install vmlinuz
make[3]: Entering directory `/var/hg/repos/xen-unstable.hg/build-linux-2.6.18-xen_x86_64 '
make -C /var/hg/repos/linux-2.6.18-xen.hg O=/var/hg/repos/xen-unstable.hg/build-linux-2.6.18-xen_x86_64 vmlinuz
  Using /var/hg/repos/linux-2.6.18-xen.hg as source for kernel
  GEN     /var/hg/repos/xen-unstable.hg /build-linux-2.6.18-xen_x86_64/Makefile
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  CHK     include/linux/compile.h
  CC      arch/x86_64/kernel/process.o
/var/hg/repos/linux-2.6.18-xen.hg /arch/x86_64/kernel/process.c: In function 'exit_thread':
/var/hg/repos/linux-2.6.18-xen.hg/arch/x86_64/kernel/process.c:349: error: 'per_cpu__init_tss' undeclared (first use in this function)
/var/hg/repos/linux- 2.6.18-xen.hg /arch/x86_64/kernel/process.c:349: error: (Each undeclared identifier is reported only once
/var/hg/repos/linux-2.6.18-xen.hg/arch/x86_64/kernel/process.c:349: error: for each function it appears in.)
/var/hg/repos/linux- 2.6.18-xen.hg/arch/x86_64/kernel/process.c:349: warning: type defaults to 'int' in declaration of 'type name'
/var/hg/repos/linux-2.6.18-xen.hg/arch/x86_64/kernel/process.c:349: error: invalid type argument of 'unary *'
/var/hg/repos/linux-2.6.18-xen.hg/arch/x86_64/kernel/process.c:356: error: dereferencing pointer to incomplete type
/var/hg/repos/linux-2.6.18-xen.hg/arch/x86_64/kernel/process.c: In function '__switch_to':
/var/hg/repos/linux- 2.6.18-xen.hg/arch/x86_64/kernel/process.c:516: error: 'per_cpu__init_tss' undeclared (first use in this function)
/var/hg/repos/linux-2.6.18-xen.hg/arch/x86_64/kernel/process.c:516: warning: type defaults to 'int' in declaration of 'type name'
/var/hg/repos/linux-2.6.18-xen.hg/arch/x86_64/kernel/process.c:516: error: invalid type argument of 'unary *'
/var/hg/repos/linux-2.6.18-xen.hg/arch/x86_64/kernel/process.c:521: error: dereferencing pointer to incomplete type
/var/hg/repos/linux-2.6.18-xen.hg/arch/x86_64/kernel/process.c:611: error: dereferencing pointer to incomplete type
/var/hg/repos/linux-2.6.18-xen.hg/arch/x86_64/kernel/process.c:611: error: dereferencing pointer to incomplete type
/var/hg/repos/linux-2.6.18-xen.hg/arch/x86_64/kernel/process.c:617: error: dereferencing pointer to incomplete type
make[6]: *** [arch/x86_64/kernel/process.o] Error 1
make[5]: *** [arch/x86_64/kernel] Error 2
make[4]: *** [vmlinuz] Error 2
make[3]: *** [vmlinuz] Error 2
make[3]: Leaving directory `/var/hg/repos/xen-unstable.hg/build-linux-2.6.18-xen_x86_64'
make[2]: *** [build] Error 2
make[2]: Leaving directory `/var/hg/repos/xen- unstable.hg'
make[1]: *** [linux-2.6-xen-install] Error 2
make[1]: Leaving directory `/var/hg/repos/xen-unstable.hg'
make: *** [install-kernels] Error 1

Thanks,
Todd



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


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