LFS version 6.6 Chapter 6.9.1 error

Ken Moffat zarniwhoop73 at googlemail.com
Sun May 9 07:03:25 PDT 2010

On 9 May 2010 04:47, nidujay <nidujay at gmail.com> wrote:
> Hi,
> I get the following errors with glibc installation:
> Make install
> ...  /sources/glibc-build/csu/init-first.o
> In file included from ../posix/unistd.h:887,
>                  from ../include/unistd.h:2,
>                  from ../sysdeps/unix/sysv/linux/init-first.c:23:
> ../include/getopt.h:4:26: error: posix/getopt.h: No such file or directory

 That file is part of glibc.  You said you are building on a
usb stick, I wonder if it has become damaged ?  If your
stick is mounted as /mnt/lfs it will be subjected to a lot
of i/o during the build.  We've all seen discussions about
how many times we can write to solid-state disks before
they fail - usb sticks are probably the "poor brother" of
solid state drives for this.


After tragedy, and farce, "OMG poneys!"

More information about the lfs-support mailing list