From owner-freebsd-stable Tue Sep 25 23:44:47 2001 Delivered-To: freebsd-stable@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 280CB37B40A for ; Tue, 25 Sep 2001 23:44:39 -0700 (PDT) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.2/8.11.2) id f8Q6hwn24675; Wed, 26 Sep 2001 09:43:58 +0300 (EEST) (envelope-from ru) Date: Wed, 26 Sep 2001 09:43:58 +0300 From: Ruslan Ermilov To: Kent Stewart Cc: Bob Willcox , freebsd-stable@FreeBSD.ORG Subject: Re: Build error upgrading from 4.1.1 to 4-stable: undefined ref to basename Message-ID: <20010926094358.E20611@sunbay.com> References: <20010925173724.A46638@luke.immure.com> <20010925174030.B46638@luke.immure.com> <3BB10A95.E880F69E@owt.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3BB10A95.E880F69E@owt.com>; from kstewart@owt.com on Tue, Sep 25, 2001 at 03:52:05PM -0700 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 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: 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message