error in udev in chapter 6.60
while issuing the make command in udev chpater 6.60 for lfs 7.1 the following error results.please provide help
make --no-print-directory all-recursive
Making all in .
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]
src/udev-builtin-kmod.c:30:21: fatal error: libkmod.h: No such file or directory
make: *** [src/src_udevadm-udev-builtin-kmod.o] Error 1
make: *** [all-recursive] Error 1
make: *** [all] Error 2
Try install or put libudev and libudev-dev before to have include file in your include path.
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.
I suggest use "ldconfig" command after installation complete.
This command updates library cache to have proper file in your lib directory.
|All times are GMT -5. The time now is 04:30 PM.|