[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] xen-unstable compile error in linux-2.6.18-xen_x86_64 and x86


  • To: <deshantm@xxxxxxxxx>
  • From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
  • Date: Sun, 29 Jul 2007 08:17:19 +0100
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Sun, 29 Jul 2007 00:11:25 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcfRsH+vvjPQ9j2jEdywqQAWy6hiGQ==
  • Thread-topic: [Xen-devel] xen-unstable compile error in linux-2.6.18-xen_x86_64 and x86

If you revert changesets 131 and 130 in your linux-2.6.18-xen.hg tree, does the problem go away? Another thing to try is: you’ll get more info about exactly what the build system is doing if you set ‘V=1’ while building Linux.

 -- Keir

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



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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.