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

[Xen-devel] How to avoid this error "bits/predefs.h No such file or directory" when compiling XEN?


  • To: xen-devel <xen-devel@xxxxxxxxxxxxx>
  • From: wang zhihao <accept.acm@xxxxxxxxx>
  • Date: Thu, 26 Apr 2012 21:09:44 +0800
  • Delivery-date: Thu, 26 Apr 2012 13:10:16 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>

Hi , All

I try to compile xen-unstable.hg(25249:a4e7fce6ee2b) from source repo on ubuntu11.10-amd64. It complains "/usr/include/features.h:323:26 fatal error: bits/predefs.h No such file or directory". I wonder it's a thing related to 32bits and 64bits. How to solve this problem? Thank you.


Here are my steps:

[ Install prerequisites. ]

sudo apt-get install git
sudo apt-get install mercurial
sudo apt-get install zlib1g-dev
sudo apt-get install libncurses5-dev
sudo apt-get install python-dev
sudo apt-get install libssl-dev pkg-config (These are shipped with ubuntu11.10)
sudo apt-get install xorg-dev
sudo apt-get install uuid-dev
sudo apt-get install libyajl-dev
sudo apt-get install libaio-dev
sudo apt-get install libglib2.0-dev
sudo apt-get install bison
sudo apt-get install flex
sudo apt-get install gettext
sudo apt-get install iasl
sudo apt-get install bcc
sudo apt-get install markdown
sudo apt-get install udev

[ Clone the repository. ]


[ Build it. ]

./configure
make world


-------------
Regards
Wang zhihao
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

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