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

Viola Zoltán violazoli at gmail.com
Tue Oct 29 16:22:04 PDT 2013


SOLVED! Of course, this is "PEBKAC" error of me...

The Pkgconfig program was badly configured. I forget to give to it the dir
of the .pc files... I recompiled it with this configure command:

 ./configure --prefix=/Programs/Pkgconfig/0.28 --with-internal-glib
--disable-host-tool --docdir=/Programs/Pkgconfig/0.28/doc
--with-pc-path=/System/Links/Libraries/pkgconfig

and now the e2fsprogs compiled well very good!



2013/10/29 Viola Zoltán <violazoli at gmail.com>

> Yes, I have installed UtilLinux, but I think, the problem same as
> described here:
>
> http://www.mail-archive.com/lfs-dev@linuxfromscratch.org/msg13436.html
>
> I build a "GoboLinux-style" directory-hierarchy (tree), (see in the
> http://gobolinux.org ) and now I try erase this pkg-config problem. (I
> hope, this is my problem. If not, I kill me. too much suck...)
>
>
>
> 2013/10/29 William Harrington <kb0iic at berzerkula.org>
>
>>
>> On Oct 29, 2013, at 2:46 PM, Viola Zoltán wrote:
>>
>> > 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'
>>
>>
>> Did you properly install util-linux which provides the uuid and blkid
>> libraries?
>>
>> Sincerely,
>>
>> William Harrington
>> --
>> http://linuxfromscratch.org/mailman/listinfo/lfs-support
>> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
>> Unsubscribe: See the above information page
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20131029/aaff263a/attachment.html>


More information about the lfs-support mailing list