-
need help with lfs
ive got up to glibc http://linuxfromscratch.nixsystems.c...r06/glibc.html but when i do ../glibc-2.3.4-20040701/configure --prefix=/usr \
--disable-profile --enable-add-ons=nptl --with-tls \
--with-__thread --enable-kernel=2.6.0 --without-cvs \
--libexecdir=/usr/lib/glibc \
--with-headers=/tools/glibc-kernheaders
i go into an error
checking for suffix of object files... configure: error: cannot compute suffix of object files: cannot compile
any help plz?
-
Have you got any CFLAGS set this can stop glibc from building. Are you running make check ? Also ive found version 6 of LFS to be broke there is a problem in binutils that the developers say is a problem in Glibc :roll: I use the Debian version of binutils and it seemed to work!!
-
so what should i do? go back to the binutils section and re do it over agin? use a different version of binutils instead of the onw that lfs says to use?
-
I used this binutils http://ftp.debian.org/debian/pool/ma...15.orig.tar.gz its hard to get Glibc to compile ive had it fail on one machine and work on the next. Also you can build Glibc with your binutils (omit --with-binutils=) this will work but im not sure if there is a side affect to compiling Glibc without using the binutils that you build for the temp system.
ps, It will take some work to get this to compile ive had about 1/4 compile correctly.
-
k thanks i try some of this but if anyone else has any more ideas post here plz.
-
Just rebuilt the LFS system I have. And upgraded some packages I used glibc-2.3-20050214.tar.bz2 (snapshot from CVS from the glibc website) and binutils-2.15.94.0.2.tar.bz2 (from kernel.org) and gcc 3.4.3 they built fine HTH.