Subject: kernel build problems
To: None <current-users@NetBSD.ORG>
From: Michael L. VanLoon -- HeadCandy.com <michaelv@HeadCandy.com>
List: current-users
Date: 02/04/1996 21:42:11
I have been running just fine on a kernel and world built with a sup
from the evening of 1/27/96.  I just supped again this afternoon, and
my kernel make depend fails with these errors:

mkdep -x assembler-with-cpp -D_LOCORE -I. -I../../../../arch -I../../../.. -DI486_CPU -DI586_CPU -DMINDBENDER -DTIMEZONE="0x1e0" -DDST="1" -DMACHINE_NONCONTIG -DCOMPAT_09 -DCOMPAT_10 -DCOMPAT_43 -DTCP_COMPAT_42 -DCOMPAT_NOMID -DSWAPPAGER -DVNODEPAGER -DDEVPAGER -DKTRACE -DFIFO -DFFS -DFDESC -DKERNFS -DPROCFS -DPORTAL -DMSDOSFS -DUMAPFS -DUNION -DQUOTA -DMFS -DNULLFS -DCD9660 -DINET -DNFSCLIENT -DNFSSERVER -DGATEWAY -DNS -DXSERVER -DUCONSOLE -DLKM -DCOMPAT_FREEBSD -DCOMPAT_IBCS2 -DCOMPAT_SVR4 -DCOMPAT_LINUX -DCOM_ESP -DSYSVMSG -DSYSVSEM -DSYSVSHM -DSHMMAXPGS="0x400" -DDDB -DPCVT_NSCREENS="9" -DPCVT_PRETTYSCRNS -DPCVT_INHIBIT_NUMLOCK="0" -D_KERNEL -Di386 ../../i386/locore.s
../../i386/locore.s:148: unterminated character constant
../../i386/locore.s:453: unterminated character constant
../../i386/locore.s:1547: unterminated character constant
../../i386/locore.s:1576: unterminated character constant
../../i386/locore.s:1578: unterminated character constant
../../i386/locore.s:1574: unterminated `#if' conditional

mkdep -a  -O6 -m486 -fno-strength-reduce -Werror -I. -I../../../../arch -I../../../.. -DI486_CPU -DI586_CPU -DMINDBENDER -DTIMEZONE="0x1e0" -DDST="1" -DMACHINE_NONCONTIG -DCOMPAT_09 -DCOMPAT_10 -DCOMPAT_43 -DTCP_COMPAT_42 -DCOMPAT_NOMID -DSWAPPAGER -DVNODEPAGER -DDEVPAGER -DKTRACE -DFIFO -DFFS -DFDESC -DKERNFS -DPROCFS -DPORTAL -DMSDOSFS -DUMAPFS -DUNION -DQUOTA -DMFS -DNULLFS -DCD9660 -DINET -DNFSCLIENT -DNFSSERVER -DGATEWAY -DNS -DXSERVER -DUCONSOLE -DLKM -DCOMPAT_FREEBSD -DCOMPAT_IBCS2 -DCOMPAT_SVR4 -DCOMPAT_LINUX -DCOM_ESP -DSYSVMSG -DSYSVSEM -DSYSVSHM -DSHMMAXPGS="0x400" -DDDB -DPCVT_NSCREENS="9" -DPCVT_PRETTYSCRNS -DPCVT_INHIBIT_NUMLOCK="0" -D_KERNEL -Di386 vnode_if.c param.c ioconf.c ../../../../ddb/db_access.c ../../../../ddb/db_aout.c ../../../../ddb/db_break.c  ../../../../ddb/db_command.c ../../../../ddb/db_examine.c ../../../../ddb/db_expr.c  ../../../../d[etc....]
../../../../kern/kern_clock.c:557: ddb/db_interface.h: No such file or directory
../../../../kern/kern_synch.c:695: ddb/db_interface.h: No such file or directory

mkdep -a -x assembler-with-cpp -D_LOCORE -I. -I../../../../arch -I../../../.. -DI486_CPU -DI586_CPU -DMINDBENDER -DTIMEZONE="0x1e0" -DDST="1" -DMACHINE_NONCONTIG -DCOMPAT_09 -DCOMPAT_10 -DCOMPAT_43 -DTCP_COMPAT_42 -DCOMPAT_NOMID -DSWAPPAGER -DVNODEPAGER -DDEVPAGER -DKTRACE -DFIFO -DFFS -DFDESC -DKERNFS -DPROCFS -DPORTAL -DMSDOSFS -DUMAPFS -DUNION -DQUOTA -DMFS -DNULLFS -DCD9660 -DINET -DNFSCLIENT -DNFSSERVER -DGATEWAY -DNS -DXSERVER -DUCONSOLE -DLKM -DCOMPAT_FREEBSD -DCOMPAT_IBCS2 -DCOMPAT_SVR4 -DCOMPAT_LINUX -DCOM_ESP -DSYSVMSG -DSYSVSEM -DSYSVSHM -DSHMMAXPGS="0x400" -DDDB -DPCVT_NSCREENS="9" -DPCVT_PRETTYSCRNS -DPCVT_INHIBIT_NUMLOCK="0" -D_KERNEL -Di386 ../../../../arch/i386/i386/microtime.s ../../../../arch/i386/i386/random.s
../../../../arch/i386/i386/microtime.s:52: unterminated character constant
../../../../arch/i386/i386/microtime.s:62: unterminated character constant
../../../../arch/i386/i386/microtime.s:75: unterminated character constant
../../../../arch/i386/i386/microtime.s:81: unterminated character constant


My config file, in case you care:

------------------------------------------------------------------
#
# MINDBENDER -- MindBender.HeadCandy.com
#

machine		i386
#options	I386_CPU
options		I486_CPU
options		I586_CPU
options		MINDBENDER

maxusers	64

options		TIMEZONE=480		# Pacific Time
options		DST=1

#options 	DUMMY_NOPS		# slow nops needed?
#options	INSECURE		# allow /dev/mem writing by X
#options	USER_LDT		# for WINE
options		MACHINE_NONCONTIG	# non-contiguous memory hole (640k-1MB)
options		COMPAT_09		# backwards NetBSD-0.9 compat
options		COMPAT_10		# backwards NetBSD-1.0 compat
options		COMPAT_43		# backwards 4.3BSD compat
options		TCP_COMPAT_42		# backwards 4.2/BNR2 net compat
options		COMPAT_NOMID		# compat with 386BSD, BSDI, NetBSD 0.8
options		SWAPPAGER		# swap pager
options		VNODEPAGER		# vnode pager -- mmap of files
options		DEVPAGER		# device pager -- mmap of devices
options		KTRACE			# syscall kernel tracing
options		FIFO			# FIFOs/pipes
options		FFS			# Unix File System/Fast File System
options		FDESC			# File Descriptor fs
options		KERNFS			# Kernel fs
options		PROCFS			# Process fs
options		PORTAL			# Portal fs
options		MSDOSFS			# MS-DOS fs
options		UMAPFS			# UMAP fs
options		UNION			# Union fs
options		QUOTA			# quotas
options		MFS			# Memory fs
options		NULLFS			# Null fs
options		CD9660			# ISO-9660 & Rock Ridge CD-ROM fs
options		INET			# internet/IP services
options		NFSCLIENT		# NFS client capability
options		NFSSERVER		# NFS server capability
options		GATEWAY			# route between interfaces
options		NS			# XNS networking
#options	ISO			# ISO OSI networking
#options	TPIP			# TPIP OSI
#options	EON			# OSI tunneling over IP
#options	CCITT			# CCITT X.25
#options	LLC			# LLC X.25
#options	HDLC			# HDLC X.25
options		XSERVER			# allow X server
options		UCONSOLE		# allow user console grabbing (X)
options		LKM			# loadable kernel modules
options		COMPAT_FREEBSD		# Run FreeBSD binaries
options		COMPAT_IBCS2		# iBCS2 compat (SCO & ISC)
options		COMPAT_SVR4		# SVR4 compat
options		COMPAT_LINUX		# Run Linux binaries
#options	MATH_EMULATE		# software FP emulation?

options		COM_ESP			# use Hayes ESP port
#options	COMCONSOLE=2		# serial-port console
#options	COMADDR=0x2f8		# on our com2 (0-x), PC COM2 (1-4)

options		SYSVMSG			# System V message queues; see msg.h
options		SYSVSEM			# System V semaphores; see sem.h
options		SYSVSHM			# System V shared memory
options		SHMMAXPGS=1024

#makeoptions	DEBUG="-g"		# compile full symbol table
options		DDB			# kernel low-level debugger
#options	DIAGNOSTIC		# generate diagnostic messages

options		PCVT_NSCREENS=9		# number of virtual terminals
options		PCVT_PRETTYSCRNS	# make screen-saver do something
options		PCVT_INHIBIT_NUMLOCK=0	# keep that damn thing on!!!

config		netbsd	root on sd0 swap on sd0 and sd1 and sd2 and wd0

# Bus interface:
isa0	at root		# ISA/EISA
#pci0	at root

# Math coprocessor/emulation support:
npx0	at isa? port 0xf0 irq 13	# math coprocessor

# Console drivers:
#pc0	at isa? port 0x60 irq 1		# generic PC console device
vt0	at isa? port 0x60 irq 1		# virtual terminals

# Hayes ESP board:
com0	at isa? port 0x3e8 irq 9	# at PC COM3

# "standard" PeeCee com ports:
com1	at isa? port 0x3f8 irq 4	# at PC COM1
com2	at isa? port 0x2f8 irq 3	# at PC COM2
#com3	at isa? port 0x3e8 irq 5	# at PC COM3
#com4	at isa? port 0x2e8 irq 9	# at PC COM4

# BocaBoard quad-16550 with normal com driver:
boca0	at isa? port 0x180 irq 12	# BOCA 8-port serial card
com*	at boca? slave?

# Parallel ports:
lpt0	at isa? port 0x378 irq 7	# at PC LPT1
lpt1	at isa? port 0x278		# at PC LPT2

# Logitech bus mouse:
#lms0	at isa? port 0x23c irq 5	# Logictech bus mouse
#mms0	at isa? port 0x23c irq 5	# Microsoft InPort mouse
#pms0	at isa? port 0x60 irq 12	# PS/2 auxiliary port mouse

# SCSI controllers and devices:
bt0	at isa? port 0x330 irq ? drq ?	# BusLogic [57]4X SCSI controllers
bt1	at isa? port ? irq ? drq ?	# BusLogic [57]4X SCSI controllers
scsibus* at bt?
ahb0    at isa? port 0x330 irq ?	# Adaptec 174[024] SCSI controllers
ahb1    at isa? port ? irq ?		# Adaptec 174[024] SCSI controllers
scsibus* at ahb?
#ncr*	at pci? bus ? dev ?		# NCR 538XX SCSI controllers
#scsibus* at ncr?

sd0	at scsibus? target 0 lun 0
sd1	at scsibus? target 1 lun 0
sd*	at scsibus? target ? lun ?	# SCSI disk drives
st*	at scsibus? target ? lun ?	# SCSI tape drives
cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
ch*	at scsibus? target ? lun ?	# SCSI autochangers

# Floppy drives:
fdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
fd*	at fdc? drive ?

# AT ST506 (IDE/MFM/RLL/ESDI) hard drives:
wdc0	at isa? port 0x1f0 irq 14	# ST506, ESDI, and IDE controllers
wdc1	at isa? port 0x170 irq ?
wd*	at wdc? drive ?

#wt0	at isa? port 0x300 irq 5 drq 1	# Archive and Wangtek QIC tape drives

# Mitsumi CD-ROM:
#mcd0	at isa? port 0x300 irq 5	# Mitsumi CD-ROM drives

# Ethernet drivers:
ed0	at isa? port 0x280 iomem 0xd0000 irq 10	# WD/SMC, 3C503, and NE[12]000
#eg0	at isa? ...				# 3C505 ethernet cards
#el0	at isa? port 0x300 irq 9		# 3C501 ethernet cards
#ep0	at isa? port ? irq ?			# 3C509 ethernet cards
#ie0	at isa? port 0x360 iomem 0xd0000 irq 7	# StarLAN & 3C507
#le0	at isa? port 0x320 irq 10 drq 7		# IsoLan, NE2100, and DEPCA

# Sound devices:
#sb0	at isa? port 0x220 irq 7 drq 1	# SoundBlaster
#wss0	at isa? port 0x530 irq 10 drq 0	# Windows Sound System
#pas0	at isa? port 0x220 irq 7 drq 1	# ProAudio Spectrum
# GUS flags is record drq for full-duplex:
#gus0	at isa? port 0x220 irq 7 drq 1 flags 6 # Gravis Ultra Sound
#spkr0	at isa? ...

# Pseudo devices:
pseudo-device	loop	1		# network loopback
pseudo-device	bpfilter 4		# packet filter
pseudo-device	sl	2		# CSLIP
pseudo-device	ppp	2		# PPP
pseudo-device	tun	2		# network tunneling over tty
pseudo-device	pty	64		# pseudo-terminals
pseudo-device	tb	1		# tablet line discipline
pseudo-device	vnd	4		# paging to files
#pseudo-device	ccd0 on sd0f and sd1f interleave 452 # concatenated disk device
------------------------------------------------------------------

-----------------------------------------------------------------------------
  Michael L. VanLoon                                 michaelv@HeadCandy.com
       --<  Free your mind and your machine -- NetBSD free un*x  >--
     NetBSD working ports: 386+PC, Mac 68k, Amiga, HP300, Sun3, Sun4,
                           DEC PMAX (MIPS), DEC Alpha, PC532
     NetBSD ports in progress: VAX, Atari 68k, others...
-----------------------------------------------------------------------------