GCC Error chap-5.5

Martin Zajíc <ZAJCA> zajcaa at gmail.com
Thu Feb 3 05:17:18 PST 2011

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/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: zajcaa at gmail.com
Jabber: zajcaa at gmail.com

On Tue, Feb 1, 2011 at 12:55 AM, Ken Moffat <ken at linuxfromscratch.org> wrote:
> On Mon, Jan 31, 2011 at 05:36:40PM -0600, Mike McCarty wrote:
>> Martin Zajíc <ZAJCA> 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

More information about the lfs-support mailing list