Subject: Re: RCONSDEV undefined in kernel build
To: Simon Burge <simonb@netbsd.org>
From: NetBSD Mailing list <netbsd@mrynet.com>
List: port-pmax
Date: 12/17/1999 22:57:23
> Chris Tribo wrote:
>
> > on 12/17/99 1:07 PM, NetBSD Mailing list at netbsd@mrynet.com wrote:
> >
> > [ RCONSDEV undefined error on kernel compile ]
> > >
> > > 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.
>
> Pretty close! You also need to comment out
>
> pseudo-device rasterconsole 1
>
> as well...
>
> Simon.
Wewp, I don't know which frame buffer to enable. I did, however, comment out
what Simon indicated. This resulted in:
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/fb.c
cc1: warnings being treated as errors
../../../../arch/pmax/dev/fb.c: In function `fbconnect':
../../../../arch/pmax/dev/fb.c:188: warning: unused variable `cn_in_dev'
*** Error code 1
Stop.
SO, I pitched -Werror, and successfully completed the kernel build.
Do let me know if you see any concerns with that warning.
I won't be able to test the kernel until the current in-progress world
build completes, but I'm sure to whinge on-list if there are issues :D
Cheers,
-skots
--
Scott G. Akmentins-Taylor InterNet: staylor@mrynet.com
MRY Systems staylor@mrynet.lv
(Skots Gregorijs Akmentins-Teilors -- just call me "Skots")
----- Labak miris neka sarkans -----