This is the mail archive of the mailing list for the binutils project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: (Solaris 2.7 - binutils-2.13.1) Broken Makefile (and configure?) for prebuild of ar

On Tue, Dec 17, 2002 at 08:39:50AM -0000, wrote:
> The README file in the binutils subdirectory lists a
> script to use for building ar.
> I ran configure as usual, and the script.
> The last step (building the ar executable) failed
> with this message:
> Undefined                       first referenced
>  symbol                             in file
> mkstemps                            ../libiberty/make-temp-file.o
> ld: fatal: Symbol referencing errors. No output written to ar

Does anyone know why we bother with needed-list and required-list,
and not use ../libiberty/*.o ?  As far as I can tell, this script
hasn't changed since Ian created it.

Index: binutils/README
RCS file: /cvs/src/src/binutils/README,v
retrieving revision 1.5
diff -u -p -r1.5 README
--- binutils/README	8 Mar 2002 06:05:18 -0000	1.5
+++ binutils/README	17 Dec 2002 09:34:12 -0000
@@ -100,7 +100,7 @@ ${MAKE} $* all-bfd
 cd binutils
 export MAKE
-${MAKE} $* ar_DEPENDENCIES= ar_LDADD='../bfd/*.o `cat ../libiberty/required-list ../libiberty/needed-list | sed -e "s,\([^ ][^ ]*\),../libiberty/\1,g"` `if test -f ../intl/gettext.o; then echo '../intl/*.o'; fi`' ar
+${MAKE} $* ar_DEPENDENCIES= ar_LDADD='../bfd/*.o ../libiberty/*.o `if test -f ../intl/gettext.o; then echo '../intl/*.o'; fi`' ar
 This script will build an ar program in binutils/ar.  Move binutils/ar
 into a directory on your PATH.  After doing this, you can run make as

Alan Modra
IBM OzLabs - Linux Technology Centre

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]