|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] Compilation problems under FC6
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
|
|
|
|
|