Subject: Re: progress with today's -current: problems with -DKERNEL, pmax/conf.c
To: Jonathan Stone <jonathan@DSG.Stanford.EDU>
From: Ted Lemon <mellon@vix.com>
List: port-pmax
Date: 04/11/1995 18:54:00
> I also can't get conf.c to compile; it doesn't find either MAXDEV or
> declarations of mmopen, mmclose, mmmap. Would re-builting
> usr/sbin/config and re-running config fix that, or is something else
> amiss? Or perhaps I should just wait a day or two?
Charles checked in a bunch of changes to conf.c for pretty much every
port (which were a big win, BTW). The pmax changes broke the build.
You need to apply the following diffs (which I have checked in, so you
should get them in your next sup anyway):
diff -c -2 -r1.12 -r1.13
*** conf.c 1995/04/11 10:14:52 1.12
--- conf.c 1995/04/12 00:01:01 1.13
***************
*** 1,3 ****
! /* $NetBSD: conf.c,v 1.12 1995/04/11 10:14:52 mellon Exp $ */
/*
--- 1,3 ----
! /* $NetBSD: conf.c,v 1.13 1995/04/12 00:01:01 mellon Exp $ */
/*
***************
*** 97,100 ****
--- 97,101 ----
#define mmwrite mmrw
dev_type_read(mmrw);
+ cdev_decl(mm);
#include "pty.h"
#define pts_tty pt_tty
***************
*** 263,267 ****
}
! static int chrtoblktbl[MAXDEV] = {
/* XXXX This needs to be dynamic for LKMs. */
/*VCHR*/ /*VBLK*/
--- 264,268 ----
}
! static int chrtoblktbl[] = {
/* XXXX This needs to be dynamic for LKMs. */
/*VCHR*/ /*VBLK*/
There will be more changes soon, so you may want to wait, but it's
certainly helpful for you to bang on it if it's not too
frustrating... :')
_MelloN_