[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Building binutils-2.15.97 --enable-targets=all

From: Muhammad Haggag
Subject: Building binutils-2.15.97 --enable-targets=all
Date: Sun, 29 Jan 2006 16:11:21 +0200

While building binutils (binutils-2.15.97.tar.bz2) on Cygwin, as follows:
>configure --enable-targets=all --enable-shared --with-gnu-as --with-gnu-ld

I got the following error:
>obj-coff.o: In function `coff_frob_symbol':
>/usr/src/binutils-2.15.97/gas/config/obj-coff.c:1145: undefined
reference to `_an_external_name'

== gas/config/obj-coff.c:1144-1147 ==
  if (an_external_name != NULL)
    unique = an_external_name;

Grepping through the source, an_external_name is defined in symbols.c:
== gas/symbols.c:63-67 ==
/* The name of an external symbol which is
   used to make weak PE symbol names unique.  */
const char * an_external_name;

So it seems that USE_UNIQUE isn't uniformly defined over all source
files - I worked around this by defining it at the top of symbols.c.
Muhammad Haggag

reply via email to

[Prev in Thread] Current Thread [Next in Thread]