Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Aug 2000 16:42:15 +0200
From:      Gunnar Flygt <gunnar@pluto.sr.se>
To:        Ruslan Ermilov <ru@sunbay.com>
Cc:        FreeBSD Stable <freebsd-stable@freebsd.org>
Subject:   Re: agp_if.c
Message-ID:  <20000808164214.A7179@sr.se>
In-Reply-To: <20000808150046.A21729@sunbay.com>; from ru@sunbay.com on Tue, Aug 08, 2000 at 03:00:46PM %2B0300
References:  <134950593991.20000808104445@corbina.net> <20000808104924.E11454@sunbay.com> <20000808123728.D92082@sr.se> <20000808150046.A21729@sunbay.com>

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




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