LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-27-2006, 03:01 PM   #1
james penguin
LQ Newbie
 
Registered: Nov 2005
Posts: 14

Rep: Reputation: 0
util-linux-2.12r error on 'make -C mount mount umount'


howdy there yal.

So I'm on part 5.30 (compiling util-linux-2.12r), I'm following exactly as it says in the book.

So I run the sed command, ./configure, and then 'make -C lib', and everything is fine.

Then I try running 'make -C mount mount umount' and it starts to compile, but then I get the following error
Code:
In file included from mount.c:31:
loop.h:20: error: syntax error before '__kernel_old_dev_t'
loop.h:20: warning: no semicolon at end of struct or union
loop.h:22: error: syntax error before 'lo_rdevice'
loop.h:22: warning: type defaults to 'int' in declaration of 'lo_rdevice'
loop.h:22: warning: data definition has no type or storage class
loop.h:31: error: syntax error before '}' token
make: *** [mount.o] Error 1
make: Leaving directory `/home/lfs1/sources/util-linux-2.12r/mount'
lfs:/home/lfs1/sources/util-linux-2.12r$
Anybody know what I'm doing wrong?
 
Old 08-28-2006, 08:02 PM   #2
debiant
Member
 
Registered: Jul 2006
Distribution: Source Mage 0.9.6
Posts: 196

Rep: Reputation: 30
Quote:
Originally Posted by james penguin
howdy there yal.

So I'm on part 5.30 (compiling util-linux-2.12r), I'm following exactly as it says in the book.

So I run the sed command, ./configure, and then 'make -C lib', and everything is fine.

Then I try running 'make -C mount mount umount' and it starts to compile, but then I get the following error
Code:
In file included from mount.c:31:
loop.h:20: error: syntax error before '__kernel_old_dev_t'
loop.h:20: warning: no semicolon at end of struct or union
loop.h:22: error: syntax error before 'lo_rdevice'
loop.h:22: warning: type defaults to 'int' in declaration of 'lo_rdevice'
loop.h:22: warning: data definition has no type or storage class
loop.h:31: error: syntax error before '}' token
make: *** [mount.o] Error 1
make: Leaving directory `/home/lfs1/sources/util-linux-2.12r/mount'
lfs:/home/lfs1/sources/util-linux-2.12r$
Anybody know what I'm doing wrong?
What version of LFS, because I've got 6.1.1 and Util-linux is at version 2.12q with no errors. Have you googled to see if this is a possible error with r?
 
Old 08-28-2006, 11:55 PM   #3
james penguin
LQ Newbie
 
Registered: Nov 2005
Posts: 14

Original Poster
Rep: Reputation: 0
the version is 6.2, yeah I googled didn't get anything.

I just started over and all is good
 
  


Reply

Tags
lfs, mount, unmount


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
Mount usb drive, umount and mount another drive arubin Linux - Hardware 9 01-17-2007 03:46 AM
mount problem with util-linux-2.12a Fonk Linux - Software 6 05-27-2004 08:38 AM
mount/umount devit Linux - General 4 02-19-2004 12:37 PM
Serious mount/umount problems... Veratien Linux - Software 8 03-23-2003 05:05 PM
mount and umount wr3ck3d Linux - Newbie 4 12-14-2002 04:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 07:49 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration