From owner-freebsd-stable Wed Sep 26 5:56:51 2001 Delivered-To: freebsd-stable@freebsd.org Received: from luke.immure.com (luke.immure.com [207.8.42.74]) by hub.freebsd.org (Postfix) with ESMTP id C1D8D37B41C; Wed, 26 Sep 2001 05:56:46 -0700 (PDT) Received: (from bob@localhost) by luke.immure.com (8.11.2/8.11.5) id f8QCugj82433; Wed, 26 Sep 2001 07:56:42 -0500 (CDT) (envelope-from bob) Date: Wed, 26 Sep 2001 07:56:42 -0500 From: Bob Willcox To: Ruslan Ermilov Cc: Kent Stewart , freebsd-stable@FreeBSD.ORG Subject: Re: Build error upgrading from 4.1.1 to 4-stable: undefined ref to basename Message-ID: <20010926075642.A82399@luke.immure.com> Reply-To: Bob Willcox References: <20010925173724.A46638@luke.immure.com> <20010925174030.B46638@luke.immure.com> <3BB10A95.E880F69E@owt.com> <20010926094358.E20611@sunbay.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010926094358.E20611@sunbay.com>; from ru@FreeBSD.ORG on Wed, Sep 26, 2001 at 09:43:58AM +0300 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Sep 26, 2001 at 09:43:58AM +0300, Ruslan Ermilov wrote: > On Tue, Sep 25, 2001 at 03:52:05PM -0700, Kent Stewart wrote: > > > > > > Bob Willcox wrote: > > > > > > Sorry about that, I forgot the subject on this mail and mutt did what I > > > said, not what I meant. :-) > > > > Ruslan listed this patch early this morning. I don't know if it has been > > committed yet. > > > > Index: Makefile > > =================================================================== > > RCS file: /home/ncvs/src/gnu/usr.bin/binutils/libiberty/Makefile,v > > retrieving revision 1.11 > > diff -u -p -r1.11 Makefile > > --- Makefile 2001/09/14 23:07:02 1.11 > > +++ Makefile 2001/09/25 12:25:43 > > @@ -10,8 +10,7 @@ SRCS= argv.c choose-temp.c concat.c cp-d > > hex.c floatformat.c lbasename.c objalloc.c obstack.c > > safe-ctype.c \ > > xatexit.c xexit.c xmalloc.c \ > > xstrdup.c xstrerror.c > > -LIBC_BASENAME!= ar tv /usr/lib/libc.a | grep basename > > -.if ${LIBC_BASENAME} == "" > > +.if defined(BOOTSTRAPPING) > > SRCS+= basename.c > > .endif > > CFLAGS+= -DHAVE_CONFIG_H > > > > You might check you makefile and see if this has been included. > > > Uh no, this Makefile is for -CURRENT, which already has a slightly > modified version of the fix. The version for 4.4-STABLE is: Turns out that I noticed that and did use the version for stable...with good success, I might add! :-) Thanks, Bob > > Index: Makefile > =================================================================== > RCS file: /home/ncvs/src/gnu/usr.bin/binutils/libiberty/Makefile,v > retrieving revision 1.3.2.3 > diff -u -p -r1.3.2.3 Makefile > --- Makefile 2001/08/01 22:54:12 1.3.2.3 > +++ Makefile 2001/09/26 06:45:13 > @@ -10,6 +10,9 @@ SRCS= argv.c choose-temp.c concat.c cp-d > hex.c floatformat.c lbasename.c objalloc.c obstack.c safe-ctype.c \ > xatexit.c xexit.c xmalloc.c \ > xstrdup.c xstrerror.c > +.if defined(BOOTSTRAPPING) > +SRCS+= basename.c > +.endif > CFLAGS+= -DHAVE_CONFIG_H > NOPROFILE= true > NOPIC= true > > > I'm trying to build the 4.0-RELEASE box now, and then will test the > upgrade path to 4.4-STABLE and 5.0-CURRENT. > > > > Cheers, > -- > Ruslan Ermilov Oracle Developer/DBA, > ru@sunbay.com Sunbay Software AG, > ru@FreeBSD.org FreeBSD committer, > +380.652.512.251 Simferopol, Ukraine > > http://www.FreeBSD.org The Power To Serve > http://www.oracle.com Enabling The Information Age -- Bob Willcox Putt's Law: bob@vieo.com Technology is dominated by two types of people: Austin, TX Those who understand what they do not manage. Those who manage what they do not understand. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message