From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18035 invoked by alias); 3 Dec 2001 05:46:07 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 17981 invoked by uid 71); 3 Dec 2001 05:46:04 -0000 Date: Sun, 02 Dec 2001 21:46:00 -0000 Message-ID: <20011203054604.17977.qmail@sources.redhat.com> To: tromey@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Tom Tromey Subject: Re: java/4972: undefined reference to libiconv Reply-To: Tom Tromey X-SW-Source: 2001-12/txt/msg00206.txt.bz2 List-Id: The following reply was made to PR java/4972; it has been noted by GNATS. From: Tom Tromey To: George.R.Goffe@seagate.com Cc: gcc-gnats@gcc.gnu.org Subject: Re: java/4972: undefined reference to libiconv Date: 02 Dec 2001 22:44:41 -0700 Hi George. Please continue to CC gcc-gnats so that relevant information is recorded in the PR. I'll attach your config.log to the PR. I think the problem you are seeing arises because: * You have libiconv installed * You don't tell configure this (using --with-libiconv-prefix) * Your system has its own native iconv implementation Can you verify this guess? The underlying bug seems to be that AM_ICONV, I think, doesn't notice it has found the libiconv , and so then doesn't try to link in the actual library in the case where the system has a native iconv(). So confusion results. Tom