I got the same problem. I traced it to a missing define: /usr/include/linux/fs.h is included in the check for BLKGETSIZE64, and that file uses the typedef pgoff_t. It is in /usr/include/linux/types.h, but only available there for the kernel. This only happens if your /usr/include/linux is a link to the kernel includes (which I think is bad, since it introduces dependencies based on the kernel version...): > l /usr/include/linux lrwxrwxrwx 1 root root 28 Dec 16 12:38 /usr/include/linux -> /usr/src/linux/include/linux/ I'm using kernel 2.6.10, btw.: l /usr/src/linux lrwxrwxrwx 1 root root 12 Feb 13 18:28 /usr/src/linux -> linux-2.6.10/
My workaround was to just add the define: --- configure.orig 2005-01-24 18:46:24.000000000 -0800 +++ configure 2005-03-20 11:21:25.000000000 -0800 @@ -22784,6 +22784,9 @@ cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <sys/types.h> +#ifndef pgoff_t +#define pgoff_t unsigned long +#endif #include <linux/ioctl.h> #include <linux/fs.h> int -Joe -- garnome-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/garnome-list
