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

Re: [Xen-users] Compliling Xen 4.5.0 Fails



You might have better results with
-- build as user, not as root
-- ./configure --libdir=/usr/lib --enable-ocamltools --enable-efi --prefix=/usr
-- move to 14.04 for the kernel better suited to xen 4.5
-- you might miss some build requires, so run `sudo apt-get build-dep xen qemu-linaro`
-- after `make dist`, you can create a *.deb via
   chmod +x ./tools/misc/mkdeb
  fakeroot ./tools/misc/mkdeb $(pwd) 4.5.0
the resulting *.deb is found in ./dist

regards,
PryMar56


On Friday, March 13, 2015 8:14 AM, Ian Murray <murrayie@xxxxxxxxxxx> wrote:



Hi,


I get an error when trying to compile Xen 4.5.0 from source. It happens from the tarball and also from Git. I have tried it on two boxes with the same result (Ubuntu 12.04.5). I can compile 4.5.0-rc4 with no problems. I haven't looked at the differences in Git yet... was just curious if anyone else had had the same issue.


Any suggestions?

Apologies if this appears twice. I used an old list address to start with.

Thanks


Ian.

make[5]: Entering directory `/root/xen450/xen-4.5.0/xen/arch/x86/hvm'
gcc -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -no-nused-but-set-variable  -DNDEBUG -I/root/xen450/xen-4.5.0/xen/include  -I/root/xen450/xen-4.5.0/xen/include/asm-x86/mach-eneric -I/root/xen450/xen-4.5.0/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -Wnested-xterns -DHAVE_GAS_VMX -DHAVE_GAS_EPT -DHAVE_GAS_FSGSBASE -mno-red-zone -mno-sse -fpic -fno-asynchronous-unwind-tables -GCC_HAS_VISIBILITY_ATTRIBUTE -fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith -pipe -g -D__XEN__ -include root/xen450/xen-4.5.0/xen/include/xen/config.h -nostdinc -DHAS_ACPI -DHAS_GDBSX -DHAS_PASSTHROUGH -DHAS_MEM_ACCESS -HAS_MEM_PAGING -DHAS_MEM_SHARING -DHAS_PCI -DHAS_IOPORTS -DHAS_PDX -MMD -MF .hvm.o.d -c hvm.c -o hvm.o
hvm.c: In function âhvm_create_ioreq_serverâ:
hvm.c:487:18: error: âbufioreq_pfnâ may be used uninitialised in this function [-Werror=uninitialized]
hvm.c:718:30: note: âbufioreq_pfnâ was declared here
cc1: all warnings being treated as errors
make[5]: *** [hvm.o] Error 1

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

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