LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This 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

Reply
 
Search this Thread
Old 04-21-2012, 02:12 PM   #1
ankit0301
Member
 
Registered: Apr 2012
Posts: 34

Rep: Reputation: Disabled
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



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


Thank you
 
Old 04-22-2012, 07:11 AM   #2
Erfankam
Member
 
Registered: Jun 2011
Location: Tehran, Islamic Repulic of, Iran
Distribution: Ubuntu, Arch, Suse
Posts: 32

Rep: Reputation: 13
Try install or put libudev and libudev-dev before to have include file in your include path.
 
Old 04-22-2012, 08:06 AM   #3
stoat
Member
 
Registered: May 2007
Distribution: LFS
Posts: 458

Rep: Reputation: 133Reputation: 133
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.

Last edited by stoat; 04-23-2012 at 07:52 AM.
 
Old 04-23-2012, 05:15 AM   #4
Erfankam
Member
 
Registered: Jun 2011
Location: Tehran, Islamic Repulic of, Iran
Distribution: Ubuntu, Arch, Suse
Posts: 32

Rep: Reputation: 13
I suggest use "ldconfig" command after installation complete.
This command updates library cache to have proper file in your lib directory.
 
  


Reply

Tags
debian, lfs, udev


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] LFS 6.7 Chapter 6.59 Udev-161 make check fails ianll Linux From Scratch 3 02-12-2011 04:34 AM
[SOLVED] LFS 6.7 - Chapter 6.59 - Udev-161 tests completely fail (can't exec tree) tomw2005 Linux From Scratch 3 01-30-2011 11:38 AM
LFS 6.3, messed up somewhere prior to chapter 6.12 (gcc), how to restart chapter 6? Funkster Linux From Scratch 2 12-24-2008 06:30 AM
udev install error chapter 6 vmlinuz101 Linux From Scratch 3 09-18-2005 10:18 PM
ERROR IN??: lfs 6.0 chapter 5.35. Udev-030 jobesd Linux From Scratch 4 01-31-2005 05:05 PM


All times are GMT -5. The time now is 06:32 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration