Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Sep 2001 09:43:58 +0300
From:      Ruslan Ermilov <ru@FreeBSD.ORG>
To:        Kent Stewart <kstewart@owt.com>
Cc:        Bob Willcox <bob@immure.com>, 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>
In-Reply-To: <3BB10A95.E880F69E@owt.com>; from kstewart@owt.com on Tue, Sep 25, 2001 at 03:52:05PM -0700
References:  <20010925173724.A46638@luke.immure.com> <20010925174030.B46638@luke.immure.com> <3BB10A95.E880F69E@owt.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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

<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

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?20010926094358.E20611>