LFS FAQ Updates
Chris Staub
chris at beaker67.com
Mon Oct 10 00:31:19 MDT 2005
Several entries in the LFS FAQ should either specify that they apply to
5.x versions of the LFS book, or be removed entirely:
Modutils: "lex.l:429: `yytext_ptr' undeclared" while building modutils
GCC: Error: unrecognized option '--as-needed'
(this one could also be replaced by the "current" binutils error
"../../binutils-2.15.94.0.2.2/gas/config/tc-i386.h:443: error: array
type has incomplete element type" when used with gcc4 hosts)
Glibc: "cannot determine asm global directive".
I'm getting errors about net-pf-?.
ld: cannot find -lc
A couple entries are even older and should have been removed long ago...
Where's libncurses.a in Mandrake?
Bash: conflicting types for `gethostname'
(both of these refer to static compilation of all of chap. 5, which
ended with lfs 5.0)
A couple more entries need some rewording...
"./configure: bad interpreter: Permission denied
You're most likely getting this while building bash in Chapter 5 of
the LFS Book. The problem is most likely your mount options. You
probably have a line in /etc/fstab like:
/dev/hda10 /mnt/lfs ext2 user 1 2..."
This one probably just needs "bash" changed to "binutils".
"checking whether we are using GNU C... no"
This refers to checking and making sure /tools/bin/grep is statically
linked, which of course it shouldn't be anyway in LFS > 5.0.
Perl fails with *** missing separator. Stop.
This refers to MAKEDEV, which should of course be replaced with "udev".
Then again, this question could probably just be removed - I just tried
building perl after removing /dev/null, and the configure quit with
"/dev/null: Permission denied", not the error message mentioned in that
FAQ entry.
Glibc: "ld.map: No such file or directory".
This refers to the creation of /dev/null in glibc instructions, which is
no longer accurate. It also mentions a "mount --bind /dev $LFS/dev"
command which isn't used either. Also, I just tried running configure on
glibc after removing /dev/null - again, it just says "/dev/null:
Permission denied".
More information about the faq
mailing list