Regards,

Satish Patel


Quoting Joe Ciccone <[EMAIL PROTECTED]>:

satish patel wrote:
I got this error when I compiling utils-linux-ng package on CLFS for ARM

clfs:/mnt/clfs/sources/util-linux-ng-2.13$ ./configure --build=${CLFS_HOST}
--host=${CLFS_TARGET}     --enable-partx --disable-wall --enable-write
--disable-makeinstall-chown
Checking .....
.......
.......
.......

checking for getdomainname... yes
checking for nanosleep... yes
checking for personality... yes
checking for updwtmp... yes
checking for lchown... yes
checking for rpmatch... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for fseeko... yes
checking for uuid_is_null in -luuid... no
configure: WARNING: uuid library is not found; mkswap(8) will not generate
UUIDs
checking for openpty in -lutil... yes
checking for tgetnum in -ltermcap... no
checking for blkid_known_fstype in -lblkid... no
configure: error: blkid or volume_id is needed to build util-linux-ng.

Error : configure: error: blkid or volume_id is needed to build
util-linux-ng.

I have this files

/mnt/clfs/sbin/blkid
/mnt/clfs/lib/libblkid.so.1
/mnt/clfs/lib/libblkid.so.1.0


See if you can find the relevant information in config.log. If you're
following clfs-sysroot then i'd assume that the sysroot target of the
linker is bad, either that or the compiler. the relevant information in
config.log would show this.

_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org


configure:4866: result: no
configure:4928: checking for blkid_known_fstype in -lblkid
configure:4958: arm-unknown-linux-gnu-gcc -o conftest -g -O2 conftest.c -lblkid -lutil >&5 /mnt/clfs/cross-tools/lib/gcc/arm-unknown-linux-gnu/4.2.1/../../../../arm-unknown-linux-gnu/bin/ld: skipping incompatible /mnt/clfs/usr/lib/libblkid.so when searching for -lblkid /mnt/clfs/cross-tools/lib/gcc/arm-unknown-linux-gnu/4.2.1/../../../../arm-unknown-linux-gnu/bin/ld: skipping incompatible /mnt/clfs/usr/lib/libblkid.so when searching for -lblkid /mnt/clfs/cross-tools/lib/gcc/arm-unknown-linux-gnu/4.2.1/../../../../arm-unknown-linux-gnu/bin/ld: cannot find -lblkid
collect2: ld returned 1 exit status
configure:4964: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "util-linux-ng"
| #define PACKAGE_TARNAME "util-linux-ng"
| #define PACKAGE_VERSION "2.13"
| #define PACKAGE_STRING "util-linux-ng 2.13"
| #define PACKAGE_BUGREPORT "[EMAIL PROTECTED]"
| #define PACKAGE "util-linux-ng"
| #define VERSION "2.13"
| #define _GNU_SOURCE 1
| #define _FILE_OFFSET_BITS 64
| #define HAVE_LINUX_COMPILER_H 1
| #define HAVE_LINUX_BLKPG_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SCSI_SCSI_H 1
| #define HAVE_LANGINFO_H 1
| #define HAVE_SYS_USER_H 1
| #define HAVE_RPCSVC_NFS_PROT_H 1
| #define HAVE_SYS_IO_H 1
| #define HAVE_PTY_H 1
| #define HAVE_LINUX_RAW_H 1
| #define HAVE_INET_ATON 1
| #define HAVE_FSYNC 1
| #define HAVE_GETDOMAINNAME 1
| #define HAVE_NANOSLEEP 1



| #define HAVE_RPCSVC_NFS_PROT_H 1
| #define HAVE_SYS_IO_H 1
| #define HAVE_PTY_H 1
| #define HAVE_LINUX_RAW_H 1
| #define HAVE_INET_ATON 1
| #define HAVE_FSYNC 1
| #define HAVE_GETDOMAINNAME 1
| #define HAVE_NANOSLEEP 1
| #define HAVE_PERSONALITY 1
| #define HAVE_UPDWTMP 1
| #define HAVE_LCHOWN 1
| #define HAVE_RPMATCH 1
| #define HAVE_FSEEKO 1
| #define HAVE_LIBUTIL 1
| /* end confdefs.h.  */
|
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char blkid_known_fstype ();
| int
| main ()
| {
| blkid_known_fstype ();
|   ;
|   return 0;
| }
configure:4990: result: no
configure:5107: error: blkid or volume_id is needed to build util-linux-ng.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_c_compiler_gnu=yes
ac_cv_env_CC_set=set
ac_cv_env_CC_value=arm-unknown-linux-gnu-gcc
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=


_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org

Reply via email to