delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/08/09/18:49:56

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>,
<http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <37AF5A83.AF6667F5@teleport.com>
Date: Mon, 09 Aug 1999 15:47:31 -0700
From: John Reiser <jreiser AT teleport DOT com>
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.5-15 i586)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin AT sourceware DOT cygnus DOT com, Todd_Manchester AT nmss DOT com
Subject: linking to libbfd [fix]

[OK, I found the Subject in the cygwin mailing list archives,
but no way to reply so as to insure a link.  I'll use the
same Subject, so that at least the Index will give a clue.]

(cygwin b20.1 on WinNT 4.0 +SP3)
Todd_Manchester AT nmss DOT com reports that using "-lbfd" gives
undefined externals dcgettext__ and _nl_msg_cat_cntr.
I also see these from the simple testcase

=====testcase file buglibbfd.c
#include <bfd.h>
main()
{
	bfd *abfd = bfd_openr("foo.o", "pe-i386");
}
=====command
gcc -o bug1 buglibbfd.c -lbfd -liberty
=====fix
gcc -o bug1 buglibbfd.c -lbfd -liberty -lintl
=====

and the problem is that the b20-1 release of cygwin
does not have libintl.a as a separate installed component.
Get the source and build it yourself.

-- 
John Reiser, jreiser AT teleport DOT com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019