Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.


  Search this Thread
Old 03-23-2004, 07:16 PM   #1
LQ Newbie
Registered: Mar 2004
Location: France - Marseille
Distribution: FedoraCore 1
Posts: 2

Rep: Reputation: 0
Angry Problem With Installing Glibc-2.3.3

Hi all

I'm in Chapter 6. Installing basic system software trying my glibc compilation with

../glibc-2.3.3-20031202/configure --prefix=/usr \
    --disable-profile --enable-add-ons=linuxthreads \
    --libexecdir=/usr/lib --with-headers=/usr/include \
And I get this error :

checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking sysdep dirs... sysdeps/i386/elf linuxthreads/sysdeps/unix/sysv/linux/i386 linuxthreads/sysdeps/unix/sysv/linux linuxthreads/sysdeps/pthread sysdeps/pthread linuxthreads/sysdeps/unix/sysv linuxthreads/sysdeps/unix linuxthreads/sysdeps/i386/i686 linuxthreads/sysdeps/i386 sysdeps/unix/sysv/linux/i386 sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet sysdeps/unix/sysv/i386 sysdeps/unix/sysv sysdeps/unix/i386 sysdeps/unix sysdeps/posix sysdeps/i386/i686/fpu sysdeps/i386/i686 sysdeps/i386/i486 sysdeps/i386/fpu sysdeps/i386 sysdeps/wordsize-32 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic
checking for a BSD-compatible install... /tools/bin/install -c
checking whether ln -s works... yes
checking for gcc... gcc
checking for suffix of object files... configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
here is the config.log file:

configure:2281: found /tools/bin/gcc
configure:2291: result: gcc
configure:2535: checking for C compiler version
configure:2538: gcc --version </dev/null >&5
../glibc-2.3.3-20031202/configure: line 1: /tools/bin/gcc: No such file or directory
configure:2541: $? = 127
configure:2543: gcc -v </dev/null >&5
../glibc-2.3.3-20031202/configure: line 1: /tools/bin/gcc: No such file or directory
configure:2546: $? = 127
configure:2548: gcc -V </dev/null >&5
../glibc-2.3.3-20031202/configure: line 1: /tools/bin/gcc: No such file or directory
configure:2551: $? = 127
configure:2555: checking for suffix of object files
configure:2577: gcc -c   conftest.c >&5
../glibc-2.3.3-20031202/configure: line 1: /tools/bin/gcc: No such file or directory
configure:2580: $? = 127
configure: failed program was:
| #line 2560 "configure"
| /* confdefs.h.  */
| #define PACKAGE_NAME "GNU C Library"
| #define PACKAGE_TARNAME "c-library"
| #define PACKAGE_VERSION "(see version.h)"
| #define PACKAGE_STRING "GNU C Library (see version.h)"
| #define PACKAGE_BUGREPORT "glibc"
| #define USE_REGPARMS 1
| /* end confdefs.h.  */
| int
| main ()
| {
|   ;
|   return 0;
| }
configure:2594: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.

Did I forgot something ??

thx in advance for your help

Old 03-24-2004, 04:10 AM   #2
Registered: Jul 2003
Location: netherlands
Distribution: debian
Posts: 403

Rep: Reputation: 30
did your gcc (second pass, see page 78) build correctly in chapter 5? I think something went wrong there... did you work through all tests / patches etc there? did you compile it with the --languages=c,c++? this is critical, because you need support for bith languages... and after pass 2 of gcc, did you do the sanity check? (compiling the dummy program, see page 72)

good luck with this...
-= iluvatar =-

NOTE: the page numbers are for version 5 of the LFS book....
Old 10-11-2005, 10:33 PM   #3
LQ Newbie
Registered: Jun 2005
Posts: 7

Rep: Reputation: 0

did you ever fix this problem? I'm getting the same error. Did you have to restart?
Old 10-13-2005, 12:51 PM   #4
Registered: Sep 2005
Posts: 244

Rep: Reputation: 30
Originally posted by jeffholman

did you ever fix this problem? I'm getting the same error. Did you have to restart?
No linux doesn't have to restart, only if you compiled a kernel.
There went something wrong with the Gnu C Compiler.
GCC is a pain to install. The only way I got it installed is to copy paste the ./configure code , don't ask me why..
Old 10-15-2005, 04:45 PM   #5
Registered: Sep 2005
Distribution: debian, linux from scratch
Posts: 190

Rep: Reputation: 51
I allready typed something about a problem with compileing gcc second paas.
Maybe it's worth looking at.
Just follow this link to my Older post .
Also try this sanity check:

$ echo "main {} ()" >
$ gcc

If that works c++ works. If it doesn't than you must certainly recompile gcc.

Good Luck,


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem installing glibc-2.3.2-4.80.i686, glibc-common-2.3.2-4.80.8.i386.rpm martianpackets Red Hat 8 05-01-2009 04:22 PM
Having Problem in Installing glibc 2.3.5 Big D@ddy Linux - Software 2 04-18-2005 04:05 AM
Problem installing glibc-2.3.4 M.R Linux - Software 4 03-15-2005 09:03 AM
A problem in the GLIBC-2.3.2 installing chamberlain Linux - General 7 06-12-2004 07:12 AM
Problem installing glibc...need help tarballed Linux - General 1 01-28-2003 12:42 AM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 03:38 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration