*BSD News Article 16097


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!nntp-server.caltech.edu!glt
From: glt@cco.caltech.edu (Greg Tanaka)
Newsgroups: comp.os.386bsd.bugs
Subject: Re: Strange config(8) behaviour
Date: 15 May 1993 02:31:13 GMT
Organization: California Institute of Technology, Pasadena
Lines: 26
Message-ID: <1t1klhINNh4l@gap.caltech.edu>
References: <1993May14.153143.24819@rtf.bt.co.uk>
NNTP-Posting-Host: punisher.caltech.edu
Keywords: config ddb

duplain@rtf.bt.co.uk (Andy Duplain) writes:


>	Does anyone know why certain kernel source files include the file
>	"ddb.h" and use the define "NDDB", when in fact there is no way
>	of automatically creating that file with "#define NDDB 1" in it ?
>	If start with a clean build directory (rm -rf /sys/compile/SYSNAME)
>	and add the line "options DDB" to your kernel config file, it will
>	create a Makefile the "-DDDB" in the CFLAGS but it wont create "ddb.h".
>	If you remove the "options DDB" it will create a "ddb.h" file with
>	"#define NDDB 0" in it!


I think this oddity was corrected in NetBSD..  However since it did not create
the ddb.h file..I had problems installing syscons .2a(the new one).  The
syscons.c file would look for a non-existant ddb.h file..my fix was to make
a short ddb.h to make it happy.  

Speaking of kernels...could the developers of NetBSD put in some major numbers
for a bus mouse.. my ati bus mouse's major number has moved from 14 to 25 to
26 to 28...with each new kernel release (that is starting from 386bsd).

-Greg Tanaka
glt@cco.caltech.edu
glt@ugcs.caltech.edu
glt@macross.caltech.edu (My rather stable NetBSD system)