Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jan 1997 14:45:58 -0800
From:      John Polstra <jdp@polstra.com>
To:        gj@freebsd.org
Cc:        current@freebsd.org
Subject:   The new gdb links with -lmalloc ?!
Message-ID:  <199701162245.OAA28442@austin.polstra.com>

next in thread | raw e-mail | index | archive | help
I'm working with a slightly old -current, so this could be simple
cockpit error.  I just updated my src/contrib/gdb and
src/gnu/usr.bin/gdb sources to the latest, and tried building it.  All
went fine until the final link step, when it tried to link with
"-lmalloc".  That library was banished to /usr/lib/compat long ago,
wasn't it?

I fixed src/gnu/usr.bin/gdb/gdb/Makefile and then it linked OK:

Index: Makefile
===================================================================
RCS file: /home/ncvs/src/gnu/usr.bin/gdb/gdb/Makefile,v
retrieving revision 1.15
diff -u -r1.15 Makefile
--- Makefile    1997/01/15 22:35:22     1.15
+++ Makefile    1997/01/16 22:40:01
@@ -56,7 +56,7 @@
 .endif
 
 DPADD+= ${LIBTERMCAP}
-LDADD+= -ltermcap -lmalloc
+LDADD+= -ltermcap
 
 .if exists(${.OBJDIR}/../libiberty)
 LDADD+=   -L${.OBJDIR}/../libiberty -liberty



John
--
   John Polstra                                       jdp@polstra.com
   John D. Polstra & Co., Inc.                Seattle, Washington USA
   "Self-knowledge is always bad news."                 -- John Barth



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701162245.OAA28442>