Subject: kernel compile error in -current
To: None <port-vax@netbsd.org>
From: Jarle Greipsland <jarle@runit.sintef.no>
List: port-vax
Date: 12/19/2000 09:27:36
Hi,

I have problems getting a kernel compiled from a "trimmed" config
file.  The error message I get is:

cc  -O2 -Werror -Wall -Wmissing-prototypes -Wstrict-prototypes  -Wpointer-arith -Wno-uninitialized -Wno-main -mno-pic -I. -I../../../../arch -I../../../.. -nostdinc  -DMAXUSERS=16 -D_KERNEL  -D_VAX_INLINE_  -c ../../../../arch/vax/vax/conf.c
cc1: warnings being treated as errors
../../../../arch/vax/vax/conf.c:164: warning: `smgcngetc' defined but not used
*** Error code 1

My config file (the active parts) is:

include         "arch/vax/conf/std.vax"
options         "VAX630"        # MV II
options         "VAX650"        # MV III, 3600, 3800, 3900
maxusers        16
options         DDB
options         KTRACE
options         NTP             # NTP kernel support
options         INET            # IPv4
file-system     FFS
file-system     MFS
file-system     NFS
file-system     FDESC
file-system     KERNFS
file-system     NULLFS
file-system     PROCFS
file-system     UMAPFS
file-system     UNION
file-system     CD9660
options         QUOTA
options         SYSVMSG
options         SYSVSEM
options         SYSVSHM
options         COMPAT_VAX1K    # Must be present to run pre-1.4 binaries.
options         COMPAT_43
options         COMPAT_09
options         COMPAT_10
options         COMPAT_11
options         COMPAT_12
options         COMPAT_13
options         COMPAT_14
config          netbsd root on ? type ?
mainbus0        at root
ibus0           at mainbus0             # All MicroVAX
uba0            at ibus0                # Qbus adapter
uda0            at uba? csr 0172150     # UDA50/RQDX?
uda1            at uba? csr 0160334
uda2            at uba? csr 0160354
uda3            at uba? csr 0160374
uda4            at uba? csr 0160340
uda5            at uba? csr 0160344
uda6            at uba? csr 0160350
mtc0            at uba? csr 0174500     # Tape MSCP ctlr
qe0             at uba? csr 0174440     # DEQNA/DELQA
dhu0            at uba? csr 0160440     # DHU-11
dz0             at uba? csr 0160100     # DZ-11
dl0             at uba? csr 0176500     # DL-11
rlc0            at uba? csr 0174400     # RL11/RLV11 controller
rl*             at rlc? drive?          # RL01/RL02 disk drive
mscpbus*        at uda?
mscpbus*        at mtc?
ra*             at mscpbus? drive?      # MSCP disk
rx*             at mscpbus? drive?      # MSCP floppy
mt*             at mscpbus? drive?      # MSCP tape
pseudo-device   loop    1
pseudo-device   pty
pseudo-device   bpfilter 8              # Not supported by de yet.
pseudo-device   ppp     2
pseudo-device   tun     2
pseudo-device   vnd     4
pseudo-device   ccd     4
pseudo-device   rnd                     # /dev/random and in-kernel generator

Any takers?
					-jarle