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

Re: [Xen-devel] [PATCH] Blktap: Userspace file-based image support. (RFC)


  • To: NAHieu <nahieu@xxxxxxxxx>
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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


 


Rackspace

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