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-devel

Re: [Xen-devel] error compiling xen 3.0.3

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] error compiling xen 3.0.3
From: Luciano Miguel Ferreira Rocha <strange@xxxxxxxxxxxxx>
Date: Tue, 7 Nov 2006 22:02:31 +0000
Delivery-date: Tue, 07 Nov 2006 14:03:10 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20061107215734.96756.qmail@xxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20061107215734.96756.qmail@xxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.11
On Tue, Nov 07, 2006 at 01:57:34PM -0800, Raja wrote:
> Dear friends,
>      i am trying to compile xen on a debian system and
> it gives me the following error. ANy pointers would be
> very helpful and i am dire need of help.

Make sure you have the X11 development libraries installed.

Speaking of building, I had to change the src.rpm:

+ BuildRequires: xorg-x11-proto-devel

%prep:
+ RPM_OPT_FLAGS="${RPM_OPT_FLAGS//-fstack-protector}"
+ RPM_OPT_FLAGS="${RPM_OPT_FLAGS//-Werror}"
+ RPM_OPT_FLAGS="$RPM_OPT_FLAGS -fno-stack-protector"
...
find . -name Makefile | xargs -r perl -pi -e 's/-Werror\b//g'
find . -name Makefile | xargs -r perl -pi -e 's/ (-implicit-function)/ -Wno$1/g'

You may come across some of those (the -implicit-function invalid
argument, and -Werror causing the compilation to fail with a warning).

-- 
lfr
0/0

Attachment: pgpVklNHmNTAY.pgp
Description: PGP signature

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>