Re: [Nbd] NBD_CMD_* undeclared in nbd-2.8.0-rc1
- To: Miguel <mth@...40...>
- Cc: nbd-general@lists.sourceforge.net
- Subject: Re: [Nbd] NBD_CMD_* undeclared in nbd-2.8.0-rc1
- From: Wouter Verhelst <wouter@...3...>
- Date: Fri, 11 Feb 2005 09:20:25 +0100
- Message-id: <1108110025.18418.13.camel@...39...>
- In-reply-to: <34650.192.168.0.111.1108104708.squirrel@...42...>
- References: <34454.192.168.0.111.1108102077.squirrel@...42...> <34650.192.168.0.111.1108104708.squirrel@...42...>
Op vr, 11-02-2005 te 01:51 -0500, schreef Miguel:
> > I am a newbie
We all are, at some point :-)
> > I downloaded nbd-2.8.0-rc1
> >
> > ./configure seems to work fine ...
> > but make dies with NBD_CMD_DISC & NBD_CMD_WRITE undeclared
Darn. Must fix that (configure shouldn't have succeeded)
> > see below
> >
> > System config is:
> > [mth@...41... nbd-2.8.0-rc1]$ uname -a
> > Linux mykiss.mth.com 2.6.10-1.12_FC2 #1 Wed Feb 2 01:13:49 EST 2005 i686
> > athlon i386 GNU/Linux
>
> I copied /lib/modules/2.6.10-1.12_FC2/build/include/linux/nbd.h to my
> build directory, reran ./configure, and it seemed to compile OK.
>
> Why did I have to copy this?
You need a 2.6 nbd.h to be able to compile nbd 2.8 (or 2.7.0, but I
temporarily removed that code there)
> Why is my /usr/include/linux/ndb.h out of sync with my kernel sources?
These days, distributors will generally put the linux include files they
used to compile glibc, in /usr/include. Why Fedora is using 2.4 headers
to compile glibc is beyond me, but that seems to be what's happening.
--
EARTH
smog | bricks
AIR -- mud -- FIRE
soda water | tequila
WATER
-- with thanks to fortune
Reply to: