Subject: Re: gcc3-c++ doesn't build on Red Hat 7.3
To: Johnny C. Lam <jlam@NetBSD.org>
From: Ognyan Kulev <email@example.com>
Date: 02/13/2004 10:45:31
Johnny C. Lam wrote:
> On Thu, Feb 12, 2004 at 08:04:05PM +0200, Ognyan Kulev wrote:
>>checking whether the C compiler (
>>-isystem /usr/pkg/gcc3/i386-pc-linux/include -O2 -O2 -march=pentiumpro
>>-pipe ) works... no
>>configure: error: installation or configuration problem: C compiler
>>cannot create executables.
>>make: *** [configure-target-libiberty] Error 1
>>*** Error code 2
>>What can be the problem? What other information can I provide to you?
> Can you provide a more complete transcript of the build? Also, the
> config.log generated by the configure script can provide more information
> about why that error occurred.
The specific error, as found in i386-pc-linux/libiberty/config.log, is:
/usr/pkg/bin/ld: cannot find -lgcc
binutils is 220.127.116.11 (from old pkgsrc).
Another interesting thing is that there is no /usr/pkg/bin/gcc. gcc3-c
is installed in /usr/pkg/gcc3. This is surely connected with pkgviews.
Does this mean that "gcc3" is view, which is not default? I never
specified view gcc3.
Another thing I noticed is that /usr/pkg/bin/digest is file, not
symbolic link to /usr/pkg/packages/digest-20021220/bin/digest.
So reading http://mail-index.netbsd.org/tech-pkg/2004/01/06/0004.html ,
I understand that I should "nuke" /usr/pkg and start again. I'll do it
and report again later.