*BSD News Article 17567


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!osuunx.ucc.okstate.edu!moe.ksu.ksu.edu!ux1.cso.uiuc.edu!howland.reston.ans.net!newsserver.jvnc.net!gmd.de!borneo!veit
From: veit@borneo.gmd.de (Holger Veit)
Subject: Re: missing file: vector.h
Message-ID: <1993Jun26.142104.4830@gmd.de>
Sender: news@gmd.de (USENET News)
Nntp-Posting-Host: borneo
Organization: GMD - German National Research Center for Computer Science
X-Newsreader: Tin 1.1 PL5
References: <20hdq1$ker@news.cs.tu-berlin.de>
Date: Sat, 26 Jun 1993 14:21:04 GMT
Lines: 42

>Hi BSDers,
>
>  I just downloaded patchkit 0.2.4 and tried to install it. 
>  But there is a file missing in the new interrupt code from Bruce Evans 
>(patch 158/167). The file vector.s includes a header file vector.h which
>is supposed to contain the macro BUILD_VECTORS, but this file isn't anywhere.
>vector.s is added to the source tree in patch 158, but not vector.h.
>  If also looked up the original posted intr-0.0 patch, which I think is
>the source for this code, but even there it is missing.
>
>  If I put the include in comments, I get compile errors, so it seems really
>necessary.
>
>  Does anyone had the same problem, where can I get this file?
>
>  I appologize if this has been asked before, but I couldn't remember seeing
>it here in the newsgroups.
>
>							Appreciate any help.
>
>									jan
>
>
It is not sufficient to just run the patchkit, cd to /sys/compile/YOURCONF
and do a make. The procedure I recommend is
(besides reading the patchkit README files ;-))
1: Go to /usr/src/usr.sbin/config; make "clean" and make;make "install"
2: Go to /sys/compile/YOURCONF and make "clean"
3: Go to /sys/i386/conf, and do "config YOURCONF"
4: Go to (I seem to be a fan of goto's :-) sys/compile/YOURCONF,
   make "depend", and then make the kernel.
vector.h is as far as I know generated by config (like vector.s).
Most problems with missing .h files in the kernel are related to 
attempts to speedup kernel generation by not doing config or make depend.

--
         Dr. Holger Veit                   | INTERNET: Holger.Veit@gmd.de
|  |   / GMD-SET German National Research  | Phone: (+49) 2241 14 2448
|__|  /  Center for Computer Science       | Fax:   (+49) 2241 14 2342
|  | /   P.O. Box 13 16                    | Had a nightmare yesterday:
|  |/    Schloss Birlinghoven              | My system started up with
         DW-5205 St. Augustin, Germany     | ... Booting vmunix.el ...