LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 02-21-2005, 09:22 PM   #1
tagigogo
LQ Newbie
 
Registered: Sep 2004
Posts: 21

Rep: Reputation: 15
Unhappy gcc-pass 2...libstdc++-v3...GCC_NO_EXECUTABLE!!


hi, I followed LFS6.1 to gcc-pass 2...here is some output of 'make'

// When I have the --enable-clocale=gnu on:

Checking for C locale to use ... gnu
Checking for msgfmt yes
Checking for libintl.h usability yes
Checking for libintl.h presence yes
Checking for library containing gettext ... Configure:error:Link tests are not allowed after GCC_NO_EXECUTABLE
make:***[configure-target-libstdc++-v3] Error 1

//When i get rid of --enable-clocale=gnu, the error msg jumps to another location:

Checking for sin in -lm... Configure:error:Link tests are not allowed after GCC_NO_EXECUTABLE
make:***[configure-target-libstdc++-v3] Error 1

----------------------------------------------------------------------------------------------------------
Here is some info about my machine and some changes I made thru out the building(so far.. )

amd64
host system: Mandrake 10.1 devel;
I added '--host=${TARGET}' and '--libdir=/tools/lib64' to almost every packages I've built;
spec file was examined carefully, shouldn't be any problems;
from the suggestion of ryan's scripts, I also made CC="gcc -m64"
.....
---------------------------------------------------------------------------

well, i don't think those changes are really matter, since I had the same problems the first time I built gcc-pass2 which I didn't pay much attention to x86_64 and didn't change a lot except the spec file...then, i decided to rebuild and made the chances above...

Any one can help???
 
Old 02-22-2005, 09:06 AM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
Quote:
well, i don't think those changes are really matter,
Not sure what went wrong..............D'oh
making your own changes and NOT following the book exactly can lead to errors like this............
 
Old 02-22-2005, 10:40 AM   #3
tagigogo
LQ Newbie
 
Registered: Sep 2004
Posts: 21

Original Poster
Rep: Reputation: 15
Quote:
Not sure what went wrong..............D'oh making your own changes and NOT following the book exactly can lead to errors like this............
i said the got the same error even if I followed the book!
Anyone even has a guess of what's going wrong??
 
Old 02-22-2005, 01:12 PM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

Without knowing what you did/did not change in this and the previous steps and the fact that this is lfs 6.1 (development) makes it kinda hard to give a good folluw-up.

Ok, can come up with one more thing: Did you delete the gcc-build dir from gcc pass 1? If you did not: You should have.

Not much to go on, but hope it helps anyway.
 
Old 02-23-2005, 09:11 AM   #5
tagigogo
LQ Newbie
 
Registered: Sep 2004
Posts: 21

Original Poster
Rep: Reputation: 15
linux header

Quote:
Did you delete the gcc-build dir from gcc pass 1?
yes, i deleted it...

well, I built the tool chain again, but this time, I followed LWF6.0 - still have the SAME problem...got a little confused with the "Linux-2.6.8.1 Headers"...since you can't even find 'include/linux/version.h' in the kernel source file...in LFS6.1, there is no this section anymore; it just tells you link the header files directly to '/tools/include' - where you copy the linux glibc headers -- what's the differences between those two????....well, i just did the same in LWF6.0 (am I wrong? probably, since I didn't find anyone ask questiona about this!!) so do you think this would be an issue???

anyway, thanks for all the replies...i guess i have to learn more about compiling and programing and the linux kernel...know too little to find answers.
 
Old 05-13-2005, 12:08 PM   #6
samu3l
LQ Newbie
 
Registered: May 2005
Posts: 8
Blog Entries: 1

Rep: Reputation: 0
I have the same error with you

and I followed all steps on the book


does anyone slove the problem yet?!
(or tagigogo had succeeded ?!?!!)

cloud you share the experience of fixing the error ?!

(sorry , my english is pooooooooooooor >"<)
 
Old 05-13-2005, 01:50 PM   #7
tagigogo
LQ Newbie
 
Registered: Sep 2004
Posts: 21

Original Poster
Rep: Reputation: 15
pay attention, samu3l, try this out!

Wow, it's been a long time....don't know if I really solved the problem or it's just my luck...the problem no longer exist after I adding '--disable-multilib' along with other switches which I don't quite remember...actually, I guess I rebuilt the whole toolchain with that switch and no error occured until I reached the BLFW....so try to add that option and then recompile your gcc...
hope it will help!!
 
Old 05-15-2005, 11:19 AM   #8
samu3l
LQ Newbie
 
Registered: May 2005
Posts: 8
Blog Entries: 1

Rep: Reputation: 0
thank you for you replying

when I add the " --disable-multilib " into my command , there is no difference

anyway , I'll try to search way to solve the problem :'(

Thank you so much (Y)
 
  


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
fluxbox-0.9.13 problem with gcc and libstdc++ StewieG Linux - Software 1 08-22-2005 03:04 PM
gcc, g++ libstdc ? WHAT!?! Trying to install scribus irbaileyus Linux - Software 7 02-18-2005 04:09 PM
gcc libstdc++ problem tygernoot Programming 1 11-03-2004 04:43 PM
What?!:gcc = 3.3.2 conflicts with libstdc++-3.3.2-2 dsledge Linux - Software 1 09-28-2004 06:24 AM
g++-3.3 gcc-3.3 libstdc++5-3.3-dev will not update sarge Moloko Debian 19 08-29-2004 11:59 PM

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

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