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

[Xen-users] Compile Error xen 3.0.1 on FC5 "cc1: warnings being treated as errors"


  • To: <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: "funtom" <funtom@xxxxxxxxxx>
  • Date: Thu, 23 Mar 2006 16:45:35 +0100
  • Delivery-date: Thu, 23 Mar 2006 15:47:14 +0000
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Thread-index: AcZOkNOJYwB3YehbTv+eaOQBcQ8NYw==

Hello,

To get the binary vmxloader on FC5 i need to compile this from xen source
with "make KERNELS=linux-2.6-xen world".
There is a error "cc1: warnings being treated as errors" and compile aborts.
---
make[3]: Entering directory `/tmp/xen-3.0.1/xen'
tools/figlet/figlet -d tools/figlet Xen 3.0.1 > include/xen/banner.h.new
 __  __            _____  ___   _
 \ \/ /___ _ __   |___ / / _ \ / |
  \  // _ \ '_ \    |_ \| | | || |
  /  \  __/ | | |  ___) | |_| || |
 /_/\_\___|_| |_| |____(_)___(_)_|

make[3]: Leaving directory `/tmp/xen-3.0.1/xen'
make include/xen/acm_policy.h
make[3]: Entering directory `/tmp/xen-3.0.1/xen'
make[3]: Leaving directory `/tmp/xen-3.0.1/xen'
[ -e include/asm ] || ln -sf asm-x86 include/asm
make -C arch/x86 asm-offsets.s
make[3]: Entering directory `/tmp/xen-3.0.1/xen/arch/x86'
gcc -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common
-fno-strict-aliasing -iwithprefix include -Wall -Werror -Wno-pointer-arith
-pipe -I/tmp/xen-3.0.1/xen/include
-I/tmp/xen-3.0.1/xen/include/asm-x86/mach-generic
-I/tmp/xen-3.0.1/xen/include/asm-x86/mach-default -O3 -fomit-frame-pointer
-msoft-float -m32 -march=i686 -DNDEBUG -S -o asm-offsets.s
x86_32/asm-offsets.c
cc1: warnings being treated as errors
In file included from /tmp/xen-3.0.1/xen/include/asm/mpspec.h:5,
                 from /tmp/xen-3.0.1/xen/include/asm/smp.h:18,
                 from /tmp/xen-3.0.1/xen/include/xen/smp.h:13,
                 from /tmp/xen-3.0.1/xen/include/xen/sched.h:8,
                 from x86_32/asm-offsets.c:9:
/tmp/xen-3.0.1/xen/include/asm/mpspec_def.h:78: warning: \u2018packed\u2019
attribute ignored for field of type \u2018unsigned char[5u]\u2019
make[3]: *** [asm-offsets.s] Error 1
make[3]: Leaving directory `/tmp/xen-3.0.1/xen/arch/x86'
make[2]: *** [/tmp/xen-3.0.1/xen/xen] Error 2
make[2]: Leaving directory `/tmp/xen-3.0.1/xen'
make[1]: *** [install-xen] Error 2
make[1]: Leaving directory `/tmp/xen-3.0.1'
make: *** [world] Error 2
---

Is there maybe devel rpm missing ?

Regards,
Thomas


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