Re: GCC Error chap-5.5
Thank for reply. I checked logs than i found. configure:3211: checking for suffix of object files configure:3233: /mnt/LFS/build/gcc-4.5.1-BUILD/./gcc/xgcc -B/mnt/LFS/build/gcc-4.5.1-BUILD/./gcc/ -B/tools/x86_64-lfs-linux-gnu/bin/ -B/tools/x86_64-lfs-linux-gnu/lib/ -isystem /tools/x86_64-lfs-linux-gnu/include -isystem /tools/x86_64-lfs-linux-gnu/sys-include-c -g -O2 conftest.c >&5 /mnt/LFS/build/gcc-4.5.1-BUILD/./gcc/cc1: error while loading shared libraries: libmpc.so.2: cannot open shared object file: No such file or directory configure:3237: $? = 1 I install g++ and it's ok. (now i have problem with glibc I'll start new thread for it. If I don't find solution.) -- Martin Zajíc E-mail: zaj...@gmail.com Jabber: zaj...@gmail.com On Tue, Feb 1, 2011 at 12:55 AM, Ken Moffat wrote: > On Mon, Jan 31, 2011 at 05:36:40PM -0600, Mike McCarty wrote: >> Martin Zajíc wrote: >> >> [...] >> >> > checking for suffix of object files... configure: error: in >> > `/mnt/LFS/build/gcc-4.5.1-BUILD/x86_64-lfs-linux-gnu/libgcc': >> > configure: error: cannot compute suffix of object files: cannot compile >> > See `config.log' for more details. >> >> Did you see `config.log' for details? >> >> Mike >> -- > I haven't seen the original post, so I don't know what the problem > is, but I'd better mention that gcc (and binutils) scatter > config.log files throughout their directories - so, first identify > the newest config.log (of course, there might only be one), then > look for the 'cannot compute suffix' message in it, and look at the > lines just before that to see what error messages were produced when > configure attempted to run a test program for this. > > Also, I hope the OP was using freshly extracted source, and a fresh > -build directory - people get all sorts of weird and wonderful > errors if they don't do that. > > ĸen > -- > das eine Mal als Tragödie, das andere Mal als Farce > -- > http://linuxfromscratch.org/mailman/listinfo/lfs-support > FAQ: http://www.linuxfromscratch.org/lfs/faq.html > Unsubscribe: See the above information page > -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: GCC Error chap-5.5
On Mon, Jan 31, 2011 at 05:36:40PM -0600, Mike McCarty wrote: > Martin Zajíc wrote: > > [...] > > > checking for suffix of object files... configure: error: in > > `/mnt/LFS/build/gcc-4.5.1-BUILD/x86_64-lfs-linux-gnu/libgcc': > > configure: error: cannot compute suffix of object files: cannot compile > > See `config.log' for more details. > > Did you see `config.log' for details? > > Mike > -- I haven't seen the original post, so I don't know what the problem is, but I'd better mention that gcc (and binutils) scatter config.log files throughout their directories - so, first identify the newest config.log (of course, there might only be one), then look for the 'cannot compute suffix' message in it, and look at the lines just before that to see what error messages were produced when configure attempted to run a test program for this. Also, I hope the OP was using freshly extracted source, and a fresh -build directory - people get all sorts of weird and wonderful errors if they don't do that. ĸen -- das eine Mal als Tragödie, das andere Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: GCC Error chap-5.5
I saw it but i'dont know what to find. There is many tests with results no. I paste full config.log post before https://github.com/zajca/LFS---by-bash-scripts/blob/master/FAIL_Logs/config.log -- Martin Zajíc E-mail: zaj...@gmail.com On Tue, Feb 1, 2011 at 12:36 AM, Mike McCarty wrote: > Martin Zajíc wrote: > > [...] > >> checking for suffix of object files... configure: error: in >> `/mnt/LFS/build/gcc-4.5.1-BUILD/x86_64-lfs-linux-gnu/libgcc': >> configure: error: cannot compute suffix of object files: cannot compile >> See `config.log' for more details. > > Did you see `config.log' for details? > > Mike > -- > p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);} > Oppose globalization and One World Governments like the UN. > This message made from 100% recycled bits. > You have found the bank of Larn. > I speak only for myself, and I am unanimous in that! > -- > http://linuxfromscratch.org/mailman/listinfo/lfs-support > FAQ: http://www.linuxfromscratch.org/lfs/faq.html > Unsubscribe: See the above information page > -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: GCC Error chap-5.5
Martin Zajíc wrote: [...] > checking for suffix of object files... configure: error: in > `/mnt/LFS/build/gcc-4.5.1-BUILD/x86_64-lfs-linux-gnu/libgcc': > configure: error: cannot compute suffix of object files: cannot compile > See `config.log' for more details. Did you see `config.log' for details? Mike -- p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);} Oppose globalization and One World Governments like the UN. This message made from 100% recycled bits. You have found the bank of Larn. I speak only for myself, and I am unanimous in that! -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: GCC Error chap-5.5
2011/1/27 Martin Zajíc : > Hi, > i don't know what to do with this error. I found some similar post but > no solution. I'am building LFS on debian stable with gcc 4.3.2. > full output from building is here: > https://github.com/zajca/LFS---by-bash-scripts/blob/master/FAIL_Logs/LOG_gcc-4.5.1.log > and config.log here: > https://github.com/zajca/LFS---by-bash-scripts/blob/master/FAIL_Logs/config.log > -- > Martin Zajíc > E-mail: zaj...@gmail.com > Twitter: http://twitter.com/zajca > Sry, I forget to post error. There it is. checking for x86_64-lfs-linux-gnu-gcc... /mnt/LFS/build/gcc-4.5.1-BUILD/./gcc/xgcc -B/mnt/LFS/build/gcc-4.5.1-BUILD/./gcc/ -B/tools/x86_64-lfs-linux-gnu/bin/ -B/tools/x86_64-lfs-linux-gnu/lib/ -isystem /tools/x86_64-lfs-linux-gnu/include -isystem /tools/x86_64-lfs-linux-gnu/sys-include checking for suffix of object files... configure: error: in `/mnt/LFS/build/gcc-4.5.1-BUILD/x86_64-lfs-linux-gnu/libgcc': configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. make[1]: *** [configure-target-libgcc] Error 1 make[1]: Leaving directory `/mnt/LFS/build/gcc-4.5.1-BUILD' make: *** [all] Error 2 -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
GCC Error chap-5.5
Hi, i don't know what to do with this error. I found some similar post but no solution. I'am building LFS on debian stable with gcc 4.3.2. full output from building is here: https://github.com/zajca/LFS---by-bash-scripts/blob/master/FAIL_Logs/LOG_gcc-4.5.1.log and config.log here: https://github.com/zajca/LFS---by-bash-scripts/blob/master/FAIL_Logs/config.log -- Martin Zajíc E-mail: zaj...@gmail.com Twitter: http://twitter.com/zajca -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page