Find the answer to your Linux question:
Results 1 to 6 of 6
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Jan 2005
    Posts
    104

    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?

  2. #2
    Linux Engineer Giro's Avatar
    Join Date
    Jul 2003
    Location
    England
    Posts
    1,219
    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 I use the Debian version of binutils and it seemed to work!!

  3. #3
    Linux Newbie
    Join Date
    Jan 2005
    Posts
    104
    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?

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Engineer Giro's Avatar
    Join Date
    Jul 2003
    Location
    England
    Posts
    1,219
    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.

  6. #5
    Linux Newbie
    Join Date
    Jan 2005
    Posts
    104
    k thanks i try some of this but if anyone else has any more ideas post here plz.

  7. #6
    Linux Engineer Giro's Avatar
    Join Date
    Jul 2003
    Location
    England
    Posts
    1,219
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •