LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 12-27-2005, 05:51 AM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Rep: Reputation: 56
Problem on config glibc-2.3.4


Hi folks,

lfs-6.1.1
lfs-livecd-6.1.1 as host

6.11. Glibc-2.3.4
Problem on configuring glibc-2.3.4 with following warning popup;
Code:
...
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.
Checked "/glibc-build/config.log" nothing further mentioned only the same line as mentioned above.

# cd sources/glibc-2.3.4
# gcc -v
Code:
Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/specs
Configured with: ../gcc-3.4.3/configure --prefix=/usr --libexecdir=/usr/lib --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-languages=c,c++
Thread model: posix
gcc version 3.4.3
# cd tools/bin/
# ./gcc -v
Code:
Reading specs from /mnt/lfs/tools/bin/../lib/gcc/i686-pc-linux-gnu/3.4.3/specs
Configured with: ../gcc-3.4.3/configure --prefix=/tools --libexecdir=/tools/lib --with-local-prefix=/tools --disable-nls --enable-shared --enable-languages=c
Thread model: posix
gcc version 3.4.3

Having found following URL
http://www.linuxquestions.org/questi...d.php?t=339554

Created symlink as advised there.

# ls -l /bin/
Code:
......
lrwxrwxrwx  1 root root     13 2005-12-27 18:38 gcc -> tools/bin/gcc
.....
Remark: "gcc" is red colour, not the same colour as other symlinks(light-blue)

But its solution did not work here.

Re-ran config glibc-2.3.4 with same warning popup;
Code:
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.
Kindly advise. TIA

Remark: having skipped Section 5.11. GCC-3.4.3 - Pass 2
please refers to following URL
http://www.linuxquestions.org/questi...d.php?t=396558

BR
satimis

Last edited by satimis; 12-27-2005 at 06:17 AM.
 
Old 02-03-2006, 10:25 PM   #2
bmcmahon
LQ Newbie
 
Registered: Jan 2005
Posts: 2

Rep: Reputation: 0
I had the same problem. Double check your sym links. I was missing /tools/lib/libgcc_s.so.1.
 
Old 02-03-2006, 10:28 PM   #3
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by bmcmahon
I had the same problem. Double check your sym links. I was missing /tools/lib/libgcc_s.so.1.
Noted with tks
 
  


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
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 03:22 PM
Replacing glibc using linuxthreads for glibc using nptl (native positx thread library CestusGW Linux From Scratch 4 01-20-2005 07:26 AM
ncsd, glibc, and glibc-common conflicts during LAMP install beaker911 Linux - Software 0 12-30-2004 02:31 PM
glibc config errors kudos Linux - Software 2 10-06-2003 12:13 PM
possible samba config problem or network config issue? rruffin Linux - Networking 3 06-03-2003 04:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 11:01 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