LinuxQuestions.org
Register a domain and help support LQ
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 07-29-2012, 04:40 AM   #1
nourib
LQ Newbie
 
Registered: Jul 2012
Posts: 10

Rep: Reputation: Disabled
error : during "make" of e2fsprogs-1.42 (lfs 7.1 chapter 6.23)


hallow,

Im trying to build E2fsprogs-1.42, i get error during the command make:


Quote:
make[2]: Entering directory `/sources/lfs7p1/e2fsprogs-1.42/build/misc'
CP ../../e2fsck/profile.h
COMPILE_ET prof_err.et
CC ../../misc/mke2fs.c
../../misc/mke2fs.c: In function 'get_device_geometry':
../../misc/mke2fs.c:1173:2: error: unknown type name 'blkid_probe'
../../misc/mke2fs.c:1174:2: error: unknown type name 'blkid_topology'
make[2]: *** [mke2fs.o] Error 1
make[2]: Leaving directory `/sources/lfs7p1/e2fsprogs-1.42/build/misc'
make[1]: *** [all-progs-recursive] Error 1
make[1]: Leaving directory `/sources/lfs7p1/e2fsprogs-1.42/build'
make: *** [all] Error 2
what can i do to solve this problem?
thinks
 
Old 07-29-2012, 05:03 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
What is the exact configure command that you used? Did you disable, among others, libblkid?

It should be:
Code:
PKG_CONFIG=/tools/bin/true LDFLAGS="-lblkid -luuid" \
    ../configure --prefix=/usr --with-root-prefix="" \
    --enable-elf-shlibs --disable-libblkid --disable-libuuid \
    --disable-uuidd --disable-fsck
The blkid parts are done in this chapter: 6.21. Util-linux-2.20.1
 
Old 07-29-2012, 05:15 AM   #3
nourib
LQ Newbie
 
Registered: Jul 2012
Posts: 10

Original Poster
Rep: Reputation: Disabled
i have done it before the make.
the Preparation of E2fsprogs for compilation works well

Quote:
PKG_CONFIG=/tools/bin/true LDFLAGS="-lblkid -luuid" \
../configure --prefix=/usr --with-root-prefix="" \
--enable-elf-shlibs --disable-libblkid --disable-libuuid \
--disable-uuidd --disable-fsck
but the problem is in the make.
 
Old 07-29-2012, 06:50 AM   #4
nourib
LQ Newbie
 
Registered: Jul 2012
Posts: 10

Original Poster
Rep: Reputation: Disabled
is there any test to check if the compilation of the E2fsprogs package is well done ???
 
Old 07-29-2012, 09:59 AM   #5
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
You can check the created log file(s).

If there are more then one, start with /sources/lfs7p1/e2fsprogs-1.42/build/config.log
 
  


Reply


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
error during "make check" of e2fsprogs-1.42 Hilariousity Linux From Scratch 9 06-01-2012 06:18 PM
Chapter 6.7, Getting error while running "make headers_check" dragos240 Linux From Scratch 5 05-08-2010 04:16 PM
LFS 6.3 Chapter 5.4.1 - problem with "make bootstrap" vipernicus42 Linux From Scratch 3 04-21-2008 08:58 PM
glibc " make check " error in CHAPTER 6 lfs_rocks Linux From Scratch 5 02-12-2008 04:32 PM
LFS 4.1: Stalled at Perl, "missing seperator" error from "make" SparceMatrix Linux From Scratch 1 06-07-2003 03:31 PM


All times are GMT -5. The time now is 12:54 AM.

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