Subject: [Fwd: Configuring kernel for pmax]
To: None <port-pmax@netbsd.org>
From: Uwe Lienig <Uwe.Lienig@fif.mw.htw-dresden.de>
List: port-pmax
Date: 03/23/2000 11:28:30
This is a multi-part message in MIME format.
--------------97B397225826309873C62D17
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Nathan Dushman wrote:
> 
> The simple solution is to edit the Makefile and remove -Werror.  The error
> you're getting is not at all serious (it's actually a warning) and could be
> ignored.  However, kernel code is supposed to compile without any warnings or
> errors, so when compiling a kernel, the compiler is instructed to treat all
> warnings and errors as errors with the -Werror switch.  Try removing -Werror
> from the Makefile and see if you get any further problems.  Also, you might
> want to send a copy of your config file, along with the error you're seeing, to
> the port-pmax mailing list so that someone can take a look at it.
> 
> Alternately, a quick fix in the source code would be to replace the line
>  char *cp; (line 754, in /usr/src/sys/arch/pmax/dev/dc.c)
> with
>  #if NRASTERCONSOLE > 0
>  char *cp;
>  #endif
> 
> I don't know enough about the pmax configuration to know which configuration
> option would set NRASTERCONSOLE to be greater than 0, which would also solve
> your problem.
> 
> Finally, try upgrading to the just-released NetBSD 1.4.2, and see if it's been
> fixed in that version.
> 
> Nathan
> 
> On Wed, Mar 22, 2000 at 02:14:19PM +0100, Uwe Lienig wrote:
> > Hi,
> >
> > I'm familiar with several U*nix (including Ultrix). Because of the
> > retired Ultrix I switched to NetBSD-1.4.1. The key issue was, that I
> > want to use the pmax-boxes as a bind and mail server ( which these boxes
> > will cover, I think ). To optimize memory usage I want to setup the
> > kernel with a minimum of options necessary to run the system.
> >
> > After reading man pages and having the configuration file for the Ultrix
> > kernel in mind I tried to adopt the NetBSD config file.
> >
> > The system has no X, no frame buffer - it is a 3MIN according to the
> > Code Name Column in the System Type List available from PMAX porting
> > page.
> >
> > Can anyone give me a hint, what options are needed and which may be
> > omitted. The config file I use comes out with the following error:
> >
> > cc  -O2 -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes
> > -Wno-uninitialized -Wpointer-arith -Wno-main -G 0  -mno-abicalls
> > -mno-half-pic -I. -I../../../../arch -I../../../.. -nostdinc -DMIPS1
> > -DLKM -DNKMEMCLUSTERS="0x400" -DHZ="0x100" -DMAXUSERS=64 -D_KERNEL
> > -Dpmax  -c ../../../../arch/pmax/dev/dc.c
> > cc1: warnings being treated as errors
> > ../../../../arch/pmax/dev/dc.c: In function `dcrint':
> > ../../../../arch/pmax/dev/dc.c:754: warning: unused variable `cp'
> > *** Error code 1
> >
> > Stop.
> >
> > Any help apreciated.
> >
> > Uwe
> Content-Description: Card for Uwe Lienig


I took it from the news group to the mailing list ...

Any help appreciated.


Thanks

Uwe
--------------97B397225826309873C62D17
Content-Type: text/x-vcard; charset=us-ascii;
 name="Uwe.Lienig.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Uwe Lienig
Content-Disposition: attachment;
 filename="Uwe.Lienig.vcf"

begin:vcard 
n:Lienig;Uwe
tel;fax:(+49 351) 462 3476
tel;work:(+49 351) 462 2780
x-mozilla-html:FALSE
org:Forschungsinstitut Fahrzeugtechnik -FiF-;Computer Aided Design and Advanced Simulation Technology
adr:;;Friedrich-List-Platz 1;Dresden;Saxony;01069;Germany
version:2.1
email;internet:Uwe.Lienig@fif.mw.htw-dresden.de
note;quoted-printable:... have you ever seen MicroSoft users smiling ...=0D=0A=0D=0ASysAdmin 
x-mozilla-cpt:;-8576
fn:Uwe Lienig
end:vcard

--------------97B397225826309873C62D17--