From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7358 invoked by alias); 18 Aug 2012 15:51:56 -0000 Received: (qmail 7347 invoked by uid 22791); 18 Aug 2012 15:51:55 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_HOSTKARMA_NO X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 18 Aug 2012 15:51:42 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id CA4431C767F; Sat, 18 Aug 2012 11:51:41 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id SLC+ahaj+zuV; Sat, 18 Aug 2012 11:51:41 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 9A77D1C7653; Sat, 18 Aug 2012 11:51:41 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 579DF14561A; Sat, 18 Aug 2012 08:51:36 -0700 (PDT) Date: Sat, 18 Aug 2012 15:51:00 -0000 From: Joel Brobecker To: Eli Zaretskii Cc: gdb-patches@sourceware.org Subject: Re: Failure to link GDB 7.6 Message-ID: <20120818155136.GG2798@adacore.com> References: <83boi8gynf.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <83boi8gynf.fsf@gnu.org> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-08/txt/msg00509.txt.bz2 > What is wrong with my libiconv? (There's no other libiconv on this > system, which is why I built my own some time ago.) I do not think it's your libiconv. It looks like the link command is missing the reference to libiconv (something like -liconv, or /path/to/ libiconv.so in your case [which I find a little unusual on a Unix system]). It is probably a consequence of how you configured GDB. I think that if you configure with --with-libiconv-prefix=/path/to/libiconv/prefix, everything should work (famous last words). -- Joel