From owner-freebsd-questions Wed Aug 5 11:26:40 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA02587 for freebsd-questions-outgoing; Wed, 5 Aug 1998 11:26:40 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA02581 for ; Wed, 5 Aug 1998 11:26:39 -0700 (PDT) (envelope-from julian@whistle.com) Received: (from daemon@localhost) by alpo.whistle.com (8.8.5/8.8.5) id LAA10481; Wed, 5 Aug 1998 11:23:06 -0700 (PDT) Received: from current1.whistle.com(207.76.205.22) via SMTP by alpo.whistle.com, id smtpdP10467; Wed Aug 5 18:22:53 1998 Date: Wed, 5 Aug 1998 11:22:48 -0700 (PDT) From: Julian Elischer To: Karl Pielorz cc: questions@FreeBSD.ORG Subject: Re: Custom fixit disks? In-Reply-To: <35C820AC.3CF8336B@tdx.co.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 5 Aug 1998, Karl Pielorz wrote: > Julian Elischer wrote: > > > > On Tue, 4 Aug 1998, Greg Lehey wrote: > > > > > On Monday, 3 August 1998 at 14:25:37 +0100, Karl Pielorz wrote: > > > > Hi All, > > > > > > > > I need to change a couple of utilities on the system fixit disks that I use... > > > > The disks contents (when mounted under '/mnt') look kind of weird... All the > > > > this is quite easy if you want to use the files in > > /usr/src/release/floppies. > > > > it is possible that they need to be updated for 2.2 > > but I checked them for -current today (and fixed them) > > > > cd /usr/src > > make buildworld > > cd /usr/release > > make obj > > cd sysinstall > > make obj > > cd ../floppies > > make obj > > cd fixit > > make > > Hi, > > Thanks for the info - when I do this it always stop saying it can't find stuff > like "cat.o" or "chmod.o" etc., i.e. > > " > ld -dc -r -o chmod.lo chmod_stub.o /usr/src/bin/chmod/chmod.o > ld: /usr/src/bin/chmod/chmod.o: No such file or directory > *** Error code 1 > " > (This is after I removed 'cat' from the fixit crunch.config) > > The buildworld did seem to complete OK (i.e. no errors). This is all on > 2.2.7-RELEASE... I'll have to check but did you do a 'make buildworld' first? It makes teh .o files in the obj tree. and did you do the 'make obj' lines as well? The floppies have to also be made in the obj tree. (so they can find the .o files) > > I've tried copying the crunch.conf's over from my -CURRENT system (which is > current as of 00:00 BST 4th August) - but with no luck... > > The object files are on the system, there just in different places ;-) - Looking > at the previous output lines shows: > > " > cc -O -DCRUNCHED_BINARY -c /usr/src/bin/chmod/chmod.c > " > > So I'd guess it's not putting the Object files in the same dir as 'chmod.c', and > hence can't find them (they go into /usr/obj/usr/src/bin/chmod). > > I haven't got a clue how to change this though... cd /usr/src/release/floppies make clean make obj cd fixit make is what is theoretically needed.. I'll try it later on a 2.2.7 machine.... > > Can you help? > > Regards, > > Karl > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message