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

Kay Sievers kay.sievers at vrfy.org
Fri Jul 1 17:35:09 PDT 2005


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.  */

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 */

Thanks,
Kay
_______________________________________________
hal mailing list
hal at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/hal



More information about the Hal mailing list