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: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Subject: Re: [Xen-users] Compilation problems under FC6
From: AndreGround <andreground@xxxxxxxxx>
Date: Tue, 16 Jan 2007 15:07:22 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 16 Jan 2007 06:07:10 -0800
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=r8VoNv5KVBZOd1W/AG+85v8AwrDvmrZDpBHps5PvUEcwvyLkxtQw/+bv1Xnl/Oq8JawjEq174wok3VSeqpPC84BrTq0isx4ayKTcKL0ZC2Ym/j+ONdB5kh0DmRh4ASGmq3adJU1I2Cw6H96D/Te40OnAoIIXwJuJhCph8dNglmo=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070116140133.GC5039@xxxxxxxxxx>
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> <20070116140133.GC5039@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thanks a lot Dan.

I'll try to modify the Makefile or the source code and then I'll update you :)
I know that the 3.0.3 / 3.0.4 releases are better than the old one but
I'm trying to make it work under Parallels Desktop for Mac and as
somebody reported the 3.0.2 as working I would like to test it too.

Andrea

On 1/16/07, Daniel P. Berrange <berrange@xxxxxxxxxx> wrote:
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>