cannot compile cvs
Kay Sievers
kay.sievers at vrfy.org
Fri Oct 1 11:05:37 PDT 2004
On Fri, 2004-10-01 at 19:23 +0200, Michel wrote:
> Heya,
>
> I tried to build the cvs-version of 30/9/2004, but it won't compile.
> This seems to be why:
>
> hald/linux/block_class_device.c: (hought)610/612: u64 not declared
> (first time ...)
>
> It seems to come from the macro "BLKGETSIZE64" which is defined as:
>
> /usr/include/linux/fs.h:#define BLKGETSIZE64 _IOR(0x12,114,sizeof(u64))
> /* return device size in bytes (u64 *arg) */
>
> I'm using kernel 2.6.8.1 (archlinux).
Your glibc-kernel-headers are broken.
Please look if you can get an update.
if you can't find something, just add this to the code:
#define BLKGETSIZE64 _IOR(0x12,114,size_t)
Good luck,
Kay
_______________________________________________
hal mailing list
hal at freedesktop.org
http://freedesktop.org/mailman/listinfo/hal
More information about the Hal
mailing list