Error while compiling util-linux-ng-2.14.1 LFS Chapter 5.32

jnbutler at jnbutler at
Mon Apr 27 15:58:24 PDT 2009

Sorry for posting without a subject line! Here is one with the subject line.

From:     <jnbutler at>
Date:     4/27/09 22:54Subject:  

I searched the FAQ, Errata, and the mailing list but did not find 
anything about this error I'm getting while compiling 
util-linux-ng-2.14.1. Everything else up to this point configured
and compiled successfully. Thanks for any help you can provide.

My system is Fedora 10 Linux 2.6..27.21-170.2.56.fc10.i686 #1 SMP 
Mon Mar 23 23:37:54 EDT 2009 i686 GNU/Linux

AMD Sempron 1Gig Memory

Here is the output from running the second make command where the 
error is raised:

lfs:/mysys/sources/util-linux-ng-2.14.1$ make -C text-utils more
make: Entering 
directory `/mysys/sources/util-linux-ng-2.14.1/text-utils'
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -include ../config.h 
-I../include -DLOCALEDIR=\"/tools/share/locale\" -fsigned-char 
-g -O2 -MT more.o -MD -MP -MF .deps/more.Tpo -c -o more.o more.c
more.c:175:52: error: term.h: No such file or directory
more.c: In function 'my_putstring':
more.c:179: warning: implicit declaration of function 'tputs'
more.c: In function 'my_setupterm':
more.c:184: warning: implicit declaration of function 'setupterm'
make: *** [more.o] Error 1
make: Leaving directory 

James Butler   

More information about the lfs-support mailing list