Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Mar 2003 14:40:23 +0100
From:      Stijn Hoop <stijn@win.tue.nl>
To:        freebsd-sparc@freebsd.org
Subject:   kernel link errors
Message-ID:  <20030310134023.GL17436@pcwin002.win.tue.nl>

next in thread | raw e-mail | index | archive | help

--3MMMIZFJzhAsRj/+
Content-Type: multipart/mixed; boundary="81JctsDUVPekGcy+"
Content-Disposition: inline


--81JctsDUVPekGcy+
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

I'm trying to build a new kernel on a 5.0-RELEASE installed Ultra-10,
but I keep getting this link error:

cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototype=
s  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-exte=
nsions -ansi -g -nostdinc -I-  -I. -I/local/freebsd/CURRENT/src/sys -I/loca=
l/freebsd/CURRENT/src/sys/dev -I/local/freebsd/CURRENT/src/sys/contrib/dev/=
acpica -I/local/freebsd/CURRENT/src/sys/contrib/ipfilter -D_KERNEL -include=
 opt_global.h -fno-common  -mcmodel=3Dmedlow -msoft-float -ffreestanding -W=
error  vers.c
linking kernel.debug
zs.o: In function `zstty_attach':
zs.o(.text+0x40c): undefined reference to `zstty_console'
zs.o: In function `zstty_param':
zs.o(.text+0x1138): undefined reference to `zstty_set_speed'
*** Error code 1

Stop in /local/freebsd/CURRENT/obj/local/freebsd/CURRENT/src/sys/WSBCF01.
*** Error code 1

Sources are freshly cvsupped. Kernel config file attached. What am I missin=
g?

Please CC me as I'm not (yet) subscribed to the list.

Thanks,

--Stijn

--=20
Fairy tales do not tell children that dragons exist. Children already
know dragons exist. Fairy tales tell children the dragons can be
killed.
		-- G.K. Chesterton

--81JctsDUVPekGcy+
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=WSBCF01
Content-Transfer-Encoding: quoted-printable

#
# WSBCF01
#

machine		sparc64
cpu		SUN4U
ident		"WSBCF01"
maxusers	0

makeoptions	DEBUG=3D-g		#Build kernel with gdb(1) debug symbols

options 	SCHED_4BSD		#4BSD scheduler
options 	INET			#InterNETworking
options 	FFS			#Berkeley Fast Filesystem
options 	SOFTUPDATES		#Enable FFS soft updates support
options 	UFS_ACL			#Support for access control lists
options 	UFS_DIRHASH		#Improve performance on big directories
options 	NFSCLIENT		#Network Filesystem Client
options 	NFSSERVER		#Network Filesystem Server
options 	CD9660			#ISO 9660 Filesystem
options 	PROCFS			#Process filesystem (requires PSEUDOFS)
options 	PSEUDOFS		#Pseudo-filesystem framework
options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
options 	COMPAT_FREEBSD4		#Keep this for a while
options 	SCSI_DELAY=3D15000	#Delay (in ms) before probing SCSI=20
options 	KTRACE			#ktrace(1) syscall trace support
options 	SYSVSHM			#SYSV-style shared memory
options 	SYSVMSG			#SYSV-style message queues
options 	SYSVSEM			#SYSV-style semaphores
#options 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions

# Debugging for use in -current
options 	DDB			#Enable the kernel debugger
options 	INVARIANTS		#Enable calls of extra sanity checking
options 	INVARIANT_SUPPORT	#Extra sanity checks of internal structures, req=
uired by INVARIANTS
options 	WITNESS			#Enable checks to detect deadlocks and cycles
options 	WITNESS_SKIPSPIN	#Don't run witness on spinlocks for speed

# Standard busses
device		sbus
device		ebus
device		isa
device		pci

# ATA and ATAPI devices
device		ata
device		atadisk			# ATA disk drives
device		atapicd			# ATAPI CDROM drives

device		ofw_console	# OpenBoot firmware console device

# Builtin hardware
device		genclock	# Generic clock interface
device		eeprom		# eeprom (really an ebus driver for the MK48Txx)
device		"mk48txx"	# Mostek MK48T02, MK48T08, MK48T59 clock

# Serial (COM) ports
device		sab		# Siemens SAB82532 based serial ports
device		zs		# Zilog 8530 based serial ports

# PCI Ethernet NICs that use the common MII bus controller code.
device		miibus		# MII bus support
device		hme		# Sun HME (Happy Meal Ethernet)

# Pseudo devices - the number indicates how many units to allocated.
device		random		# Entropy device
device		loop		# Network loopback
device		ether		# Ethernet support
device		pty		# Pseudo-ttys (telnet etc)
device		md		# Memory "disks"

# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
device		bpf		#Berkeley packet filter

options 	KTR
options 	KTR_COMPILE=3D0xffffffff
options 	KTR_ENTRIES=3D8192
options 	KTR_MASK=3DKTR_TRAP

options 	OFW_PCI_DEBUG

--81JctsDUVPekGcy+--

--3MMMIZFJzhAsRj/+
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+bJXHY3r/tLQmfWcRAuUxAJwL5d50YgaDfUXs76BCO9GeOEBx7wCfSNVW
VbsmGjvD43Qt21IOCJu3Y6o=
=LiGv
-----END PGP SIGNATURE-----

--3MMMIZFJzhAsRj/+--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-sparc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030310134023.GL17436>