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

Re: [Nbd] ndb 2.8.4 - nbd.h not found



On Tue, Jun 06, 2006 at 12:27:54PM -0400, Daniel Pollack wrote:
> Hi,
> > > checking where to find a working nbd.h...  configure: error: Could not
> > > find an
> > > +nbd.h from kernel 2.6 or above.
> > What does config.log say about the issue?
>  
> configure:6386: checking where to find a working nbd.h
> configure:6407: gcc -c -g -O2  conftest.c >&5
> conftest.c:44:17: nbd.h: No such file or directory

Right, so it doesn't find it.

> conftest.c: In function `main':
> conftest.c:50: error: `NBD_CMD_DISC' undeclared (first use in this
> function)
> conftest.c:50: error: (Each undeclared identifier is reported only
> once
> conftest.c:50: error: for each function it appears in.)
> configure:6413: $? = 1
> 
> So it looks like NBD_CMD_DISC isn't getting set or read properly.
> Where is that set?

In nbd.h :-)

Right after that, it should also say something like "Failed program
was:". I'll need that.

-- 
Fun will now commence
  -- Seven Of Nine, "Ashes to Ashes", stardate 53679.4



Reply to: