Hi, The trouble was solved.
The user has forget the --disable-libblkid option in the compilation of e2fsprog. The blkid.h file that the package e2fsprog install is not useful with udev-181. Denis Le 31/07/2012 22:18, Bruce Dubbs a écrit : > Denis Mugnier wrote: >> Hello ;o) >> >> A french LFS has the following trouble with the compilation of udev-181 : >> >> CC src/src_udevadm-udev-builtin-blkid.o >> src/udev-builtin-blkid.c:84:30: error: unknown type name 'blkid_probe' >> src/udev-builtin-blkid.c: In function 'builtin_blkid': >> src/udev-builtin-blkid.c:122:9: error: unknown type name 'blkid_probe' >> src/udev-builtin-blkid.c:160:17: error: 'BLKID_SUBLKS_LABEL' undeclared >> (first use in this function) >> src/udev-builtin-blkid.c:160:17: note: each undeclared identifier is >> reported only once for each function it appears in >> src/udev-builtin-blkid.c:160:38: error: 'BLKID_SUBLKS_UUID' undeclared >> (first use in this function) >> src/udev-builtin-blkid.c:161:17: error: 'BLKID_SUBLKS_TYPE' undeclared >> (first use in this function) >> src/udev-builtin-blkid.c:161:37: error: 'BLKID_SUBLKS_SECTYPE' >> undeclared (first use in this function) >> src/udev-builtin-blkid.c:162:17: error: 'BLKID_SUBLKS_USAGE' undeclared >> (first use in this function) >> src/udev-builtin-blkid.c:162:38: error: 'BLKID_SUBLKS_VERSION' >> undeclared (first use in this function) >> src/udev-builtin-blkid.c:165:58: error: 'BLKID_FLTR_NOTIN' undeclared >> (first use in this function) >> src/udev-builtin-blkid.c:165:76: error: 'BLKID_USAGE_RAID' undeclared >> (first use in this function) >> make[2]: *** [src/src_udevadm-udev-builtin-blkid.o] Error 1 >> make[1]: *** [all-recursive] Error 1 >> make: *** [all] Error 2 >> >> the config.log is here : http://pastebin.com/rSpZDmi3 >> >> The blkid.h file is installed (/usr/include/blkid/). No trouble to >> install Util-linux. > Yes, those are #defines are in /usr/include/blkid/blkid.h. That is > specified in udev-builtin-blkid.c as #include<blkid/blkid.h>. > > Back in LFS-7.1 we didn't have pkg-config, so it was important to have > BLKID_CFLAGS="-I/usr/include/blkid" \ > BLKID_LIBS="-L/lib -lblkid" \ > > A trailing space after the backslashes in a paste could cause that > problem. Also, try 'make V=1' to get a more verbose version of > CC src/src_udevadm-udev-builtin-blkid.o > > Actually, now that I look at it, BLKID_CFLAGS should be just > /usr/include, but that shouldn't make any practical difference because > /usr/include is searched by default and therefore it should find > /usr/include/blkid/blkid.h. In this case BLKID_CFLAGS is just needed to > satisfy configure, but not needed for make. > > -- Bruce > > > -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
