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] [PATCH] Blktap: Userspace file-based image support. (RFC

To: NAHieu <nahieu@xxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Blktap: Userspace file-based image support. (RFC)
From: "Andrew Warfield" <andrew.warfield@xxxxxxxxxxxx>
Date: Mon, 19 Jun 2006 14:07:57 -0700
Cc: Xen Developers <xen-devel@xxxxxxxxxxxxxxxxxxx>, Julian Chesterfield <julian.chesterfield@xxxxxxxxxxxx>
Delivery-date: Mon, 19 Jun 2006 14:08:17 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=nYTL5xggW7oH9Z3xIW30hzRBU+zD1Jrk3xCyN+tWuWL+zg0RojT07mSKNPHFiLwXZJTiyN1dOsTH6dEpAN5c0U1h259wpGpq1CYClxfZ8EIMqCqePR6oHfUb44UYppG7v+5f5arf/4FYWCnU0AMgDCk8t9BE17xyqxdCkymik9U=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <5d7aca950606191141j76e6b89bvad97f3d62c48809a@xxxxxxxxxxxxxx>
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: <eacc82a40606190919x4bd4ef22m9d8431e650e85a67@xxxxxxxxxxxxxx> <5d7aca950606190951q5f67d8aav5a2591a360edca4d@xxxxxxxxxxxxxx> <eacc82a40606191022k4251eed0re68411a9f8fc974a@xxxxxxxxxxxxxx> <5d7aca950606191141j76e6b89bvad97f3d62c48809a@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Andrew, I am compiling the code, but I got the below error:
...
tapdisk.c:19:23: error: db.h: No such file or directory

Oops -- that's there from an old version of the code that used
berkeley db as a test.  Just remove that line and you should be in
business -- it should be completely unnecessary.

a.



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


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