Date: Wed, 26 Sep 2001 07:56:42 -0500 From: Bob Willcox <bob@immure.com> To: Ruslan Ermilov <ru@FreeBSD.ORG> Cc: Kent Stewart <kstewart@owt.com>, 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> In-Reply-To: <20010926094358.E20611@sunbay.com>; from ru@FreeBSD.ORG on Wed, Sep 26, 2001 at 09:43:58AM %2B0300 References: <20010925173724.A46638@luke.immure.com> <20010925174030.B46638@luke.immure.com> <3BB10A95.E880F69E@owt.com> <20010926094358.E20611@sunbay.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 > > <PS> > 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. > </PS> > > > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010926075642.A82399>