Subject: kernel compile 1.4.2 failed
To: None <port-pmax@netbsd.org>
From: Anders Andersson <anders@sanyusan.se>
List: port-pmax
Date: 04/11/2000 16:08:15
--UugvWAfsgieZRqgk
Content-Type: text/plain; charset=us-ascii
Trying to build a custom kernel for 1.4.2
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=1024 -DHZ=256 -DMAXUSERS=64 -D_KERNEL -Dpmax -c
../../../../arch/pmax/tc/scc.c
cc1: warnings being treated as errors
../../../../arch/pmax/tc/scc.c: In function `scc_rxintr':
../../../../arch/pmax/tc/scc.c:1142: warning: unused variable `cp'
*** Error code 1
Stop.
Please see attached kernel config file.
--
Anders Andersson anders@sanyusan.se
Sanyusan International AB http://www.sanyusan.se/
--UugvWAfsgieZRqgk
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=NS
# $NetBSD: GENERIC,v 1.39.2.2 1999/04/26 16:03:50 perry Exp $
#
# Distribution kernel (any model) kernel config file
#
include "arch/pmax/conf/std.pmax"
maxusers 64
options MIPS1 # R2000/R3000 CPUs
# Support for specific models of DECstation
options DEC_3MIN # DECstation 5000/1xx (kn02ba), 5000/150 (kn04)
# 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
# Networking options
options INET # Internet protocols
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
# 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
#########################################################################
# I/O bus and device options #
#########################################################################
# TC bus and supported options. (All but PMAXes have a TURBOchannel.)
include "arch/pmax/conf/tc.std"
# IOASIC standard baseboard options (5000/2x, 5000/1xx, 5000/2[46]0)
include "arch/pmax/conf/builtin.ioasic"
# MAXINE-only IOASIC baseboard devices and on-baseboard "options"
#include "arch/pmax/conf/builtin.maxine"
# 5000/200-only baseboard devices.
# (3MAX has TURBOchannel but no IOASIC).
#include "arch/pmax/conf/builtin.3max"
# 2100/3100-only baseboard devices.
# (may also be present on 5100).
#include "arch/pmax/conf/builtin.3100"
#include "arch/pmax/conf/builtin.5100"
# baseboard devices on 5100, 3100 "ibus" virtual bus
#include "arch/pmax/conf/ibus.std"
#########################################################################
# 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 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 1 # up to 3 framebuffers
pseudo-device rnd # /dev/random and in-kernel generator
--UugvWAfsgieZRqgk--