*BSD News Article 6851


Return to BSD News archive

Path: sserve!manuel.anu.edu.au!munnari.oz.au!sgiblab!sgigate!olivea!uunet!mcsun!Germany.EU.net!unidui!du9ds3!veit
From: veit@du9ds3.uni-duisburg.de (Holger Veit)
Newsgroups: comp.unix.bsd
Subject: Re: Missing .h files in src01 distribution?
Keywords: source files compile kernel
Message-ID: <veit.719657309@du9ds3>
Date: 21 Oct 92 08:48:29 GMT
References: <1992Oct19.170722.24896@Saigon.COM>
Reply-To: veit@du9ds3.uni-duisburg.de
Organization: Uni-Duisburg FB9 Datenverarbeitung
Lines: 45
NNTP-Posting-Host: du9ds3.uni-duisburg.de

In <1992Oct19.170722.24896@Saigon.COM> David.Fox@Saigon.COM writes:

>Hi,

>I am attempting to compile a kernel and it gets stuck on conf.c
>saying there are some include files missing.  Specifically

>wd.h
>as.h
>wt.h
>fd.h
>com.h

>Are these missing, or in someother place in the src01 distribution?  I
>got the first 5 or 6 cpio files, and extracted those.  They looked like
>kernel source and then some.
> 
>The conf.c file has lines like #include "wd.h" and wd.h is not in the
>same directory as conf.c.  
> 
>Maybe the makefile is in error?

Yes, of course they are missing. They are automatically generated by the
config program in the /sys/compile/YOURCONFIG directory. If you did what has
been said in the ROADMAP file for kernel building, they should be there.
You *must*
config YOURCONFIG
cd /sys/compile/YOURCONFIG
make depend
make

Going into the several kernel directories, compiling the files there and
then lumping all the *.o files together won't work.

The only thing (besides memory/swap problems and such hazzles)
which might cause trouble is the vers.o problem (read the FAQ
or apply Terry's patchkit). 

Holger

-- 
|  |   / Dr. Holger Veit         | INTERNET: veit@du9ds3.uni-duisburg.de
|__|  /  University of Duisburg  | "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|  | /   Dept. of Electr. Eng.   |   Sorry, the above really good fortune has
|  |/    Inst. f. Dataprocessing |      been CENSORED because of obscenity"