This is the mail archive of the binutils@sourceware.cygnus.com 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]

Re: opcodes/Makefile.am: $(LIBIBERTY) not set, needed for ia64-gen


Hi Hans-Peter,

: opcodes/Makefile.am:
: ia64-gen: ia64-gen.o
:         $(LINK) ia64-gen.o $(LIBIBERTY)
: 
: I can't see that LIBIBERTY is set anywhere.  Linking with libiberty
: is needed and causes undefined references to xmalloc, xstrdup et
: al. - unless those symbols are provided by the system libc.
: Perhaps everybody doing ia64 development or --enable-targets=all
: has it in their system libc and that's why nobody has noticed.
: 
: Defining LIBIBERTY as ../libiberty/libiberty.a might be right,
: but perhaps there's an automake thingy that should be used.

Well just defininbg it seems the easiest thing to do for now, so I
have chekced the following patch in.

Cheers
	Nick


2000-05-21  Nick Clifton  <nickc@cygnus.com>

	* Makefile.am (LIBIBERTY): Define.

Index: Makefile.am
===================================================================
RCS file: /cvs/src//src/opcodes/Makefile.am,v
retrieving revision 1.13
diff -p -r1.13 Makefile.am
*** Makefile.am	2000/05/06 17:14:34	1.13
--- Makefile.am	2000/05/21 17:00:44
*************** lib_LTLIBRARIES = libopcodes.la
*** 16,21 ****
--- 16,24 ----
  # This is where bfd.h lives.
  BFD_H = ../bfd/bfd.h
  
+ # This is where libiberty lives.
+ LIBIBERTY = ../libiberty/libiberty.a
+ 
  # Header files.
  HFILES = \
  	arm-opc.h \

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