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

Re: [Xen-users] Compilation problems under FC6

To: AndreGround <andreground@xxxxxxxxx>
Subject: Re: [Xen-users] Compilation problems under FC6
From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Date: Tue, 16 Jan 2007 14:01:33 +0000
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 16 Jan 2007 06:01:39 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <e75c25020701151238o1b95e332x4f08b9a4bd12f2ee@xxxxxxxxxxxxxx>
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>
References: <e75c25020701151238o1b95e332x4f08b9a4bd12f2ee@xxxxxxxxxxxxxx>
Reply-to: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.1i
On Mon, Jan 15, 2007 at 09:38:27PM +0100, AndreGround wrote:
> Hi,
> I'm experiencing some compilation problems with versions 3.0.2 and
> 3.0.2-2of Xen under FC6.
> 
> Both installation hangs at this point:
> 
> cc1: warnings being treated as errors
> xc_ptrace.c: In function 'xc_ptrace':
> xc_ptrace.c:476: warning: enumeration value 'PTRACE_SETOPTIONS' not handled
> in switch
> xc_ptrace.c:476: warning: enumeration value 'PTRACE_GETEVENTMSG' not handled
> in switch
> xc_ptrace.c:476: warning: enumeration value 'PTRACE_GETSIGINFO' not handled
> in switch
> xc_ptrace.c:476: warning: enumeration value 'PTRACE_SETSIGINFO' not handled
> in switch
> make[3]: *** [xc_ptrace.o] Error 1
> make[3]: Leaving directory `/root/xen-3.0.2/tools/libxc'
> make[2]: *** [build] Error 2
> make[2]: Leaving directory `/root/xen-3.0.2/tools/libxc'
> make[1]: *** [install] Error 2
> make[1]: Leaving directory `/root/xen-3.0.2/tools'
> make: *** [install-tools] Error 2
> [root@localhost xen-3.0.2]#
> 
> All versions after 3.0.2-2 are working fine.

Yep, this was a bug in the 3.0.2 xen tree. There's three ways you can deal
with it. 1. Edit the source code to add in the extra 'case PTRACE_SETOPIONS:'
statements in the switch statement. 2. Edit the makefile to remove -Werror and
just ignore the warning, hoping nothing bad will happen. 3. Upgrade to the
newer 3.0.3 / 3.0.4 releases. Personally I'd recommend the latter since there
has been soo much important development work in scalability, performance, not
to mention countless security fixes in the newer releases. And that's ignoring
the huge advances in the quality of HVM support & userspace tools.

Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 

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

<Prev in Thread] Current Thread [Next in Thread>