Subject: Re: RCONSDEV undefined in kernel build
To: NetBSD Mailing List <port-pmax@netbsd.org>
From: Chris Tribo <t1345@hopi.dtcc.edu>
List: port-pmax
Date: 12/17/1999 22:18:05
on 12/17/99 1:07 PM, NetBSD Mailing list at netbsd@mrynet.com wrote:

> I'm a recent subscriber to the pmax port, having just obtained
> a DS3100.
> 
> I've supped the latest current source, and I'm having the following
> problem when compiling a kernel:
> 
> cc  -O2 -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes
> -Wpointer-arith -Wno-main
> -G 0  -mno-abicalls -mno-half-pic -I. -I../../../../arch -I../../../..
> -nostdinc
> -I../../../../../gnu/sys -DMIPS1 -DLKM -DNKMEMCLUSTERS=1024 -DHZ=256
> -DMAXUSERS=64
> -D_KERNEL -Dpmax  -c ../../../../arch/pmax/dev/rcons.c
> ../../../../arch/pmax/dev/rcons.c: In function `rcons_indev':
> ../../../../arch/pmax/dev/rcons.c:243: `RCONSDEV' undeclared (first use in
> this function)
> ../../../../arch/pmax/dev/rcons.c:243: (Each undeclared identifier is reported
> only once
> ../../../../arch/pmax/dev/rcons.c:243: for each function it appears in.)
> *** Error code 1
> 
> Any direction on resolving this would be appreciated.
> Attached below is the kernel configuration at issue.
> 
> Cheers,
> -skots

    My guess, (I have not checked the code closely) is that you are getting
an undefined reference because you have commented out all of the frame
buffers in the config file. Therefore root console does not have a device to
define in its routines. Good luck.

    Chris


-- 
    "I use to be indecisive, now I'm not so sure..."