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.
while issuing the make command in udev chpater 6.60 for lfs 7.1 the following error results.please provide help
root:/sources/udev-181# make
GEN test/sys/kernel/uevent_seqnum
make --no-print-directory all-recursive
Making all in .
CC src/libudev.lo
CC src/libudev-list.lo
CC src/libudev-util.lo
CC src/libudev-device.lo
CC src/libudev-enumerate.lo
CC src/libudev-monitor.lo
src/libudev-monitor.c: In function 'udev_monitor_receive_device':
src/libudev-monitor.c:654:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
CC src/libudev-queue.lo
CCLD src/libudev.la
CC src/libudev-util-private.lo
CC src/libudev-device-private.lo
CC src/libudev-queue-private.lo
CCLD src/libudev-private.la
CC src/src_udevadm-udev-event.o
CC src/src_udevadm-udev-watch.o
CC src/src_udevadm-udev-node.o
CC src/src_udevadm-udev-rules.o
CC src/src_udevadm-udev-ctrl.o
CC src/src_udevadm-udev-builtin.o
CC src/src_udevadm-udev-builtin-blkid.o
CC src/src_udevadm-udev-builtin-firmware.o
CC src/src_udevadm-udev-builtin-hwdb.o
CC src/src_udevadm-udev-builtin-input_id.o
CC src/src_udevadm-udev-builtin-kmod.o
src/udev-builtin-kmod.c:30:21: fatal error: libkmod.h: No such file or directory
compilation terminated.
make[2]: *** [src/src_udevadm-udev-builtin-kmod.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
And if nothing else works, I would delete the udev build directory and do it again. Untar both tarballs again as described. Then copy and paste the commands; especially that large block of commands (copy and paste it all-at-once). That particular page in the book is sort of a busy one; easy to botch. I just finished a new 7.1 system and, unlike the 7.0 book which had a few errata, this one was smooth sailing straight through including that udev page you're stuck on. I had to do nothing special to get past that.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.