[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] error compiling xen 3.0.3



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: pgpaA2_mCoZPA.pgp
Description: PGP signature

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.