Building binutils-2.15.97 --enable-targets=all
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 >make 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 == #ifdef USE_UNIQUE if (an_external_name != NULL) unique = an_external_name; #endif == Grepping through the source, an_external_name is defined in symbols.c: == gas/symbols.c:63-67 == #ifdef USE_UNIQUE /* The name of an external symbol which is used to make weak PE symbol names unique. */ const char * an_external_name; #endif == 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 ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
Re: Building binutils-2.15.97 --enable-targets=all
On 1/30/06, Nick Clifton <[EMAIL PROTECTED]> wrote: > Hi Muhammad, > > > 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 > >> make > > > 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' > > This does not happen with the latest sources in the CVS repository, nor > with the officially released 2.16 sources, so I do not really see this > as a problem. > Hmm...I downloaded 2.15.97 because it was the latest on ftp://sourceware.org/pub/binutils/snapshots - didn't know there was a more recent release. > Cheers > Nick > Thanks -- Muhammad Haggag ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils