util-linux-2.12 troubles

Shelton shelton at onr.com
Mon Jan 5 08:32:13 PST 2004


i may have found my problem. i missed something in the 
first pass install of gcc.
fuck!


Shelton wrote:
> Hello,
> 
> First time LFS installer, long time listener.
> I've been following THE BOOK very closely, maybe too closely. anyway, i 
> can't get passed util-linux in Ch 5.
> the following came after fruitlessly searching daja groups and the 
> archives for lfs-support for a similar error. I removed the 
> util-linux-2.12 dir and unzipped it again. I don't want to go all the 
> way back to installing headers... that was long long ago!
> besides, i've checked /tools/include and all the headers listed are 
> there. what have i missed?
> 
> the error happens when i try to build mount.
> 
> [sources]$ cd util-linux-2.12
> [util-linux-2.12]$ ls
> HISTORY     MCONFIG   VERSION     example.files  hwclock     
> licenses     mkinstalldirs  partx     sys-utils
> INSTALL     Makefile  configure   fdisk install-sh  login-utils  
> mkminix-0.1    po        testincl
> MAINTAINER  README    disk-utils  getopt         lib     misc-utils   
> mount          rescuept  text-utils
> [util-linux-2.12]$ cp configure configure.backup
> [util-linux-2.12]$ sed "s@/usr/include@/tools/include at g" 
> configure.backup > configure
> [util-linux-2.12]$ ./configure
> 
> configuring util-linux-2.12
> 
> You don't have <scsi/scsi.h>
> You don't have <linux/blkpg.h>
> You don't have <linux/kd.h>
> You don't have <locale.h>
> You don't have <langinfo.h>
> You don't have <sys/user.h>
> You don't have <asm/page.h>
> You don't have <rpcsvc/nfs_prot.h>
> You don't have <asm/types.h>
> You don't have <linux/raw.h>
> You don't have inet_aton()
> You don't have fsync()
> You don't have getdomainname()
> You don't have nanosleep()
> You don't have personality()
> You don't have updwtmp()
> You don't have fseeko()
> You don't have lchown()
> You don't have rpmatch()
> You need <linux/tqueue.h>
> You don't have <term.h>
> You don't have ncurses - I will not make ul and setterm.
> You don't have termcap - I will not make more.
> You need -lcrypt
> You don't have native language support
> You don't have __progname
> You don't have <pty.h> and openpty()
> You don't have wide character support
> You don't have __NR_pivot_root
> You don't have a tm_gmtoff field in struct tm
> Your rpcgen seems to work
> You don't have zlib
> [util-linux-2.12]$ make -C lib
> make: Entering directory `/mnt/lfs/sources/util-linux-2.12/lib'
> cc -c -pipe -O2 -m486 -fomit-frame-pointer -I../lib -Wall 
> -Wmissing-prototypes -Wstrict-prototypes -D_FILE_OFFSET_BITS=64 
> -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" 
> -DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\" -O2 err.c -o err.o
> cc -c -pipe -O2 -m486 -fomit-frame-pointer -I../lib -Wall 
> -Wmissing-prototypes -Wstrict-prototypes -D_FILE_OFFSET_BITS=64 
> -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" 
> -DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\" -O2 my_reboot.c -o 
> my_reboot.o
> cc -c -pipe -O2 -m486 -fomit-frame-pointer -I../lib -Wall 
> -Wmissing-prototypes -Wstrict-prototypes -D_FILE_OFFSET_BITS=64 
> -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" 
> -DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\" -O2 setproctitle.c 
> -o setproctitle.o
> cc -c -pipe -O2 -m486 -fomit-frame-pointer -I../lib -Wall 
> -Wmissing-prototypes -Wstrict-prototypes -D_FILE_OFFSET_BITS=64 
> -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" 
> -DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\" -O2 env.c -o env.o
> cc -c -pipe -O2 -m486 -fomit-frame-pointer -I../lib -Wall 
> -Wmissing-prototypes -Wstrict-prototypes -D_FILE_OFFSET_BITS=64 
> -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" 
> -DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\" -O2 carefulputc.c 
> -o carefulputc.o
> cc -c -pipe -O2 -m486 -fomit-frame-pointer -I../lib -Wall 
> -Wmissing-prototypes -Wstrict-prototypes -D_FILE_OFFSET_BITS=64 
> -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" 
> -DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\" -O2 xstrncpy.c -o 
> xstrncpy.o
> cc -c -pipe -O2 -m486 -fomit-frame-pointer -I../lib -Wall 
> -Wmissing-prototypes -Wstrict-prototypes -D_FILE_OFFSET_BITS=64 
> -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" 
> -DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\" -O2 md5.c -o md5.o
> make: Leaving directory `/mnt/lfs/sources/util-linux-2.12/lib'
> [util-linux-2.12]$ make -C mount  mount umount
> make: Entering directory `/mnt/lfs/sources/util-linux-2.12/mount'
> cc -c -pipe -O2 -m486 -fomit-frame-pointer -I../lib -Wall 
> -Wmissing-prototypes -Wstrict-prototypes -D_FILE_OFFSET_BITS=64 
> -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" 
> -DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\" -O2 -DHAVE_NFS mount.c
> mount.c: In function `main':
> mount.c:1433: warning: implicit declaration of function `setlocale'
> mount.c:1433: `LC_ALL' undeclared (first use in this function)
> mount.c:1433: (Each undeclared identifier is reported only once
> mount.c:1433: for each function it appears in.)
> make: *** [mount.o] Error 1
> make: Leaving directory `/mnt/lfs/sources/util-linux-2.12/mount'
> [util-linux-2.12]$
> 
> 
> any help is much appreciated, thanks!

-- 
~rick




More information about the lfs-support mailing list