Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
root:/sources/eudev-3.1.2# LIBRARY_PATH=/tools/lib make > make.txt
util.c: In function 'tempfn_xxxxxx':
util.c:1710:23: warning: passing argument 1 of '__xpg_basename' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
fn = basename(p);
^
In file included from util.c:55:0:
/usr/include/libgen.h:34:14: note: expected 'char *' but argument is of type 'const char *'
extern char *__xpg_basename (char *__path) __THROW;
^
./.libs/libudev-core.a(libudev_core_la-udev-builtin-blkid.o): In function `print_property':
/sources/eudev-3.1.2/src/udev/udev-builtin-blkid.c:49: undefined reference to `blkid_safe_string'
/sources/eudev-3.1.2/src/udev/udev-builtin-blkid.c:51: undefined reference to `blkid_encode_string'
/sources/eudev-3.1.2/src/udev/udev-builtin-blkid.c:55: undefined reference to `blkid_safe_string'
/sources/eudev-3.1.2/src/udev/udev-builtin-blkid.c:57: undefined reference to `blkid_encode_string'
/sources/eudev-3.1.2/src/udev/udev-builtin-blkid.c:61: undefined reference to `blkid_safe_string'
/sources/eudev-3.1.2/src/udev/udev-builtin-blkid.c:63: undefined reference to `blkid_encode_string'
/sources/eudev-3.1.2/src/udev/udev-builtin-blkid.c:97: undefined reference to `blkid_encode_string'
/sources/eudev-3.1.2/src/udev/udev-builtin-blkid.c:73: undefined reference to `blkid_encode_string'
/sources/eudev-3.1.2/src/udev/udev-builtin-blkid.c:77: undefined reference to `blkid_encode_string'
/sources/eudev-3.1.2/src/udev/udev-builtin-blkid.c:85: undefined reference to `blkid_encode_string'
./.libs/libudev-core.a(libudev_core_la-udev-builtin-blkid.o):/sources/eudev-3.1.2/src/udev/udev-builtin-blkid.c:89: more undefined references to `blkid_encode_string' follow
./.libs/libudev-core.a(libudev_core_la-udev-builtin-blkid.o): In function `builtin_blkid':
/sources/eudev-3.1.2/src/udev/udev-builtin-blkid.c:169: undefined reference to `blkid_new_probe'
/sources/eudev-3.1.2/src/udev/udev-builtin-blkid.c:173: undefined reference to `blkid_probe_set_superblocks_flags'
/sources/eudev-3.1.2/src/udev/udev-builtin-blkid.c:188: undefined reference to `blkid_probe_set_device'
./.libs/libudev-core.a(libudev_core_la-udev-builtin-blkid.o): In function `probe_superblocks':
/sources/eudev-3.1.2/src/udev/udev-builtin-blkid.c:106: undefined reference to `blkid_probe_get_fd'
/sources/eudev-3.1.2/src/udev/udev-builtin-blkid.c:109: undefined reference to `blkid_probe_enable_partitions'
/sources/eudev-3.1.2/src/udev/udev-builtin-blkid.c:112: undefined reference to `blkid_probe_get_size'
/sources/eudev-3.1.2/src/udev/udev-builtin-blkid.c:128: undefined reference to `blkid_probe_set_partitions_flags'
/sources/eudev-3.1.2/src/udev/udev-builtin-blkid.c:129: undefined reference to `blkid_probe_enable_superblocks'
/sources/eudev-3.1.2/src/udev/udev-builtin-blkid.c:131: undefined reference to `blkid_do_safeprobe'
./.libs/libudev-core.a(libudev_core_la-udev-builtin-blkid.o): In function `builtin_blkid':
/sources/eudev-3.1.2/src/udev/udev-builtin-blkid.c:199: undefined reference to `blkid_probe_has_value'
/sources/eudev-3.1.2/src/udev/udev-builtin-blkid.c:200: undefined reference to `blkid_probe_lookup_value'
/sources/eudev-3.1.2/src/udev/udev-builtin-blkid.c:180: undefined reference to `blkid_probe_filter_superblocks_usage'
/sources/eudev-3.1.2/src/udev/udev-builtin-blkid.c:209: undefined reference to `blkid_probe_numof_values'
/sources/eudev-3.1.2/src/udev/udev-builtin-blkid.c:211: undefined reference to `blkid_probe_get_value'
/sources/eudev-3.1.2/src/udev/udev-builtin-blkid.c:217: undefined reference to `blkid_free_probe'
./.libs/libudev-core.a(libudev_core_la-udev-builtin-blkid.o): In function `probe_superblocks':
/sources/eudev-3.1.2/src/udev/udev-builtin-blkid.c:113: undefined reference to `blkid_probe_is_wholedisk'
/sources/eudev-3.1.2/src/udev/udev-builtin-blkid.c:118: undefined reference to `blkid_probe_enable_superblocks'
/sources/eudev-3.1.2/src/udev/udev-builtin-blkid.c:120: undefined reference to `blkid_do_fullprobe'
/sources/eudev-3.1.2/src/udev/udev-builtin-blkid.c:124: undefined reference to `blkid_probe_lookup_value'
collect2: error: ld returned 1 exit status
make[4]: *** [udevadm] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
root:/sources/eudev-3.1.2#
***************************************
make.txt
make all-recursive
make[1]: Entering directory '/sources/eudev-3.1.2'
Making all in src
make[2]: Entering directory '/sources/eudev-3.1.2/src'
Making all in shared
make[3]: Entering directory '/sources/eudev-3.1.2/src/shared'
CC cgroup-util.lo
CC conf-files.lo
CC device-nodes.lo
CC dev-setup.lo
CC exit-status.lo
CC fileio.lo
CC hashmap.lo
CC label.lo
CC log.lo
CC mempool.lo
CC mkdir.lo
CC mkdir-label.lo
CC MurmurHash2.lo
CC path-util.lo
CC process-util.lo
CC random-util.lo
CC selinux-util.lo
CC siphash24.lo
CC smack-util.lo
CC strbuf.lo
CC strv.lo
CC strxcpyx.lo
CC sysctl-util.lo
CC terminal-util.lo
CC time-util.lo
CC util.lo
CC utf8.lo
CC virt.lo
CCLD libudev_shared.la
make[3]: Leaving directory '/sources/eudev-3.1.2/src/shared'
Making all in libudev
make[3]: Entering directory '/sources/eudev-3.1.2/src/libudev'
CC libudev_la-libudev.lo
CC libudev_la-libudev-list.lo
CC libudev_la-libudev-util.lo
CC libudev_la-libudev-device.lo
CC libudev_la-libudev-enumerate.lo
CC libudev_la-libudev-monitor.lo
CC libudev_la-libudev-queue.lo
CC libudev_la-libudev-hwdb.lo
CCLD libudev.la
CC libudev_private_la-libudev.lo
CC libudev_private_la-libudev-list.lo
CC libudev_private_la-libudev-util.lo
CC libudev_private_la-libudev-device.lo
CC libudev_private_la-libudev-enumerate.lo
CC libudev_private_la-libudev-monitor.lo
CC libudev_private_la-libudev-queue.lo
CC libudev_private_la-libudev-hwdb.lo
CC libudev_private_la-libudev-device-private.lo
CCLD libudev-private.la
make[3]: Leaving directory '/sources/eudev-3.1.2/src/libudev'
Making all in udev
make[3]: Entering directory '/sources/eudev-3.1.2/src/udev'
GEN keyboard-keys.txt
GEN keyboard-keys-from-name.gperf
/usr/bin/gperf -L ANSI-C -t -N keyboard_lookup_key -H hash_key_name -p -C < keyboard-keys-from-name.gperf > keyboard-keys-from-name.h
GEN keyboard-keys-to-name.h
make all-am
make[4]: Entering directory '/sources/eudev-3.1.2/src/udev'
CC libudev_core_la-udev-event.lo
CC libudev_core_la-udev-watch.lo
CC libudev_core_la-udev-node.lo
CC libudev_core_la-udev-rules.lo
CC libudev_core_la-udev-ctrl.lo
CC libudev_core_la-udev-builtin.lo
CC libudev_core_la-udev-builtin-btrfs.lo
CC libudev_core_la-udev-builtin-hwdb.lo
CC libudev_core_la-udev-builtin-input_id.lo
CC libudev_core_la-udev-builtin-net_id.lo
CC libudev_core_la-udev-builtin-path_id.lo
CC libudev_core_la-udev-builtin-usb_id.lo
CC libudev_core_la-udev-builtin-blkid.lo
CC libudev_core_la-udev-builtin-kmod.lo
CC libudev_core_la-udev-builtin-keyboard.lo
CCLD libudev-core.la
CC udevadm.o
CC udevadm-info.o
CC udevadm-control.o
CC udevadm-monitor.o
CC udevadm-hwdb.o
CC udevadm-settle.o
CC udevadm-trigger.o
CC udevadm-test.o
CC udevadm-test-builtin.o
CC udevadm-util.o
CCLD udevadm
Makefile:652: recipe for target 'udevadm' failed
make[4]: Leaving directory '/sources/eudev-3.1.2/src/udev'
Makefile:502: recipe for target 'all' failed
make[3]: Leaving directory '/sources/eudev-3.1.2/src/udev'
Makefile:401: recipe for target 'all-recursive' failed
make[2]: Leaving directory '/sources/eudev-3.1.2/src'
Makefile:447: recipe for target 'all-recursive' failed
make[1]: Leaving directory '/sources/eudev-3.1.2'
Makefile:378: recipe for target 'all' failed
Hello
Sorry I am back !! I hope I don't disturb you...
possibly I am in a vicious cycle !!!
By chap. 6.28. E2fsprogs-1.42.13 was for me only possible to configure without 2 disables:
--disable-libblkid and --disable-libuuid
Then the file config.log gave me:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.69. Invocation command line was
If you look in chapter 6.28, you will see that libblkid and libuuid should be disabled in the e2fsprogs build because util-linux will provide better ones later on. I don't know why you couldn't build e2fsprogs in this way; you should have asked for help at that stage because obviously something must have gone wrong with your build even earlier. Simply diverging from the book as the quickest way to get around a problem is never a good idea in LFS. On the other hand, trying it and seeing where it leads is how you learn that lesson. We've all done it, if that's any consolation.
You know what I would do in your place? Clear the partition of everything except glibc and start again. Better still, if you have saved your original tools (before you amended gcc and binutils), clear the whole partition and make a clean start.
Fortunately I have saved any state from my LFS-File system step by step. For chap. 5 and 6 !
Do you mind to (re)perform ab chap.6.9 Glibc-2.22?
Oder to analyze better chap 6.28 ??
Fortunately I have saved any state from my LFS-File system step by step. For chap. 5 and 6 !
Do you mind to (re)perform ab chap.6.9 Glibc-2.22?
Oder to analyze better chap 6.28 ??
Forget about 6.28. You have a bad build there. If you have a /tools backup with unadjusted binutils and gcc (as recommended), clear out all your directories, go back to 6.8, then start again with glibc. Otherwise, clear out everything but the files glibc installed and start again with binutils. Good luck!
OK hazel I think you are right, but it is important first to understand where is the bug, else I will do the same error.
So back to the 6.28. E2fsprogs-1.42.13:
I had configured with the recommended environment variable and the configure options.
then the result was:
configure: error: external uuid library not found
what means "external" uuid library and where normally should it be ?
OK hazel I think you are right, but it is important first to understand where is the bug, else I will do the same error.
So back to the 6.28. E2fsprogs-1.42.13:
I had configured with the recommended environment variable and the configure options.
then the result was:
configure: error: external uuid library not found
what means "external" uuid library and where normally should it be ?
I've absolutely no idea. I'm not an expert on LFS internals. If you insist on pursuing this, perhaps the LFS mailing list would be a better forum. The LFS developers listen in on that one.
Thank you very much hazel
your tip with libblkid had me very helped.Thank you very much indeed!
First i removed the libblkid and libuuid installed by chap. 6.28. E2fsprogs-1.42.13.
then I could compile and install chap 6.67. Eudev-3.1.2 without problem.
Now the game go forward.....
-------------------------------------------
Errare humanum est, perseverare diabolicum
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.