Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com X-Lotus-FromDomain: NATURAL MICROSYSTEMS From: Todd_Manchester AT nmss DOT com To: cygwin AT sourceware DOT cygnus DOT com Message-ID: <85256789.0077ACD2.00@notes4.nmss.com> Date: Mon, 7 Jun 1999 16:38:37 -0500 Subject: linking to libbfd Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline I am trying to link to the BFD library using -lbfd, but I keep getting error messages such as these: /cygnus/cygwin-b20/src/bfd/aoutx.h:1608: undefined reference to `dcgettext__' /cygnus/cygwin-b20/src/bfd/aoutx.h:1608: undefined reference to `_nl_msg_cat_cntr' It appears as if it cannot locate the symbols `dcgettext__' and `_nl_msg_cat_cntr'. I thought the symbols were in libintl.a, which I am linking with also. I have included all the required library paths as well. I configured the bfd directory with ./configure --./configure --enable-targets=m68k-aout --with-included-gettext --with-gnu-ld and the intl directory with ./configure --with-included-gettext --with-gnu-ld The problems appeared when I used the function bfd_openr(); Questions: 1. How can I resolve the linking issue? 2. Any other suggestions comments for linking with libbfd.a? 3. Where can I find additional documentation or examples on using bfd? Ultimately, I need to create a program that will resolve symbols given a starting code address. Thanks. (Please excuse any missing information, I am not yet completely familiar with cygwin or with linker internals.) -Todd Manchester -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com