Subject: RCONSDEV undefined in kernel build
To: None <port-pmax@netbsd.org>
From: NetBSD Mailing list <netbsd@mrynet.com>
List: port-pmax
Date: 12/17/1999 18:07:34
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
#
# $NetBSD: MRYMIPS - MRYNET's R3000 MIPS DECstation
#
# Distribution kernel (any model) kernel config file
#
include "arch/pmax/conf/std.pmax"
maxusers 64
options MIPS1 # R2000/R3000 CPUs
#options MIPS3 # R4000/R4400 CPUs
# Support for specific models of DECstation
options DEC_3100 # DECstation 2100, 3100 (kn01)
#options DEC_5100 # DECsystem 5100 (kn230)
#options DEC_3MAX # DECstation 5000/200 (kn02)
#options DEC_3MIN # DECstation 5000/1xx (kn02ba), 5000/150 (kn04)
#options DEC_MAXINE # Personal DECstation 5000/xx (kn02ca)
#options DEC_3MAXPLUS # DECstation 5000/240 (kn03), 5000/260 (kn05)
#options DEC_5400 # DECsystem 5400 (kn210)
#options DEC_5500 # DECsystem 5500 (kn220)
#options DEC_5800 # DECsystem 58x0 (kn5800)
# Standard system options
#options DDB # in-kernel debugger
#options DDB_HISTORY_SIZE=100 # enable history editing in DDB
#options DDB_ONPANIC=0 # don't enter debugger on panic
#options DIAGNOSTIC # extra kernel debugging checks
#options DEBUG # extra kernel debugging support
options "COMPAT_43" # compatibility with 4.3BSD binaries
#options KTRACE # system call tracing support
options SYSVMSG # System V-like message queues
options SYSVSEM # System V-like semaphores
options SYSVSHM # System V-like memory sharing
#options SHMMAXPGS=1024 # 1024 pages is the default
options LKM # loadable kernel modules
options "NKMEMCLUSTERS=1024" # 4K pages in kernel malloc pool
#options SCSIVERBOSE # Verbose SCSI errors
#Old 4.4bsd/pmax kgdb options
#options KGDB # support for kernel gdb
#options "KGDBRATE=19200" # kernel gdb port rate (default 9600)
#options "KGDBDEV=15*256+0" # device for kernel gdb
options NTP # network time protocol
#options UCONSOLE # users can redirect console (unsafe)
# Filesystem options
file-system FFS # fast filesystem with user and group quotas
#file-system MFS # memory-based filesystem
file-system NFS # Sun NFS-compatible filesystem (client)
#file-system LFS # Log-based filesystem (still experimental)
file-system CD9660 # ISO 9660 + Rock Ridge file system
file-system FDESC # /dev/fd
file-system KERNFS # /kern (kernel informational filesystem)
file-system NULLFS # loopback file system
#file-system PORTAL # portal filesystem (still experimental)
file-system PROCFS # /proc
file-system UMAPFS # NULLFS + uid and gid remapping
#file-system UNION
options NFSSERVER # Sun NFS-compatible filesystem (server)
#options QUOTA # UFS quotas
#options FFS_EI # FFS Endian Independant support
#options SOFTDEP # FFS soft updates support.
# Pull in config fragments for kernel crypto. This is required for
# options IPSEC etc. to work. If you want to run with IPSEC, uncomment
# one of these, based on whether you use crypto-us or crypto-intl, and
# adjust the prefixes as necessary.
#prefix ../crypto-us/sys
#cinclude "conf/files.crypto-us"
#prefix
#prefix ../crypto-intl/sys
#cinclude "conf/files.crypto-intl"
#prefix
# Networking options
options INET # Internet protocols
#options INET6 # IPV6
#options IPSEC # IP security
#options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
#options IPSEC_DEBUG # debug for IP security
options "TCP_COMPAT_42" # compatibility with 4.2BSD TCP/IP
options GATEWAY # IP packet forwarding
#options MROUTING # Multicast routing support
#options ISO # OSI networking
#options TPIP # TPIP
#options EON # OSI tunneling over IP
#options CCITT,LLC,HDLC # X.25
#options NETATALK # AppleTalk networking protocols
#options PPP_BSDCOMP # BSD-Compress compression support for PPP
#options PPP_DEFLATE # Deflate compression support for PPP
#options PPP_FILTER # Active filter support for PPP (requires bpf)
#options PFIL_HOOKS # pfil(9) packet filter hooks
#options IPFILTER_LOG # ipmon(8) log support
# NetBSD backwards compatibility
#options COMPAT_10 # NetBSD 1.0, (needed for X on 386?)
#options COMPAT_11 # NetBSD 1.1,
options COMPAT_12 # Netbsd 1.2 reboot()
options COMPAT_13 # Netbsd 1.3
options COMPAT_14 # Netbsd 1.4
# Raster console options
options FONT_BOLD8x16 # Font for fb devices
options FONT_LUCIDA16x29 # Font for px devices
#options FONT_GALLANT12x22
#options FONT_QVSS8x15
# pmax specific
options COMPAT_ULTRIX # Ultrix compatibility
options EXEC_ECOFF # Ultrix RISC binaries are ECOFF format
options "HZ=256" # RTC rate required
options NFS_BOOT_DHCP # superset of BOOTP
config netbsd root on ? type ?
#config nfsnetbsd root on ? type nfs
mainbus0 at root
cpu* at mainbus0
## Peripheral Bus Support (for devices to attach to)
## ----------------------------------------------------------------------------
# TURBOchannel bus support
#tc* at mainbus0
# 3MIN, 3MAX+ and MAXINE have IOASIC in system slot
#ioasic0 at tc?
#mcclock* at ioasic? offset ? # DS1287 RTC
#le* at ioasic? offset ? # LANCE
#scc* at ioasic? offset ? # Z85C30
##isdn at ioasic? offset ? # MAXINE ISDN/audio (not supported)
#dtop* at ioasic? offset ? # MAXINE kbd and mouse
##fdc at ioasic? offset ? # MAXINE floppy disk (not supported)
#asc* at ioasic? offset ? # NCR53C94 SCSI with IOASIC
## 3MAX has TURBOchannel but no IOASIC
#ibus0 at tc? slot ? offset ? # 3MAX system slot
# PMAX, 3MAX and MIPSMATE common devices
mcclock* at ibus0 addr ? # DS1287 RTC
dc* at ibus0 addr ? # DC7085 quad line serial device
# TURBOchannel devices
#mfb* at tc? slot ? offset ? # PMAG-A MX Monochrome Framebuffer
#cfb* at tc? slot ? offset ? # PMAG-B CX Color Framebuffer
##tfb* at tc? slot ? offset ? # PMAG-RO TX True Color Framebuffer
#sfb* at tc? slot ? offset ? # PMAGB-B HX Smart Framebuffer
#px0 at tc? slot ? offset ? # PMAG-C PX family
##sfbp* at tc? slot ? offset ? # PMAGD HX+ Smart Framebuffer
#xcfb* at tc? slot ? offset ? # PMAG-DV Color Framebuffer at MAXINE
#asc* at tc? slot ? offset ? # PMAZ-A single channel SCSI
#le* at tc? slot ? offset ? # PMAD-A LANCE
#fta* at tc? slot ? offset ? # PMAF-F FDDI
##tcds* at tc? slot ? offset ? # PMAZB/PMAZC dual channel SCSI
##asc* at tcds? chip ?
# PMAX and MIPSMATE
ibus0 at mainbus0
pm* at ibus0 addr ? # 3100 onboard fb
le* at ibus0 addr ? # 3100, 5100 onboard LANCE
sii* at ibus0 addr ? # DC7061 onboard SCSI
#########################################################################
# SCSI configuration #
#########################################################################
oldscsibus* at sii?
#oldscsibus* at asc?
#
# SCSI configuration for old 4.4bsd/pmax DECstation SCSI driver
#
include "arch/pmax/conf/scsi.pmax"
#include "arch/pmax/conf/mi.scsi" # not yet supported
#########################################################################
# Pseudo-devices #
#########################################################################
pseudo-device loop 1 # network loopback
#pseudo-device sl 4 # serial-line IP ports
#pseudo-device ppp 2 # serial-line IP ports
pseudo-device pty 64 # pseudo ptys
pseudo-device bpfilter 16 # packet filter ports
#pseudo-device ipfilter # IP filter, NAT
#pseudo-device gre 2 # generic L3 over IP tunnel
#pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
#pseudo-device faith 1 # IPv[46] tcp relay translation i/f
pseudo-device vnd 4 # virtual disk ick
#pseudo-device ccd 4 # concatenated disks
#pseudo-device raid 4 # RAIDframe disk driver
pseudo-device rasterconsole 1 # NB: raster console requires "fb"
pseudo-device fb 3 # up to 3 framebuffers
pseudo-device rnd # /dev/random and in-kernel generator
--
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 -----