*BSD News Article 17594


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!spool.mu.edu!uunet!pipex!uknet!cf-cm!paul
From: paul@isl.cf.ac.uk (Paul)
Subject: Re: missing file: vector.h
Message-ID: <1993Jun27.043944.17213@cm.cf.ac.uk>
Sender: news@cm.cf.ac.uk (Network News System)
Organization: /usr/local/lib/rn/organisation
References: <20hdq1$ker@news.cs.tu-berlin.de> <1993Jun26.142104.4830@gmd.de>
Date: Sun, 27 Jun 1993 04:39:43 +0000
Lines: 59

In article <1993Jun26.142104.4830@gmd.de> veit@borneo.gmd.de (Holger Veit) writes:
>>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.

Holger's advice will solve your vector.h problem but really you brought
this upon yourself. If you've installed the patchkit then READ THE
INSTRUCTIONS. If you don't follow the instructions for re-compiling the
system, in the order that's specified, then you're likely to run into a
lot more problems. 

It's not as though it's a lot of hassle. Rod supplied a script that does
most of the work for you.

If you haven't re-compiled the system as directed, and you don't seem to
have since you've got bitten by an old config, then you've not actually
solved anything by installing the patchkit. Just running make in
/usr/src won't do, you have to consider certain propagation issues.

Go and read the README and follow Rod's instructions, then you'll not
only have new kernel but you'll remove a number of other bugs from
you're system too.

-- 
  Paul Richards, University of Wales, College Cardiff

  Internet: paul@isl.cf.ac.uk
	    spedpr@thor.cf.ac.uk