On Wed, May 06, 2009 at 08:06:15AM -0400, Mike Frysinger wrote: > On Wednesday 06 May 2009 07:35:50 Robert Schwebel wrote: > > The reason is that blkid.h comes from e2fsutils, which install the header > > file into /usr/include/blkid/blkid.h; /usr/include is also what the .pc > > file specifies for the include path for the CFLAGS. So IMHO the patch below > > must be applied to make it work. > > sounds like the .pc file is broken and you need to report this to your > distributor. works fine on Gentoo: > $ pkg-config blkid --cflags > -I/usr/include/blkid -I/usr/include/uuid Unfortunately, the blkid.pc uses -I${includedir}/blkid since e2fsprogs v1.41.2. The old versions use -I${includedir} only. We need to fix this problem... probably something like #ifdef HAVE_BLKID_BLKID_H # include <blkid/blkid.h> #else # include <blkid.h> #endif .. or so. Karel -- Karel Zak <kzak@xxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html