Subject: port-sparc/1008: sparc kernel wont build with COMPAT_SUNOS but no COMPAT_10
To: None <gnats-admin@sun-lamp.cs.berkeley.edu>
From: None <sh391@city.ac.uk>
List: netbsd-bugs
Date: 05/01/1995 14:35:04
>Number: 1008
>Category: port-sparc
>Synopsis: sparc kernel wont build with COMPAT_SUNOS but no COMPAT_10
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon May 1 14:35:03 1995
>Originator: David Brownlee
>Organization:
Private
>Release: Sat Apr 29 15:46:19 BST 1995
>Environment:
sparc, 1.0A, current
System: NetBSD gluon.city.ac.uk 1.0A NetBSD 1.0A (GLUON) #1: Thu Feb 9 11:25:40 GMT 1995 monoadm@gluon.city.ac.uk:/mono/u1/NetBSD/src/sys/arch/sparc/compile/GLUON sparc
>Description:
If you define SYSVMSG,SYSVSEM,SYSVSHM, COMPAT_SUNOS but not
"COMPAT_09", "COMPAT_10" the kernel will not link... (I think thats
whats to blame)
loading netbsd
sunos_sysent.o: Undefined symbol `_compat_10_semsys' referenced from data
segment
sunos_sysent.o: Undefined symbol `_compat_10_msgsys' referenced from data
segment
sunos_sysent.o: Undefined symbol `_compat_10_shmsys' referenced from data
segment
*** Error code 1
>How-To-Repeat:
make with the following config file..
# $NetBSD: SUN4C,v 1.2 1995/01/25 05:35:11 cgd Exp $
# Kernel for Theo's wimpy sparcstation IPC
machine sparc
options "SUN4C"
#@ Added next
options MACHINE_NONCONTIG
maxusers 20
# obsolete timezone spec
options TIMEZONE=0, DST=0
# Standard system options
options SWAPPAGER, VNODEPAGER, DEVPAGER # paging
#options DEBUG, DIAGNOSTIC # extra kernel debugging
options KTRACE # system call tracing support
#options KGDB # support for kernel gdb
#options KGDBDEV=0xc01, KGDBRATE=38400 # device & baud rate
options RCONSOLE # fast rasterop console
options SYSVMSG,SYSVSEM,SYSVSHM
#@ options "COMPAT_09", "COMPAT_10"
# Filesystem options
options FFS
options NFSSERVER # Sun NFS-compatible filesystem
options NFSCLIENT # Sun NFS-compatible filesystem
#@ options KERNFS # kernel data-structure filesystem
#options FIFO # POSIX fifo support (in all filesystems)
#options QUOTA # fast filesystem with user and group quotas
#options MFS # memory-based filesystem
#options LOFS # Loop-back filesystem
#options FDESC # user file descriptor filesystem
#options UMAPFS # uid/gid remapping filesystem
#options LFS # Log-based filesystem (still experimental)
#options PORTAL # portal filesystem (still experimental)
# Networking options
options INET
options TCP_COMPAT_42 # compatibility with 4.2BSD TCP/IP
#options GATEWAY # IP packet forwarding
#options ISO # OSI networking
#options TPIP
#options EON
options COMPAT_43
options LKM
# Options for SPARCstation hardware
options COMPAT_SUNOS # compatibility with SunOS binaries
config netbsd root on sd0 swap on sd0
mainbus0 at root
cpu0 at mainbus0
sbus0 at mainbus0
#@ audio0 at mainbus0
auxreg0 at mainbus0
clock0 at mainbus0
memreg0 at mainbus0
timer0 at mainbus0
zs0 at mainbus0
zs1 at mainbus0
# FSBE/S or sun4m
#@ espdma0 at sbus0 slot ? offset ?
#@ espdma* at sbus0 slot ? offset ?
#@ esp0 at espdma? slot ? offset ?
#@ esp* at espdma? slot ? offset ?
# old sun4c SCSI
dma0 at sbus0 slot ? offset ?
dma* at sbus0 slot ? offset ?
esp0 at sbus0 slot ? offset ?
esp* at sbus0 slot ? offset ?
# old sun4c
le0 at sbus? slot ? offset ?
le* at sbus? slot ? offset ?
bwtwo0 at sbus? slot ? offset ?
#@ bwtwo* at sbus? slot ? offset ?
#@ cgthree0 at sbus? slot ? offset ?
#@ cgthree* at sbus? slot ? offset ?
#@ cgsix0 at sbus? slot ? offset ?
#@ cgsix* at sbus? slot ? offset ?
scsibus* at esp?
sd* at scsibus? target ? drive ?
st* at scsibus? target ? drive ?
cd* at scsibus? target ? drive ?
pseudo-device loop
pseudo-device pty 48
pseudo-device sl 2
pseudo-device kbd
pseudo-device ppp 2
pseudo-device tun 4
pseudo-device vnd 3
pseudo-device bpfilter 16
>Fix:
Umm..
>Audit-Trail:
>Unformatted: