Re: [Nbd] ndb 2.8.4 - nbd.h not found
- To: Daniel Pollack <dpollack@...88...>
- Cc: email@example.com
- Subject: Re: [Nbd] ndb 2.8.4 - nbd.h not found
- From: Wouter Verhelst <wouter@...3...>
- Date: Wed, 7 Jun 2006 08:18:00 +0200
- Message-id: <20060607061800.GA30504@...85...>
- In-reply-to: <20060606194608.GE2879@...88...>
- References: <20060606145356.GB2879@...88...> <20060606160006.GK11541@...39...> <20060606162754.GC2879@...88...> <20060606164319.GO11541@...39...> <20060606180922.GD2879@...88...> <20060606192218.GU11541@...39...> <20060606194608.GE2879@...88...>
On Tue, Jun 06, 2006 at 03:46:09PM -0400, Daniel Pollack wrote:
> > Yes, I know. I *need* that list of defines, and the entire program that
> > follows. Please send it. Or better yet, put the entire and unmodified
> > config.log up on the Internet, and send a pointer to it. That would give
> > me everything I need.
> Sorry. The log is at
Ah, that's what's happening.
There are two occasions of it failing. The first time, it says that it
can't find nbd.h, but then it's looking for nbd.h in the current
directory. This is expected to fail, unless you manually put an nbd.h
The second time, it tries /usr/include/linux/nbd.h, and it finds that
one. However, it would appear that that version is too old. You can
easily verify that by running
grep 'NBD_CMD_DISC' /usr/include/linux/nbd.h
which should return
NBD_CMD_DISC = 2
as its output. It won't on your system, so you need to fix that.
Download the kernel source for a 2.6 kernel, get the nbd.h from the
include/linux directory, and put it with your unpacked nbd source (no
need to replace /usr/include/linux/nbd.h). If you then rerun configure,
it should work.
Fun will now commence
-- Seven Of Nine, "Ashes to Ashes", stardate 53679.4