[PATCH] include mount.h instead of include linux/fs.h

Luis Villa luis.villa at gmail.com
Fri Jul 1 18:23:34 PDT 2005


On 7/1/05, Kay Sievers <kay.sievers at vrfy.org> wrote:
> On Fri, Jul 01, 2005 at 07:53:44PM -0400, Luis Villa wrote:
> > This commit broke the build for my tinderbox; I get the following error now:
> >
> > checking for BLKGETSIZE64... no
> > configure: error: BLKGETSIZE64 is not defined
> >
> > I'm guessing this is just something dumb I don't have installed on the
> > tinderbox, but I have no idea what- kernel-headers are installed
> > (though a bizarre hoary version- 2.5.999?)
> 
> That's a mess with the kernel headers, every time you fix one
> architecture, some other breaks. But I expect your headers are
> simply too old.
> 
> What does this print:
>  find /usr/include | xargs grep BLKGETSIZE64
>  /usr/include/linux/fs.h:#define BLKGETSIZE64 _IOR(0x12,114,size_t) /* return device size in bytes (u64 *arg) */
>  /usr/include/sys/mount.h:#define BLKGETSIZE64 _IOR(0x12,114,size_t) /* return device size. */

/usr/include/linux/fs.h:#define BLKGETSIZE64 _IOR(0x12,114,size_t)    
 /* return device size in bytes (u64 *arg) */

but nothing from mount.h.

> If this fails too, your system should definitely catch up:
>  find /usr/include | xargs grep NETLINK_KOBJECT_UEVENT
>  /usr/include/linux/netlink.h:#define NETLINK_KOBJECT_UEVENT 15 /* Kernel messages to userspace */

Yup, that fails. Blah.

Luis (mumbling about distros only two months old)
_______________________________________________
hal mailing list
hal at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/hal



More information about the Hal mailing list