Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Mar 2001 16:59:42 +0100 (CET)
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        current@freebsd.org
Subject:   undefined reference _mtx_assert
Message-ID:  <200103011559.f21FxjU49058@Magelan.Leidinger.net>

next in thread | raw e-mail | index | archive | help
--0-1804289383-983462387=:49055
Content-Type: TEXT/plain; charset=us-ascii

Hi,

since 2 or 3 days I can't build a new kernel:
---snip---
linking kernel.debug
cam_periph.o: In function `cam_periph_mapmem':
/big/usr/src/sys/cam/cam_periph.c(.text+0xa1a): undefined reference to `_mtx_assert'
cam_periph.o: In function `cam_periph_unmapmem':
/big/usr/src/sys/cam/cam_periph.c(.text+0xb81): undefined reference to `_mtx_assert'
/big/usr/src/sys/cam/cam_periph.c(.text+0xca5): undefined reference to `_mtx_assert'
/big/usr/src/sys/cam/cam_periph.c(.text+0xdb5): undefined reference to `_mtx_assert'
if_ed.o: In function `ed_start':
/big/usr/src/sys/dev/ed/if_ed.c(.text+0x2c97): undefined reference to `_mtx_assert'
if_ed.o(.text+0x3a0f):/big/usr/src/sys/dev/ed/if_ed.c: more undefined references to `_mtx_assert' follow
*** Error code 1
---snip---

I already removed my build directory, tried to use "make buildkernel"
instead of doing it the old way and also did 2 "make cleandir" before a
"make depend && make".

My kernel config is attached, the source is from today in the morning.

Bye,
Alexander.

-- 
            The dark ages were caused by the Y1K problem.

http://www.Leidinger.net                       Alexander @ Leidinger.net
  GPG fingerprint = C518 BC70 E67F 143F BE91  3365 79E2 9C60 B006 3FE7

--0-1804289383-983462387=:49055
Content-Type: TEXT/plain; name=WORK
Content-Disposition: attachment; filename=WORK

machine		i386
ident		WORK
maxusers	40

makeoptions	DEBUG=-g
makeoptions	CONF_CFLAGS=-fno-builtin

hints 		"WORK.hints"

# Options for the VM subsystem
#options	PQ_NOOPT		# No coloring
options		PQ_LARGECACHE		# color for 512k/16k cache
#options	PQ_HUGECACHE		# color for 1024k/16k cache

cpu		I686_CPU		# aka Pentium Pro(tm)
options		CPU_FASTER_5X86_FPU
options		CPU_SUSP_HLT
options		"NO_F00F_HACK"

options 	PERFMON

options		COMPAT_43

options		SYSVSHM
options 	SHMMAXPGS=8192
options		SYSVSEM
options		SYSVMSG
options		DDB
options		GDB_REMOTE_CHAT
options		KTRACE			#kernel tracing
options		UCONSOLE
options		USERCONFIG		#boot -c editor
options		VISUAL_USERCONFIG	#visual boot -c editor
options		INET			#Internet communications protocols
device		ether			#Generic Ethernet
device		sppp			#Generic Synchronous PPP
device		loop	1		#Network loopback device
device		bpf			#Berkeley packet filter

#
# The INVARIANTS option is used in a number of source files to enable
# extra sanity checking of internal structures.  This support is not
# enabled by default because of the extra time it would take to check
# for these conditions, which can only occur as a result of
# programming errors.
#
options         INVARIANTS

options		MROUTING		# Multicast routing
options         IPFIREWALL              #firewall
options         IPFIREWALL_VERBOSE      #print information about
					# dropped packets
options		IPFIREWALL_VERBOSE_LIMIT=100 #limit verbosity
options         TCP_RESTRICT_RST        #restrict emission of TCP RST
options		FFS			#Fast filesystem
options		SOFTUPDATES
options		P1003_1B
options		_KPOSIX_PRIORITY_SCHEDULING
options		_KPOSIX_VERSION=199309L

device	scbus	#base SCSI code
#device		ch	#SCSI media changers
device		da	#SCSI direct access devices (aka disks)
#device		sa	#SCSI tapes
device		cd	#SCSI CD-ROMs
device		pass	#CAM passthrough driver
device          ses    #SCSI SES/SAF-TE driver
options		CAM_MAX_HIGHPOWER=4
options		SCSI_DELAY=5000# Be pessimistic about Joe SCSI device
options         SES_ENABLE_PASSTHROUGH


device		pty		#Pseudo ttys
device		gzip		#Exec gzipped a.out's
#device		snp	3	#Snoop device - to look at pty/vty/etc..

options		MSGBUF_SIZE=40960

device	isa

# Enable support for the kernel PLL to use an external PPS signal,
# under supervision of [x]ntpd(8)
# More info in ntpd documentation: http://www.eecis.udel.edu/~ntp

options		PPS_SYNC

device		atkbdc	1
device		atkbd
options		ATKBD_DFLT_KEYMAP	# specify the built-in keymap
makeoptions	ATKBD_DFLT_KEYMAP="german.iso"
#options		KBD_DISABLE_KEYMAP_LOAD	# refuse to load a keymap
options		KBD_INSTALL_CDEV	# install a CDEV entry in /dev
device		psm
device		vga

device splash

device		sc	1
options		MAXCONS=16		# number of virtual consoles
options		SC_DFLT_FONT		# compile font in
makeoptions	SC_DFLT_FONT="iso"
options		SC_HISTORY_SIZE=800	# number of history buffer lines

device		npx

device		ata
device		atadisk	# ATA disk drives
#device		atapicd	# ATAPI CDROM drives
device		atapifd	# ATAPI floppy drives
#device		atapist	# ATAPI tape drives

device		fdc

device		sio 2

device ed
#device miibus
#device wb

device midi
device seq

device pca

device		apm
#device 		acpi

device	pci
device	ahc
options AHC_ALLOW_MEMIO

device smbus
device intpm
device smb

device iicbus
device iicbb

device ic
device iic
device iicsmb

options AVM_A1
device		isic
device		"i4bq921"
device		"i4bq931"
device		"i4b"
device  	 "i4btrc"	2
device  	 "i4bctl"
device  	 "i4brbch"       2
#device  	 "i4btel"        1
#device  	 "i4bipr"	2
options		IPR_VJ
device		"i4bisppp"	2

options		PERIPH_1284	# Makes your computer act as a IEEE1284
				# compliant peripheral
device		ppbus
device		lpt
#device		plip
device		ppi
device		pps
device		lpbb
#options 	PCFCLOCK_VERBOSE
device 		pcfclock

options 	PPC_PROBE_CHIPSET
device		ppc

#options		CLK_CALIBRATION_LOOP
#options		CLK_USE_I8254_CALIBRATION
options		CLK_USE_TSC_CALIBRATION

--0-1804289383-983462387=:49055--

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




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