From mboxrd@z Thu Jan 1 00:00:00 1970 From: wang zhihao Subject: How to avoid this error "bits/predefs.h No such file or directory" when compiling XEN? Date: Thu, 26 Apr 2012 21:09:44 +0800 Message-ID: <93F12F72-659C-48CD-9E3C-886A2C48353C@gmail.com> Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: multipart/mixed; boundary="===============1807241726539057845==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel List-Id: xen-devel@lists.xenproject.org --===============1807241726539057845== Content-Type: multipart/alternative; boundary=Apple-Mail-1-656299358 --Apple-Mail-1-656299358 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii 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. ] hg clone http://xenbits.xensource.com/xen-unstable.hg [ Build it. ] ./configure make world ------------- Regards Wang zhihao= --Apple-Mail-1-656299358 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii 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. ]

make = world


-------------
Rega= rds
Wang zhihao
= --Apple-Mail-1-656299358-- --===============1807241726539057845== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============1807241726539057845==--