NetBSD Problem Report #1008

From gnats  Mon May  1 14:25:07 1995
Received: from pain.lcs.mit.edu (pain.lcs.mit.edu [128.52.46.239]) by sun-lamp.cs.berkeley.edu (8.6.10/8.6.10) with ESMTP id OAA01167 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Mon, 1 May 1995 14:25:00 -0700
Message-Id: <199505011646.RAA13460@gluon.city.ac.uk>
Date: Mon, 1 May 1995 17:46:50 +0100
From: sh391@city.ac.uk
Reply-To: sh391@city.ac.uk
To: gnats-bugs@NetBSD.ORG
Subject: sparc kernel wont build with COMPAT_SUNOS but no COMPAT_10
X-Send-Pr-Version: 3.2

>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:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 01 14:35:03 +0000 1995
>Closed-Date:    Mon Jun 05 12:53:25 +0000 1995
>Last-Modified:  
>Originator:     David Brownlee
>Release:        Sat Apr 29 15:46:19 BST 1995
>Organization:
Private
>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.. 
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: pk 
State-Changed-When: Mon Jun 5 05:53:25 PDT 1995 
State-Changed-Why:  
Include appropriate routines by including COMPAT_SUNOS in cpp condionals. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.