Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Sep 2001 13:04:32 -0700
From:      Jordan Hubbard <jkh@freebsd.org>
To:        bde@zeta.org.au
Cc:        current@freebsd.org
Subject:   Re: Build problem in -current
Message-ID:  <20010903130432K.jkh@freebsd.org>
In-Reply-To: <20010903210756.V7393-100000@alphplex.bde.org>
References:  <20010902115310W.jkh@freebsd.org> <20010903210756.V7393-100000@alphplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help
If you think that's an acceptable work-around then by all means
commit it.  Thanks!

- Jordan

From: Bruce Evans <bde@zeta.org.au>
Subject: Re: Build problem in -current
Date: Mon, 3 Sep 2001 21:36:46 +1000 (EST)

> On Sun, 2 Sep 2001, Jordan Hubbard wrote:
> 
> > cd /usr/src/usr.bin/xinstall; make _EXTRADEPEND
> > echo xinstall: /usr/obj/usr/src/i386/usr/lib/libc.a  >> .depend
> > cc -O -pipe    -I/usr/obj/usr/src/i386/usr/include  -c /usr/src/usr.bin/xinstall
> > /xinstall.c
> > cc -O -pipe    -I/usr/obj/usr/src/i386/usr/include   -static -o xinstall xinstal
> > l.o
> > xinstall.o: In function `main':
> > xinstall.o(.text+0x83): undefined reference to `strtofflags'
> > *** Error code 1
> >
> > This is from a relatively old -current coming up to a new (today's)
> > -current.  I suspect somebody added a call for install yet forgot to
> > alter the bootstrap tools target accordingly (or did but in the wrong
> > place).  Thanks.
> 
> Index: Makefile
> ===================================================================
> RCS file: /home/ncvs/src/usr.bin/xinstall/Makefile,v
> retrieving revision 1.15
> diff -u -2 -r1.15 Makefile
> --- Makefile	2 Apr 2001 11:54:59 -0000	1.15
> +++ Makefile	3 Sep 2001 11:18:33 -0000
> @@ -2,6 +2,9 @@
>  # $FreeBSD: src/usr.bin/xinstall/Makefile,v 1.15 2001/04/02 11:54:59 ru Exp $
> 
> +.PATH: ${.CURDIR}/../../lib/libc/gen
> +
>  PROG=		xinstall
>  PROGNAME=	install
> +SRCS=		strtofflags.c xinstall.c
>  MAN=		install.1
> 
> Unfixed bugs: this will have to be fixed better before turning on WARNS.
> strtofflags() won't be declared in the host includes if the host libraries
> don't have it.  Similarly in mtree (where I obtained this fix from) and
> in any other tools that use strtofflags().  All these bugs were missing in
> the old versions that used ls's version of strtofflags.
> 
> Nearby bugs: mtree/Makefile uses !defined(WORLD) to avoid depending on
> the host having libmd, but someone removed the definition of WORLD from
> src/Makefile.inc1.
> 
> Bruce
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-current" in the body of the message

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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