Subject: massive kernel building lossage.
To: None <port-pmax@NetBSD.ORG>
From: matthew green <mrg@eterna.com.au>
List: port-pmax
Date: 03/30/1998 18:10:15
i'm not sure where to begin :)
i have a 5000/240 with serial console. i had to change pmax/dev/findcons.c
like this to make it work:
Index: findcons.c
===================================================================
RCS file: /cvsroot/src/sys/arch/pmax/dev/findcons.c,v
retrieving revision 1.4
diff -c -r1.4 findcons.c
*** findcons.c 1998/03/26 01:01:13 1.4
--- findcons.c 1998/03/30 08:06:22
***************
*** 192,203 ****
--- 192,205 ----
int kbd_slot;
{
#if NSCC > 0
+ #if NPM > 0
if (kbd_slot == 3) {
cd.cn_dev = makedev(SCCDEV, SCCKBD_PORT);
lk_divert(sccGetc, makedev(SCCDEV, SCCKBD_PORT));
cd.cn_getc = LKgetc;
return 1;
}
+ #endif /* NPM */
#endif /* NSCC */
return 0;
}
i have no idea if this is correct but it built..
i also can't build a 240-only kernel (i haven't tried others) yet. once i
worked out to use options DEC_3MAXPLUS i started getting these sorts of
errors:
/sys/arch/pmax/pmax/dec_3maxplus.c:105: pmax/pmax/dec_3max_subr.h: No such file or directory
/sys/arch/pmax/pmax/dec_3max_subr.c:43: pmax/pmax/dec_3max_subr.h: No such file or directory
so i took those lines out (seems that header has gone the way of the dodo).
now i get this:
/sys/arch/pmax/pmax/dec_3maxplus.c: In function `dec_3maxplus_os_init':
/sys/arch/pmax/pmax/dec_3maxplus.c:160: `mips_hardware_intr' undeclared (first use this function)
/sys/arch/pmax/pmax/dec_3maxplus.c:160: (Each undeclared identifier is reported only once
/sys/arch/pmax/pmax/dec_3maxplus.c:160: for each function it appears in.)
cc1: warnings being treated as errors
/sys/arch/pmax/pmax/dec_3maxplus.c: In function `dec_3maxplus_errintr':
/sys/arch/pmax/pmax/dec_3maxplus.c:494: warning: implicit declaration of function `dec_mtasic_err'
and
/sys/arch/pmax/pmax/dec_3max_subr.c:53: warning: function declaration isn't a prototype
mips_hardware_intr is used in a bunch of pmax/dec_XXX.c files and dec_mtasic_err
is defined in dec_3max_subr.c but no header files.
and that's where i am at the moment.
.mrg.