From owner-freebsd-current Mon Sep 3 13: 5: 6 2001 Delivered-To: freebsd-current@freebsd.org Received: from winston.freebsd.org (adsl-64-173-15-98.dsl.sntc01.pacbell.net [64.173.15.98]) by hub.freebsd.org (Postfix) with ESMTP id 7992E37B409 for ; Mon, 3 Sep 2001 13:04:59 -0700 (PDT) Received: from localhost (jkh@localhost [127.0.0.1]) by winston.freebsd.org (8.11.6/8.11.6) with ESMTP id f83K4WT91307; Mon, 3 Sep 2001 13:04:32 -0700 (PDT) (envelope-from jkh@freebsd.org) To: bde@zeta.org.au Cc: current@freebsd.org Subject: Re: Build problem in -current In-Reply-To: <20010903210756.V7393-100000@alphplex.bde.org> References: <20010902115310W.jkh@freebsd.org> <20010903210756.V7393-100000@alphplex.bde.org> X-Mailer: Mew version 1.94.1 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20010903130432K.jkh@freebsd.org> Date: Mon, 03 Sep 2001 13:04:32 -0700 From: Jordan Hubbard X-Dispatcher: imput version 20000228(IM140) Lines: 58 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG If you think that's an acceptable work-around then by all means commit it. Thanks! - Jordan From: Bruce Evans 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