Return to BSD News archive
Newsgroups: comp.unix.bsd.freebsd.misc Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.bhp.com.au!mel.dit.csiro.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!swrinde!newsfeed.internetmci.com!news.sprintlink.net!dfw.nkn.net!rowdy.lonestar.org!nemesis!uhclem From: uhclem@nemesis.lonestar.org (Frank Durda IV) Subject: Re: Errors building 2.1 kernel X-Newsreader: Tin 1.1 PL5 Organization: The Big Blue Box Message-ID: <DKDoGt.KLo@nemesis.lonestar.org> References: <4c16fg$gnr@news.abq.bdm.com> Date: Sat, 30 Dec 1995 02:34:04 GMT Lines: 31 Ralph Hughes (rhughes2@bdm.com) wrote: [0]OK, I finally got straightened out with the bpfilter pseudo-device. [0]NOW the kernel rebuild is failing. [0]I've rebuild the FreeBSD 2.0.5 kernel several times [0]before (along with a few other flavors of unix) so I'm not new to this. [0]The kernel make is failing on i386/isa/matcd/matcd.c with a string of [0]"NMATCD undeclared" errors. [0]I switched back to an older kernel configuration that had *worked* before and [0]got the same errors. [0]Has anyone else had this problem building the 2.1 kernel? What am mising [0]in the source, headers, or libs ? Sounds like you installed 2.1.0 FreeBSD over 2.0.5 in the source tree rather than deleting the old tree first. This leaves some junk files laying around in various places that usually just wastes space but in this one case it causes the kernel build to fail. Make sure the file /usr/src/sys/i386/isa/matcd/matcd.h is deleted. If it was there, delete it and you will have to do a "make depend" and "make" again. The contents of that file now exist under a different name so that the compiler will correctly locate the config-generated "matcd.h" file located in /usr/src/sys/compile/SYSTEMNAME. That file contains the "NMATCD" #define. Frank Durda IV <uhclem@nemesis.lonestar.org>|"The Knights who say "LETNi" or uhclem%nemesis@fw.ast.com (Fastest Route)| demand... A SEGMENT REGISTER!!!" ...letni!rwsys!nemesis!uhclem |"A what?" ...decvax!fw.ast.com!nemesis!uhclem |"LETNi! LETNi! LETNi!" - 1983