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

[Xen-users] Redefined symbols on Aarch64


  • To: xen-users@xxxxxxxxxxxxx
  • From: John Paul Walters <jpnwalters@xxxxxxxxx>
  • Date: Sat, 17 Jan 2015 20:24:46 -0500
  • Delivery-date: Sun, 18 Jan 2015 01:26:31 +0000
  • List-id: Xen user discussion <xen-users.lists.xen.org>

Hi,

I'm trying to get Xen running on the X-Gene XC-1 hardware following
the following guide:

http://wiki.xen.org/wiki/Xen_ARM_with_Virtualization_Extensions/APMXGeneMustang#Build_xen_tools

Everything works well up until I attempt to build the Xen tools.  The
only difference between what the directions describe and what I'm
doing is that I'm using the latest linux-next kernel source rather
than the linked kernel source.  I have the hypervisor booting, but
when I try to build the tools, the build process fails with the errors
below.  I'm using the most recent code from git.  Any thoughts?

gcc  -O1 -fno-omit-frame-pointer  -g -fno-strict-aliasing -std=gnu99
-Wall -Wstrict-prototypes -Wdeclaration-after-statement
-Wno-unused-but-set-variable -Wno-unused-local-typedefs
-D__XEN_TOOLS__ -MMD -MF .xenstored_core.o.d -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -fno-optimize-sibling-calls  -Werror -I.
-I/root/xenbits/xen/tools/xenstore/../../tools/ -I./include
-I/root/xenbits/xen/tools/xenstore/../../tools/libxc/include
-I/root/xenbits/xen/tools/xenstore/../../tools/include
-DXEN_LIB_STORED="\"/var/lib/xenstored\"" -fno-optimize-sibling-calls
-c -o xenstored_core.o xenstored_core.c
In file included from
/root/xenbits/xen/tools/xenstore/../../tools/include/xen/xen.h:35:0,
                 from
/root/xenbits/xen/tools/xenstore/../../tools/libxc/include/xenctrl.h:37,
                 from xenstored_core.h:23,
                 from xenstored_core.c:49:
/root/xenbits/xen/tools/xenstore/../../tools/include/xen/arch-arm.h:345:0:
error: "PSR_MODE_EL3h" redefined [-Werror]
In file included from /usr/include/sys/user.h:25:0,
                 from /usr/include/sys/procfs.h:34,
                 from /usr/include/sys/ucontext.h:26,
                 from /usr/include/signal.h:360,
                 from xenstored_core.c:40:
/usr/include/asm/ptrace.h:36:0: note: this is the location of the
previous definition
In file included from
/root/xenbits/xen/tools/xenstore/../../tools/include/xen/xen.h:35:0,
                 from
/root/xenbits/xen/tools/xenstore/../../tools/libxc/include/xenctrl.h:37,
                 from xenstored_core.h:23,
                 from xenstored_core.c:49:
/root/xenbits/xen/tools/xenstore/../../tools/include/xen/arch-arm.h:346:0:
error: "PSR_MODE_EL3t" redefined [-Werror]
In file included from /usr/include/sys/user.h:25:0,
                 from /usr/include/sys/procfs.h:34,
                 from /usr/include/sys/ucontext.h:26,
                 from /usr/include/signal.h:360,
                 from xenstored_core.c:40:
/usr/include/asm/ptrace.h:35:0: note: this is the location of the
previous definition
In file included from
/root/xenbits/xen/tools/xenstore/../../tools/include/xen/xen.h:35:0,
                 from
/root/xenbits/xen/tools/xenstore/../../tools/libxc/include/xenctrl.h:37,
                 from xenstored_core.h:23,
                 from xenstored_core.c:49:
/root/xenbits/xen/tools/xenstore/../../tools/include/xen/arch-arm.h:347:0:
error: "PSR_MODE_EL2h" redefined [-Werror]
In file included from /usr/include/sys/user.h:25:0,
                 from /usr/include/sys/procfs.h:34,
                 from /usr/include/sys/ucontext.h:26,
                 from /usr/include/signal.h:360,
                 from xenstored_core.c:40:
