WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Compile Error xen 3.0.1 on FC5 "cc1: warnings being treated as errors"
From: "funtom" <funtom@xxxxxxxxxx>
Date: Thu, 23 Mar 2006 16:45:35 +0100
Delivery-date: Thu, 23 Mar 2006 15:47:14 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Compile Error xen 3.0.1 on FC5 "cc1: warnings being treated as errors", funtom <=