From: NAHieu Subject: Re: [PATCH] Blktap: Userspace file-based image support. (RFC) Date: Tue, 20 Jun 2006 03:41:29 +0900 Message-ID: <5d7aca950606191141j76e6b89bvad97f3d62c48809a@mail.gmail.com> References: <5d7aca950606190951q5f67d8aav5a2591a360edca4d@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Andrew Warfield Cc: Xen Developers , Julian Chesterfield List-Id: xen-devel@lists.xenproject.org Andrew, I am compiling the code, but I got the below error: ...... make[3]: Entering directory `/home/hieu/projects/xen/blktap/tools/blktap_user/aiotools' gcc -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -D__XEN_TOOLS__ -fPIC -Wall -Werror -Wno-unused -g3 -fno-strict-aliasing -I ../../../tools/libxc -I.. -I. -I../../xenstore -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -Wp,-MD,.tapdisk.d -o tapdisk -L../../../tools/libxc \ -L../../../tools/xenstore -lxenstore -lblktap block-aio.o block-sync.o block-vmdk.o block-ram.o block-qcow.o aes.o tapdisk.c -L. -L.. -laio -lz tapdisk.c:19:23: error: db.h: No such file or directory make[3]: *** [tapdisk] Error 1 make[3]: Leaving directory `/home/hieu/projects/xen/blktap/tools/blktap_user/aiotools' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/hieu/projects/xen/blktap/tools/blktap_user' make[1]: *** [install] Error 2 make[1]: Leaving directory `/home/hieu/projects/xen/blktap/tools' make: *** [install-tools] Error 2 I have no idea what is the file db.h? Did you miss smt? Thanks. H