/usr/include/asm/ptrace.h:34:0: note: this is the location of the
previous definition
In file included from
/root/xenbits/xen/tools/xenstore/../../tools/include/xen/xen.h:35:0,
                 from
/root/xenbits/xen/tools/xenstore/../../tools/libxc/include/xenctrl.h:37,
                 from xenstored_core.h:23,
                 from xenstored_core.c:49:
/root/xenbits/xen/tools/xenstore/../../tools/include/xen/arch-arm.h:348:0:
error: "PSR_MODE_EL2t" redefined [-Werror]
In file included from /usr/include/sys/user.h:25:0,
                 from /usr/include/sys/procfs.h:34,
                 from /usr/include/sys/ucontext.h:26,
                 from /usr/include/signal.h:360,
                 from xenstored_core.c:40:
/usr/include/asm/ptrace.h:33:0: note: this is the location of the
previous definition
In file included from
/root/xenbits/xen/tools/xenstore/../../tools/include/xen/xen.h:35:0,
                 from
/root/xenbits/xen/tools/xenstore/../../tools/libxc/include/xenctrl.h:37,
                 from xenstored_core.h:23,
                 from xenstored_core.c:49:
/root/xenbits/xen/tools/xenstore/../../tools/include/xen/arch-arm.h:349:0:
error: "PSR_MODE_EL1h" redefined [-Werror]
In file included from /usr/include/sys/user.h:25:0,
                 from /usr/include/sys/procfs.h:34,
                 from /usr/include/sys/ucontext.h:26,
                 from /usr/include/signal.h:360,
                 from xenstored_core.c:40:
/usr/include/asm/ptrace.h:32:0: note: this is the location of the
previous definition
In file included from
/root/xenbits/xen/tools/xenstore/../../tools/include/xen/xen.h:35:0,
                 from
/root/xenbits/xen/tools/xenstore/../../tools/libxc/include/xenctrl.h:37,
                 from xenstored_core.h:23,
                 from xenstored_core.c:49:
/root/xenbits/xen/tools/xenstore/../../tools/include/xen/arch-arm.h:350:0:
error: "PSR_MODE_EL1t" redefined [-Werror]
In file included from /usr/include/sys/user.h:25:0,
                 from /usr/include/sys/procfs.h:34,
                 from /usr/include/sys/ucontext.h:26,
                 from /usr/include/signal.h:360,
                 from xenstored_core.c:40:
/usr/include/asm/ptrace.h:31:0: note: this is the location of the
previous definition
In file included from
/root/xenbits/xen/tools/xenstore/../../tools/include/xen/xen.h:35:0,
                 from
/root/xenbits/xen/tools/xenstore/../../tools/libxc/include/xenctrl.h:37,
                 from xenstored_core.h:23,
                 from xenstored_core.c:49:
/root/xenbits/xen/tools/xenstore/../../tools/include/xen/arch-arm.h:351:0:
error: "PSR_MODE_EL0t" redefined [-Werror]
In file included from /usr/include/sys/user.h:25:0,
                 from /usr/include/sys/procfs.h:34,
                 from /usr/include/sys/ucontext.h:26,
                 from /usr/include/signal.h:360,
                 from xenstored_core.c:40:
/usr/include/asm/ptrace.h:30:0: note: this is the location of the
previous definition
cc1: all warnings being treated as errors
make[3]: *** [xenstored_core.o] Error 1
make[3]: Leaving directory `/root/xenbits/xen/tools/xenstore'
make[2]: *** [subdir-install-xenstore] Error 2
make[2]: Leaving directory `/root/xenbits/xen/tools'
make[1]: *** [subdirs-install] Error 2
make[1]: Leaving directory `/root/xenbits/xen/tools'
make: *** [install-tools] Error 2

thanks,
JP

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

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