Bug 38356

Summary: 4.5-RELEASE src/sys tree on the alpha arch is missing vital files
Product: Base System Reporter: Mike <mikehable>
Component: alphaAssignee: freebsd-alpha (Nobody) <alpha>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.5-RELEASE   
Hardware: Any   
OS: Any   

Description Mike 2002-05-20 20:30:01 UTC
      When trying to compile a new kernel, it craps out with the
error of not having the files net.h, netif.h, bootp.h and bootparam.h,
needed by /usr/src/sys/boot/alpha/netboot/../../common/dev_net.h,
now this prevents me from compiling a new kernel, I tried retriving it
from numerous ftp sites and my FreeBSD 4.5-RELEASE CD, there is no pty 
support in the kernel that comes with the install, and this is putting,
a damper on the potential of this machine.

Fix: 

Distribute the necessary headerfiles needed by the netboot section
in the boot tree of the sys source code.
How-To-Repeat:       On an alpha arch machine, from /usr/src/sys, try running make depend
, and it will not even be able to complete doing so because of the 
missing header files.
Comment 1 John Baldwin freebsd_committer freebsd_triage 2002-11-06 18:35:57 UTC
To compile the bootstrap code you must have libstand installed as
part of the slib distribution.  The ssys sources are sufficient for
compiling a kernel, but they are not sufficient for compiling the
boot code on any architecture.

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/
Comment 2 John Baldwin freebsd_committer freebsd_triage 2002-11-06 19:37:45 UTC
State Changed
From-To: open->closed

This is not a bug and is not i386-specific, it is currently by 
design.  If libstand is ever moved into src/sys then this would 
be fixed.  However, moving libstand requires duplicating substantial 
portions of libc and is not really ideal.