configure does not find BLKGETSIZE64 + HD partitions not found

Frederik Himpe fhimpe at telenet.be
Mon Jan 24 00:41:08 PST 2005


On Mon, 24 Jan 2005 04:19:35 +0100, Kay Sievers wrote:

> On Sun, 2005-01-23 at 18:30 +0100, Frederik Himpe wrote:
>> On Sun, 23 Jan 2005 00:42:47 +0100, Kay Sievers wrote:
>> 
>> > On Sat, 2005-01-22 at 18:14 +0100, Frederik Himpe wrote:
>> >> On Sat, 22 Jan 2005 14:47:35 +0100, Kay Sievers wrote:
>> >> 
>> >> > On Sat, 2005-01-22 at 14:17 +0100, Frederik Himpe wrote:
>> >> >> When I run the configure script of hal 0.4.6, I get this error:
>> >> >> 
>> >> >> checking for BLKGETSIZE64... no
>> >> >> configure: error: BLKGETSIZE64 is not defined

> Hmm, no idea. What does:
>   gcc -o blkgetsize blkgetsize.c
> 
> with the attached test program print?

OK, I guess we have found the culprit:

$ gcc -o blkgetsize blkgetsize.c
In file included from /usr/include/linux/fs.h:18,
                 from blkgetsize.c:3:
/usr/include/linux/prio_tree.h:22: error: syntax error before "pgoff_t"
/usr/include/linux/prio_tree.h:27: error: syntax error before "pgoff_t"
/usr/include/linux/prio_tree.h: In function `prio_tree_iter_init':
/usr/include/linux/prio_tree.h:29: error: `iter' undeclared (first use in this function)
/usr/include/linux/prio_tree.h:29: error: (Each undeclared identifier is reported only once
/usr/include/linux/prio_tree.h:29: error: for each function it appears in.)
/usr/include/linux/prio_tree.h:29: error: `root' undeclared (first use in this function)
/usr/include/linux/prio_tree.h:30: error: `r_index' undeclared (first use in this function)

I guess I'll have to contact glibc/kernel headers packager to sort this
problem out.

>> >> >> With hal 0.4.5, I also have the problem that my hard disk
>> >> >> partitions are not found. Also, all information for the hard
>> >> >> drives (such as vendor and model) is defined as "Unknown". I
>> >> >> think this is related to the kernel I'm running, as IIRC this was
>> >> >> working with 2.6.8 Mandrakelinux compiled kernel. I've put the
>> >> >> output of lshal on http://users.telenet.be/fhimpe/hal/lshal.txt
>> >> >> and verbose output of hald on
>> >> >> http://users.telenet.be/fhimpe/hal/hal-verbose.txt

> What version of udev you are using:
>   udevinfo -V

$ udevinfo -V
udevinfo, version 050

> Please locate the udevdb directory specified in /etc/udev/udev.conf.
> Usually:
>   udev_db="/dev/.udevdb"
> 
> and remove the directory or any file with a similar name completely.
> After that, run:
>   /sbin/udevstart
> 
> How does /dev/.udevdb look like after that?

Output of ls -lR /dev/.udevdb on
http://users.telenet.be/fhimpe/hal/udevdb.txt

Thanks already for all your help!

-- 
Frederik Himpe

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



More information about the Hal mailing list