Review your favorite Linux distribution.
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 02-12-2005, 04:31 PM   #1
LQ Newbie
Registered: Feb 2005
Distribution: mandrake 10.0 official
Posts: 1

Rep: Reputation: 0
Problem with Glibc-2.3.4 chapter 6.11


When i try to configure glibc-2.3.4-20040701 from LFS6.0 i'got a error which said:

Checking for gcc...gcc
Checking for suffix of object files...configure:error:cannot compute suffixe of object files:cannot compile
See "config.log" for more details

Here is my log file:

It was created by GNU C Library configure (see version.h), which was
generated by GNU Autoconf 2.59. Invocation command line was

$ ../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-kernelheaders/

## --------- ##
## Platform. ##
## --------- ##

hostname = localhost
uname -m = i686
uname -r = 2.6.3-7mdk
uname -s = Linux
uname -v = #1 Wed Mar 17 15:56:42 CET 2004

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /bin/
PATH: /usr/bin/
PATH: /sbin/
PATH: /usr/sbin/
PATH: /tools/bin/

## ----------- ##
## Core tests. ##
## ----------- ##

configure:1740: checking build system type
configure:1758: result: i686-pc-linux-gnuoldld
configure:1766: checking host system type
configure:1780: result: i686-pc-linux-gnuoldld
configure:1949: checking sysdep dirs
configure:2163: result: sysdeps/generic/elf sysdeps/generic
configure:2182: checking for a BSD-compatible install
configure:2237: result: /tools/bin//install -c
configure:2252: checking whether ln -s works
configure:2256: result: yes
configure:2310: checking for gcc
configure:2326: found /tools/bin//gcc
configure:2336: result: gcc
configure:2580: checking for C compiler version
configure:2583: gcc --version </dev/null >&5
gcc (GCC) 3.4.1
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO

configure:2586: $? = 0
configure:2588: gcc -v </dev/null >&5
Reading specs from /tools/bin/../lib/gcc/i686-pc-linux-gnu/3.4.1/specs
Configured with: ./configure --prefix=/tools/ --libexecdir=/tools/lib --with-local-prefix=/tools/ --enable-clocale=gnu --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-language=c,c++ --disable-libstdcxx-pch
Thread model: posix
gcc version 3.4.1
configure:2591: $? = 0
configure:2593: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:2596: $? = 1
configure:2600: checking for suffix of object files
configure:2621: gcc -c conftest.c >&5
gcc: installation problem, cannot exec `/tools/bin/../lib/gcc/i686-pc-linux-gnu/3.4.1/../../../../i686-pc-linux-gnu/bin/as': No such file or directory
configure:2624: $? = 1
configure: failed program was:
| /* 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:2638: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.

Do you have any clues of what can i do, Cause 'till now everythings where find ?

Thank's in Advance

Old 02-14-2005, 12:04 PM   #2
LQ Veteran
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389

gcc: installation problem, cannot exec `/tools/bin/../lib/gcc/i686-pc-linux-gnu/3.4.1/../../../../i686-pc-linux-gnu/bin/as': No such file or directory

Did you install as correctly? Looks like it's missing.

BTW: as is part of the binutils package. Are you absolutely sure it was installed correctly? It (binutils build dir) should still be present 'cause it's needed for the next step after glibc, check the logfiles.

Hope this helps.


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
LFS 6.0 Chapter 6: compiling glibc problem Sakur Linux From Scratch 3 08-13-2005 11:39 PM
glibc-2.3.3 in chapter 6 error znif Linux From Scratch 11 06-28-2004 07:15 AM
glibc in chapter 6: not use locales? davemar Linux From Scratch 5 04-20-2004 05:15 AM
glibc problem in chapter 6 alaios Linux From Scratch 5 04-04-2004 04:27 AM
Chapter 6 glibc-2.3.1 install gabebster Linux From Scratch 14 09-24-2003 10:38 PM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 01:32 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration