From huck@slartibartfast.nosc.mil  Thu Mar 30 17:16:23 1995
Received: from nise-ch.nosc.mil (nise-ch.nosc.mil [198.29.32.10]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id RAA07459 for <FreeBSD-gnats-submit@freebsd.org>; Thu, 30 Mar 1995 17:16:21 -0800
Received: from slartibartfast by nise-ch.nosc.mil (NX5.67e/NX3.0M)
	id AA13820; Thu, 30 Mar 95 20:16:13 -0500
Received: by slartibartfast.nosc.mil (NX5.67e/NX3.0S)
	id AA00554; Thu, 30 Mar 95 20:16:12 -0500
Received: by NeXT.Mailer (1.118.2.RR)
Message-Id: <9503310116.AA00554@slartibartfast.nosc.mil>
Date: Thu, 30 Mar 95 20:16:09 -0500
From: Craig Huckabee <huck@slartibartfast.nosc.mil>
Reply-To: huck@nise-ch.nosc.mil
To: FreeBSD-gnats-submit@freebsd.org
Cc: huck@nise-ch.nosc.mil
Subject: PR on Kernel building in 2.0-950322-SNAP

>Number:         286
>Category:       conf
>Synopsis:       'make depend' on GENERIC kernel stops
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs (FreeBSD bugs mailing list)
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 30 17:20:01 1995
>Closed-Date:    Sat Jul 8 19:05:11 MET DST 1995
>Last-Modified:
>Originator:     Craig Huckabee
>Release:        FreeBSD 2.1.0-Development i386
>Organization:
NISE East Charleston, SC
>Environment:


>Description:
When trying to build a new kernel on a new machine, one that has
just completed the automated install and has been rebooted, the
'make' or 'make depend' of a new configuration fails.

       What follows is the error message :


Script started on Thu Mar 30 19:54:56 1995
mispwoso# make depend
cc -c -O -W -Wreturn-type -Wcomment -Wredundant-decls  -nostdinc  
-I. -I../.. -I../../sys -I../../../include -DGENERICA -DI486_CPU  
-DXSERVER -DUCONSOLE -DBOUNCE_BUFFERS -DSCSI_DELAY=15 -DCOMPAT_43  
-DPROCFS -DCD9660 -DMSDOSFS -DNFS -DFFS -DINET -DKERNEL -Di386  
-DLOAD_ADDRESS=0xF0100000 -DTIMEZONE=0 -DDST=0 -DMAXUSERS=10  
-UKERNEL ../../i386/i386/genassym.c
In file included from ../../i386/i386/genassym.c:40:
../../../include/stdio.h:43: sys/types.h: No such file or directory
../../../include/stdio.h:46: sys/cdefs.h: No such file or directory
../../i386/i386/genassym.c:41: sys/param.h: No such file or directory
../../i386/i386/genassym.c:42: sys/buf.h: No such file or directory
../../i386/i386/genassym.c:43: sys/proc.h: No such file or directory
../../i386/i386/genassym.c:50: sys/mount.h: No such file or directory
../../i386/i386/genassym.c:52: sys/mbuf.h: No such file or directory
../../i386/i386/genassym.c:53: sys/msgbuf.h: No such file or directory
In file included from ./machine/cpu.h:46,
                 from ../../i386/i386/genassym.c:54:
./machine/frame.h:43: sys/signal.h: No such file or directory
../../i386/i386/genassym.c:59: sys/syscall.h: No such file or directory
In file included from ../../i386/i386/genassym.c:60:
../../vm/vm.h:60: sys/vmmeter.h: No such file or directory
../../vm/vm.h:61: sys/queue.h: No such file or directory
In file included from ../../vm/vm.h:62,
                 from ../../i386/i386/genassym.c:60:
./machine/cpufunc.h:43: sys/cdefs.h: No such file or directory
./machine/cpufunc.h:44: sys/types.h: No such file or directory
../../i386/i386/genassym.c:61: sys/user.h: No such file or directory
In file included from ../../i386/i386/genassym.c:62:
../../net/if.h:65: sys/socket.h: No such file or directory
../../net/if.h:68: sys/time.h: No such file or directory
In file included from ../../net/if.h:343,
                 from ../../i386/i386/genassym.c:62:
../../net/if_arp.h:40: sys/socket.h: No such file or directory
*** Error code 1

Stop.

I have installed everything from the install program, using FTP,
at least 4 times now, but each time it fails with the above problem.




>How-To-Repeat:
	
	do a 'make depend' on any configuration file.


>Fix:
	Alter Makefile.i386 somehow?	

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: joerg 
State-Changed-When: Sat Jul 8 19:05:11 MET DST 1995 
State-Changed-Why:  
Problem has been with the -I sequence for people without a srcdist. 
Has been fixed in 

Id: Makefile.i386,v 1.62 1995/04/05 04:10:58 nate Exp 
date: 1995/04/05 04:10:58;  author: nate;  state: Exp;  lines: +8 -2 
Modify behavior of INCLUDES to never look in /usr/include unless we 
can't find the src/include directory. 

Reviewed by:    "Rodney W. Grimes" <rgrimes@gndrsh.aac.dev.com> 
Submitted by:   Mike Pritchard <pritc003@maroon.tc.umn.edu> 

>Unformatted:



