Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Archive: List-Post: List-Help: , 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 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] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit [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 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