From owner-freebsd-stable Tue Aug 8 7:42:30 2000 Delivered-To: freebsd-stable@freebsd.org Received: from dart.sr.se (dart.SR.SE [193.12.91.98]) by hub.freebsd.org (Postfix) with ESMTP id 01B3537B53E for ; Tue, 8 Aug 2000 07:42:22 -0700 (PDT) (envelope-from gunnar@pluto.sr.se) Received: from honken.sr.se ([134.25.128.27]) by dart.sr.se (8.9.3/8.9.3) with ESMTP id QAA34651; Tue, 8 Aug 2000 16:42:15 +0200 (CEST) (envelope-from gunnar@pluto.sr.se) Received: from pluto.sr.se (pluto.SR.SE [134.25.193.91]) by honken.sr.se (8.9.3/8.9.3) with ESMTP id QAA45847; Tue, 8 Aug 2000 16:42:15 +0200 (CEST) (envelope-from gunnar@pluto.sr.se) Received: (from gunnar@localhost) by pluto.sr.se (8.9.3/8.9.3) id QAA07295; Tue, 8 Aug 2000 16:42:15 +0200 (CEST) (envelope-from gunnar) Date: Tue, 8 Aug 2000 16:42:15 +0200 From: Gunnar Flygt To: Ruslan Ermilov Cc: FreeBSD Stable Subject: Re: agp_if.c Message-ID: <20000808164214.A7179@sr.se> Reply-To: Gunnar Flygt Mail-Followup-To: Gunnar Flygt , Ruslan Ermilov , FreeBSD Stable References: <134950593991.20000808104445@corbina.net> <20000808104924.E11454@sunbay.com> <20000808123728.D92082@sr.se> <20000808150046.A21729@sunbay.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20000808150046.A21729@sunbay.com>; from ru@sunbay.com on Tue, Aug 08, 2000 at 03:00:46PM +0300 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Aug 08, 2000 at 03:00:46PM +0300, Ruslan Ermilov wrote: > On Tue, Aug 08, 2000 at 12:37:28PM +0200, Gunnar Flygt wrote: > > On Tue, Aug 08, 2000 at 10:49:24AM +0300, Ruslan Ermilov wrote: > > > On Tue, Aug 08, 2000 at 10:44:45AM +0400, Dmitry Malov wrote: > > > > Hello, > > > > > > > > just cvsuped FreeBSD-4.x-STABLE and I've got > > > > > > > > make: don't know how to make agp_if.c. Stop > > > > *** Error code 2 > > > > > > > > Stop in /usr/src/sys/modules. > > > > *** Error code 1 > > > > > > > > during make depend using the kernel config from 4.0 > > > > which worked for me fine before. Anyone has an idea > > > > what's the problem? > > > > > > > It is the third time I receive such report. Well, here is > > > the checklist: > > > > > > 1. Make sure that src/sys/conf/files is of version 1.340.2.13 or above > > > 2. Make sure that you have src/sys/pci/agp_if.m > > > 3. Please check whether generated src/sys/compile/KERNEL/Makefile has > > > a rule for agp_if.c like this: > > > > > > agp_if.c: $S/kern/makedevops.pl $S/pci/agp_if.m > > > perl5 $S/kern/makedevops.pl -c $S/pci/agp_if.m > > > > Done this, and the error is not the same but almost. Now the error looks > > like this: > > > > . > > . > > . > > . > > ===> splash > > ===> splash/bmp > > ===> splash/pcx > > ===> streams > > ===> svr4 > > ===> vesa > > ===> wi > > ===> accf_data > > ===> accf_http > > ===> agp > > make: don't know how to make agp_if.c. Stop > > *** Error code 2 > > > > Stop in /usr/src/sys/modules. > > *** Error code 1 > > > > Stop in /usr/src/sys/compile/PLUTO. > > > > And then nothing more! > > > You should use the buildkernel/installkernel targets as described > in src/UPDATING file. The problem is that your bsd.kmod.mk is out > of sync with Makefiles. OK! I tried that and it did compile while using: make buildkernel kernel=PLUTO but the `make installkernell` didn't work I saw some error message saying something about making: make kernel=PLUTO install so I did that and a lot of things happend, but no kernel was install. I then tried changing to /sys/compile/PLUTO and run `make depend && make` on that thing. It worked and I did a `make install` from there. rebooted, ran make installworld and mergemaster, and everything seems to hav gone the right way. Maybe you can tell me why it worked this strange way? Before that I also tried just a `make bildkernel` which tries to make GENERIC as you know, but this failed on this machine but worked on my laptop?! As I almost said, strange things happen :) Up and running 4.1-STABLE on both machines now. -- __o regards, Gunnar ---_ \<,_ email: flygt@sr.se ---- (_)/ (_) o _ _ _ _o /\_ _ \\o (_)\__/o (_) _< \_ _>(_) (_)/<_ \_| \ _|/' \/ (_)>(_) (_) (_) (_) (_)' _\o_ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message