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

Resp.: [Xen-users] xc_core error!


  • To: "Henning Sprang" <henning_sprang@xxxxxx>
  • From: "Rodrigo Lord" <lord.listas@xxxxxxxxx>
  • Date: Wed, 11 Apr 2007 10:19:44 -0300
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Wed, 11 Apr 2007 06:18:40 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=GEnCVvqxPmzAK2AWlRWFx40XmbVF83TixxnT4V5uycYzcYYGEgI2wi2lVj0kMxTrvq8ULiHdKygG6Uf8dlInITON9UwWVYMDK+lsR3voNGIhsCy7pnECkvJOR4MbuphFCHlTJ6xBy8yWGNXovncn2Zwphidoovm3Wujqroc04y4=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

2007/4/10, Henning Sprang <henning_sprang@xxxxxx>:
On 4/10/07, Rodrigo Lord <lord.listas@xxxxxxxxx> wrote:
> Hi!
>
> The error below occured when I tried to compile xen-ia64!

Maybe some more infos might help people to help you. Not that I now
too much about compiling ia-64 xen, but some questions hop to my mind:

Which version of xen?
xen-ia64-unstable CS: 14771
Which compiler do you use?
gcc 3.3.6
on which distribution are you trying to compile?
Debian Sarge 3.1
Are you sure you have all dependencies? (they are not very well
documented in the xen packages)?
I think that I have all! :)

Henning


Thanks for help.


##############################

Checking check_crypto_lib: OK
Checking check_libvncserver: unused, OK
Checking check_openssl_devel: OK
Checking check_python: OK
Checking check_python_devel: OK
Checking check_sdl: unused, OK
Checking check_x11_devel: OK
Checking check_zlib_devel: OK
Checking check_zlib_lib: OK
make[3]: Saindo do diretório `/root/xen-ia64-unstable.hg/tools/check'
make[3]: Entrando no diretório `/root/xen-ia64-unstable.hg/tools/libxc'
mkdir -p xen
( cd xen && ln -sf ../../../xen/include/public/*.h . )
mkdir -p xen/hvm
( cd xen/hvm && ln -sf ../../../../xen/include/public/hvm/*.h . )
mkdir -p xen/io
( cd xen/io && ln -sf ../../../../xen/include/public/io/*.h . )
mkdir -p xen/arch-x86
( cd xen/arch-x86 && ln -sf ../../../../xen/include/public/arch-x86/*.h . )
mkdir -p xen/foreign
( cd xen/foreign && ln -sf ../../../../xen/include/public/foreign/Makefile . )
( cd xen/foreign && ln -sf
../../../../xen/include/public/foreign/reference.size . )
( cd xen/foreign && ln -sf ../../../../xen/include/public/foreign/*.py . )
make -C xen/foreign
make[4]: Entrando no diretório
`/root/xen-ia64-unstable.hg/tools/libxc/xen/foreign'
python mkheader.py x86_32 x86_32.h ../arch-x86/xen-x86_32.h
../arch-x86/xen.h ../xen.h
python mkheader.py x86_64 x86_64.h ../arch-x86/xen-x86_64.h
../arch-x86/xen.h ../xen.h
python mkheader.py ia64 ia64.h ../arch-ia64.h ../xen.h
python mkchecker.py ia64 checker.c x86_32 x86_64 ia64
gcc -Wall -Werror -Wstrict-prototypes -O2 -fomit-frame-pointer  -o
checker checker.c
./checker > ia64.size
diff -u reference.size ia64.size
make[4]: Saindo do diretório
`/root/xen-ia64-unstable.hg/tools/libxc/xen/foreign'
mkdir -p xen/linux
( cd xen/linux && \
 ln -sf ../../../../linux-2.6-xen-sparse/include/xen/public/*.h . )
( cd xen && rm -f sys && ln -sf linux sys )
make libxenctrl.a libxenctrl.so libxenctrl.so.3.0 libxenctrl.so.3.0.0
libxenguest.a libxenguest.so libxenguest.so.3.0 libxenguest.so.3.0.0
make[4]: Entrando no diretório `/root/xen-ia64-unstable.hg/tools/libxc'
gcc  -O2 -fomit-frame-pointer -DNDEBUG -std=gnu99 -Wall
-Wstrict-prototypes -Wno-unused-value   -D__XEN_TOOLS__
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -Werror
-Wmissing-prototypes -fno-strict-aliasing  -I. -I../xenstore
-Wp,-MD,.xc_core.o.d -c -o xc_core.o xc_core.c
In file included from xc_core.h:26,
                from xc_core.c:53:
xen/elfstructs.h:247:1: "ELF_DATA" redefined
In file included from /usr/include/sys/procfs.h:32,
                from /usr/include/thread_db.h:29,
                from xenctrl.h:124,
                from xg_private.h:14,
                from xc_core.c:52:
/usr/include/asm/elf.h:25:1: this is the location of the previous definition
make[4]: ** [xc_core.o] Erro 1
make[4]: Saindo do diretório `/root/xen-ia64-unstable.hg/tools/libxc'
make[3]: ** [build] Erro 2
make[3]: Saindo do diretório `/root/xen-ia64-unstable.hg/tools/libxc'
make[2]: ** [install] Erro 2
make[2]: Saindo do diretório `/root/xen-ia64-unstable.hg/tools'
make[1]: ** [install-tools] Erro 2
make[1]: Saindo do diretório `/root/xen-ia64-unstable.hg'
make: ** [world] Erro 2

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


 


Rackspace

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