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: <deshantm@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] xen-unstable compile error in linux-2.6.18-xen_x86_64 and x86
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Sat, 28 Jul 2007 08:41:30 +0100
Delivery-date: Sat, 28 Jul 2007 00:36:28 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1e16a9ed0707272303q5a740c0cn7823a093047db1f1@xxxxxxxxxxxxxx>
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
Thread-index: AcfQ6rYi9N14ETzdEdyPPQAWy6hiGQ==
Thread-topic: [Xen-devel] xen-unstable compile error in linux-2.6.18-xen_x86_64 and x86
User-agent: Microsoft-Entourage/11.3.3.061214
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.

 -- 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