LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-10-2003, 08:07 PM   #1
matt_w_lambert
Member
 
Registered: Jan 2003
Location: WA
Distribution: Red Hat 9.0, mandrake 9.2
Posts: 194

Rep: Reputation: 30
compiling glibc staticly - error


I am trying to compile glibc for my linux from scratch system i am bilding but i get the error

checking for suffix of object files... configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.

so i check my config.log and it says

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

configure:1676: checking build system type
configure:1694: result: i686-pc-linux-gnuoldld
configure:1702: checking host system type
configure:1716: result: i686-pc-linux-gnuoldld
configure:1860: checking sysdep dirs
configure:2074: result: sysdeps/generic/elf sysdeps/generic
configure:2092: checking for a BSD-compatible install
configure:2146: result: /static/bin/install -c
configure:2161: checking whether ln -s works
configure:2165: result: yes
configure:2180: checking for pwd
configure:2198: found /bin/pwd
configure:2211: result: /bin/pwd
configure:2230: checking for gcc
configure:2246: found /static/bin/gcc
configure:2256: result: gcc
configure:2270: checking version of gcc
configure:2280: result: 3.3.1, ok
configure:2291: checking for gnumake
configure:2320: result: no
configure:2291: checking for gmake
configure:2320: result: no
configure:2291: checking for make
configure:2307: found /static/bin/make
configure:2317: result: make
configure:2331: checking version of make
configure:2341: result: 3.80, ok
configure:2365: checking for gnumsgfmt
configure:2394: result: no
configure:2365: checking for gmsgfmt
configure:2394: result: no
configure:2365: checking for msgfmt
configure:2394: result: no
configure:2426: checking for makeinfo
configure:2442: found /static/bin/makeinfo
configure:2452: result: makeinfo
configure:2466: checking version of makeinfo
configure:2476: result: 4.6, ok
configure:2487: checking for sed
configure:2503: found /static/bin/sed
configure:2513: result: sed
configure:2527: checking version of sed
configure:2537: result: 4.0.7, ok
configure:2925: checking for C compiler version
configure:2928: gcc --version </dev/null >&5
gcc (GCC) 3.3.1
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2931: $? = 0
configure:2933: gcc -v </dev/null >&5
Reading specs from /static/bin/../lib/gcc-lib/i686-pc-linux-gnu/3.3.1/specs
Configured with: ./gcc-3.3.1/configure --prefix=/dev/hdc1/static --disable-nls --disable-shared --with-as=/mnt/lfs/static/bin/as --with-ld=/mnt/lfs/static/bin/ld : (reconfigured) ./gcc-3.3.1/configure --prefix=/mnt/lfs/static --disable-nls --disable-shared --with-as=/mnt/lfs/static/bin/as --with-ld=/mnt/lfs/static/bin/ld
Thread model: posix
gcc version 3.3.1
configure:2936: $? = 0
configure:2938: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:2941: $? = 1
configure:2945: checking for suffix of object files
configure:2967: gcc -c conftest.c >&5
***************************************************
(i think this its the problem)

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

(but i checked an this file is there /i686-pc-linux-gnu/bin/as)
***********************************************************
configure:2970: $? = 1
configure: failed program was:
| #line 2950 "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:2984: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
 
  


Reply



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
Compiling glibc-2.3.5 or glibc 2.3.5-r1 on Gentoo fails ghrellin Linux - Software 2 07-19-2005 01:01 AM
Error cross-compiling glibc, chapter 5 donbellioni Linux From Scratch 2 09-17-2004 02:12 PM
Staticly linked jre? lsakhvoruk Linux - Software 0 10-13-2003 03:34 PM
Problem compiling glibc v2.3.1 agrocott Linux - Software 2 01-30-2003 12:14 PM
Compiling glibc Scerj Programming 1 06-27-2001 11:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:47 PM.

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