Bug 20432

Summary: agp_if.c missing from kernel source
Product: Base System Reporter: dopp <dopp>
Component: miscAssignee: ru <ru>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description dopp 2000-08-05 17:10:01 UTC
I just supped down the 4.x stable kernel source 5 mins ago and am 
trying to build...  I can't even get passed "make depend".

===> 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/SORRY.

Sure enough, agp_if.c is missing from /usr/src/sys/pci.

How-To-Repeat: config <CONFIGFILE>
cd /usr/src/sys/compile/<CONFIGFILE>
make depend
Comment 1 Ruslan Ermilov 2000-08-07 08:27:21 UTC
On Sat, Aug 05, 2000 at 09:03:14AM -0700, dopp@acm.cs.umn.edu wrote:
> 
> I just supped down the 4.x stable kernel source 5 mins ago and am 
> trying to build...  I can't even get passed "make depend".
> 
> ===> 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/SORRY.
> 
> Sure enough, agp_if.c is missing from /usr/src/sys/pci.
> 
agp_if.c is autogenerated from /usr/src/sys/pci/agp_if.m.
The generated by config(8) /usr/src/sys/compile/SORRY should
have the following rule for it:

agp_if.c: $S/kern/makedevops.pl $S/pci/agp_if.m
	perl5 $S/kern/makedevops.pl -c $S/pci/agp_if.m


Cheers,
-- 
Ruslan Ermilov		Oracle Developer/DBA,
ru@sunbay.com		Sunbay Software AG,
ru@FreeBSD.org		FreeBSD committer,
+380.652.512.251	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age
Comment 2 Sheldon Hearn freebsd_committer freebsd_triage 2000-08-07 12:04:20 UTC
Responsible Changed
From-To: freebsd-bugs->dfr

AGP is Doug's baby.
Comment 3 ru freebsd_committer freebsd_triage 2000-08-08 09:47:22 UTC
State Changed
From-To: open->closed

According to Warner Losh <imp@village.org>: 
>  
> Please see the updating file.  Your system is strattling two sets of 
> changes that makes it impossible to build the kernel by traditional 
> means.  The make buildkernel/installkernel targets compensate for 
> this. 
>  
> The two changes are new bsd.kmod.mk paradigm and new binutils. 
> If you got past this problem, you would hit the other. 


Comment 4 ru freebsd_committer freebsd_triage 2000-08-08 09:47:22 UTC
Responsible Changed
From-To: dfr->ru

I have MFC'ed these bits.