[lfs-support] e2fsprogs -- undefined reference to `uuid_unparse'

Bruce Dubbs bruce.dubbs at gmail.com
Tue Oct 29 13:00:43 PDT 2013


Viola Zoltán wrote:
> Hi, I have problem - to this chapter - 6.26.1 - I resolved the problems,
> but now cannot, sorry...
>
> ​​    CC ../../e2fsck/revoke.c
>      CC ../../e2fsck/ea_refcount.c
>      CC ../../e2fsck/rehash.c
>      CC ../../e2fsck/profile.c
>      CC prof_err.c
>      CC ../../e2fsck/logfile.c
>      CC ../../e2fsck/sigcatcher.c
>      LD e2fsck
> unix.o: In function `PRS':
> /sources/e2fsprogs-1.42.8/build/e2fsck/../../e2fsck/unix.c:763: undefined
> reference to `blkid_get_cache'
> /sources/e2fsprogs-1.42.8/build/e2fsck/../../e2fsck/unix.c:855: undefined
> reference to `blkid_get_devname'
> /sources/e2fsprogs-1.42.8/build/e2fsck/../../e2fsck/unix.c:929: undefined
> reference to `blkid_get_devname'
> e2fsck.o: In function `e2fsck_free_context':
> /sources/e2fsprogs-1.42.8/build/e2fsck/../../e2fsck/e2fsck.c:179: undefined
> reference to `blkid_put_cache'
> super.o: In function `check_super_block':
> /sources/e2fsprogs-1.42.8/build/e2fsck/../../e2fsck/super.c:717: undefined
> reference to `uuid_is_null'
> /sources/e2fsprogs-1.42.8/build/e2fsck/../../e2fsck/super.c:719: undefined
> reference to `uuid_generate'
> journal.o: In function `e2fsck_journal_load':
> /sources/e2fsprogs-1.42.8/build/e2fsck/../../e2fsck/journal.c:544:
> undefined reference to `uuid_is_null'
> journal.o: In function `e2fsck_get_journal':
> /sources/e2fsprogs-1.42.8/build/e2fsck/../../e2fsck/journal.c:268:
> undefined reference to `uuid_is_null'
> /sources/e2fsprogs-1.42.8/build/e2fsck/../../e2fsck/journal.c:350:
> undefined reference to `uuid_unparse'
> /sources/e2fsprogs-1.42.8/build/e2fsck/../../e2fsck/journal.c:351:
> undefined reference to `blkid_get_devname'
> /sources/e2fsprogs-1.42.8/build/e2fsck/../../e2fsck/journal.c:354:
> undefined reference to `blkid_devno_to_devname'
> journal.o: In function `e2fsck_check_ext3_journal':
> /sources/e2fsprogs-1.42.8/build/e2fsck/../../e2fsck/journal.c:718:
> undefined reference to `uuid_is_null'
> journal.o: In function `e2fsck_journal_reset_super':
> /sources/e2fsprogs-1.42.8/build/e2fsck/../../e2fsck/journal.c:637:
> undefined reference to `uuid_generate'
> journal.o: In function `e2fsck_fix_ext3_journal_hint':
> /sources/e2fsprogs-1.42.8/build/e2fsck/../../e2fsck/journal.c:1068:
> undefined reference to `uuid_is_null'
> /sources/e2fsprogs-1.42.8/build/e2fsck/../../e2fsck/journal.c:1071:
> undefined reference to `uuid_unparse'
> /sources/e2fsprogs-1.42.8/build/e2fsck/../../e2fsck/journal.c:1072:
> undefined reference to `blkid_get_devname'
> dirinfo.o: In function `setup_tdb':
> /sources/e2fsprogs-1.42.8/build/e2fsck/../../e2fsck/dirinfo.c:63: undefined
> reference to `uuid_unparse'
> collect2: error: ld returned 1 exit status

uuid and blkid are defined in util-linux.  Did you install that?

Specifically the blkid definitions are in /usr/include/blkid/blkid.h.

   -- Bruce




More information about the lfs-support mailing list