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

[Xen-devel] x86_64 build broken?


  • To: "Xen Development List" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Puthiyaparambil, Aravindh" <aravindh.puthiyaparambil@xxxxxxxxxx>
  • Date: Mon, 16 May 2005 13:33:07 -0400
  • Delivery-date: Mon, 16 May 2005 17:32:44 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcVaPVK3yQgP8nDsTUaUEp7xeaMxBw==
  • Thread-topic: x86_64 build broken?

I am not able to build the latest x86_64 xen-unstable on SLES9 SP1 x86_64. Here is the build output. Am I doing anything wrong here?

Aravindh

gcc  -DPIC  -m64 -Wall -Werror -O3 -fno-strict-aliasing -I ../../tools/libxutil -I. -Wp,-MD,.xc_ptrace.opic.d -fPIC -c -o xc_ptrace.opic xc_ptrace.c

In file included from /usr/include/asm/sigcontext.h:4,

                 from /usr/include/asm-x86_64/processor.h:13,

                 from /usr/include/asm/processor.h:4,

                 from /usr/include/asm-x86_64/elf.h:10,

                 from /usr/include/asm/elf.h:4,

                 from xc_ptrace.c:4:

/usr/include/asm-x86_64/sigcontext.h:9: error: redefinition of `struct _fpstate'

/usr/include/asm-x86_64/sigcontext.h:23: error: redefinition of `struct sigcontext'

In file included from /usr/include/asm/pda.h:4,

                 from /usr/include/asm-x86_64/current.h:7,

                 from /usr/include/asm/current.h:4,

                 from /usr/include/asm-x86_64/processor.h:18,

                 from /usr/include/asm/processor.h:4,

                 from /usr/include/asm-x86_64/elf.h:10,

                 from /usr/include/asm/elf.h:4,

                 from xc_ptrace.c:4:

/usr/include/asm-x86_64/pda.h:26: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)

/usr/include/asm-x86_64/pda.h:26: error: requested alignment is not a constant

In file included from /usr/include/asm/system.h:4,

                 from /usr/include/asm-x86_64/processor.h:19,

                 from /usr/include/asm/processor.h:4,

                 from /usr/include/asm-x86_64/elf.h:10,

                 from /usr/include/asm/elf.h:4,

                 from xc_ptrace.c:4:

/usr/include/asm-x86_64/system.h: In function `__cmpxchg':

/usr/include/asm-x86_64/system.h:249: error: `LOCK_PREFIX' undeclared (first use in this function)

/usr/include/asm-x86_64/system.h:249: error: (Each undeclared identifier is reported only once

/usr/include/asm-x86_64/system.h:249: error: for each function it appears in.)

/usr/include/asm-x86_64/system.h:249: error: parse error before string constant

/usr/include/asm-x86_64/system.h:255: error: parse error before string constant

/usr/include/asm-x86_64/system.h:261: error: parse error before string constant

/usr/include/asm-x86_64/system.h:267: error: parse error before string constant

In file included from /usr/include/asm/processor.h:4,

                 from /usr/include/asm-x86_64/elf.h:10,

                 from /usr/include/asm/elf.h:4,

                 from xc_ptrace.c:4:

/usr/include/asm-x86_64/processor.h: At top level:

/usr/include/asm-x86_64/processor.h:229: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)

/usr/include/asm-x86_64/processor.h:229: error: requested alignment is not a constant

/usr/include/asm-x86_64/processor.h: In function `prefetchw':

/usr/include/asm-x86_64/processor.h:396: error: called object is not a function

make[4]: *** [xc_ptrace.opic] Error 1

make[4]: Leaving directory `/root/xen/xeno-unstable.bk/tools/libxc'

make[3]: *** [build] Error 2

make[3]: Leaving directory `/root/xen/xeno-unstable.bk/tools/libxc'

make[2]: *** [install] Error 2

make[2]: Leaving directory `/root/xen/xeno-unstable.bk/tools'

make[1]: *** [tools] Error 2

make[1]: Leaving directory `/root/xen/xeno-unstable.bk'

make: *** [world] Error 2

_______________________________________________
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®.