Subject: Re: help me to fix the problem in building new kernel - CLBYTES
To: Chan Yiu Wah <c5666305@hkstar.com>
From: Dave Huang <khym@bga.com>
List: current-users
Date: 12/30/1999 05:49:04
On Thu, 30 Dec 1999, Chan Yiu Wah wrote:
> I had ask the same question a couple days ago. I am still working on it.
> The problem is as following. Can anyone help me to fix ? Thanks.
>
> Clarence
>
> p.s. my system is i386 when source upto dec 28, 1999.
> ../../../../kern/exec_aout.c: In function `exec_aout_prep_zmagic':
> ../../../../kern/exec_aout.c:110: `CLBYTES' undeclared (first use in this
> function)
Sounds like you still have an old file somewhere...
/usr/src/sys/kern/exec_aout.c:
$NetBSD: exec_aout.c,v 1.15 1996/09/26 23:34:46 cgd Exp $
line 110 is: epp->ep_taddr = USRTEXT;
/usr/src/sys/arch/i386/include/vmparam.h:
$NetBSD: vmparam.h,v 1.33 1999/12/04 21:20:34 ragge Exp $
line 59 is:#define USRTEXT NBPG
/usr/src/sys/arch/i386/include/param.h:
$NetBSD: param.h,v 1.38 1999/12/04 21:20:34 ragge Exp $
line 74 is:#define PGSHIFT 12 /* LOG2(NBPG) */
line 75 is:#define NBPG (1 << PGSHIFT) /* bytes/page */
So CLBYTES isn't in there anywhere.
--
Name: Dave Huang | Mammal, mammal / their names are called /
INet: khym@bga.com | they raise a paw / the bat, the cat /
FurryMUCK: Dahan | dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 24 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++