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??? :confused: |
Quote:
making your own changes and NOT following the book exactly can lead to errors like this............ |
Quote:
Anyone even has a guess of what's going wrong?? |
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. |
linux header
Quote:
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. |
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 >"<) |
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!! |
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) |
All times are GMT -5. The time now is 03:19 PM. |