Subject: Kernel build fails
To: None <current-users@NetBSD.ORG>
From: Michael L. VanLoon -- HeadCandy.com <michaelv@HeadCandy.com>
List: current-users
Date: 07/10/1996 23:23:20
FYI: With a sup done yesterday (7/9) and today (7/10) both, I get this
error when trying to build a kernel:

cc  -O6 -m486 -fno-strength-reduce -pipe -Werror -I. -I../../../../arch -I../../../.. -DI486_CPU -DI586_CPU -DMINDBENDER -DTIMEZONE="0x1e0" -DDST="1" -DDUMMY_NOPS -DMACHINE_NONCONTIG -DCOMPAT_09 -DCOMPAT_10 -DCOMPAT_11 -DCOMPAT_43 -DCOMPAT_NOMID -DSWAPPAGER -DVNODEPAGER -DDEVPAGER -DKTRACE -DFIFO -DFFS -DFDESC -DKERNFS -DPROCFS -DPORTAL -DMSDOSFS -DUMAPFS -DUNION -DQUOTA -DMFS -DNULLFS -DCD9660 -DINET -DNFSCLIENT -DNFSSERVER -DGATEWAY -DPPP_BSDCOMP -DPPP_DEFLATE -DXSERVER -DUCONSOLE -DLKM -DCOMPAT_FREEBSD -DCOMPAT_IBCS2 -DCOMPAT_SVR4 -DCOMPAT_LINUX -DCOM_ESP -DCOM_HAYESP -DSYSVMSG -DSYSVSEM -DSYSVSHM -DSHMMAXPGS="0x400" -DPCVT_NSCREENS="9" -DPCVT_PRETTYSCRNS -DPCVT_INHIBIT_NUMLOCK="0" -DFAT_CURSOR="1" -DDDB -DDIAGNOSTIC -DEISAVERBOSE -D_KERNEL -Di386  -c ../../../../nfs/nfs_socket.c
../../../../nfs/nfs_socket.c: In function `nfs_timer':
../../../../nfs/nfs_socket.c:1303: too many arguments to function
../../../../nfs/nfs_socket.c:1306: too many arguments to function
*** Error code 1

I reinstalled the includes, rebuilt config, totally cleaned out my
build dir, no difference...

My config file:


# original config file:
# GENERICAHBBT -- Generic machine w/ahb and bt drivers -- distribution floppy
#
# STINGRAY -- Config for Michael VanLoon's i386 box stingray.cc.iastate.edu
# MINDBENDER -- modified for change to MindBender.HeadCandy.com
#

machine		i386
#options	I386_CPU
options		I486_CPU
options		I586_CPU
options		MINDBENDER

maxusers	64

options		TIMEZONE=480
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_11		# backwards NetBSD-1.1 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		PPP_BSDCOMP
options		PPP_DEFLATE
#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		COM_HAYESP		# 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

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!!!
options		FAT_CURSOR=1

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

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

# Bus interface:
mainbus0 at root

isa0	at mainbus0
eisa0	at mainbus0
pci0	at mainbus0

# 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		# 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:
#bt*	at isa? port ? irq ? drq ?	# BusLogic BT742-based SCSI controllers
bt0	at isa? port 0x330 irq ? drq ?	# BusLogic BT5xx SCSI controllers
#bt*	at eisa? port ? irq ? drq ?	# BusLogic BT7xx SCSI controllers
#bt*	at pci? port ? irq ? drq ?	# BusLogic BT9xx SCSI controllers
scsibus* at bt?
ahb*    at eisa?			# Adaptec 174[024] SCSI controllers
scsibus* at ahb?

# DPT experimental development driver:
dpt0	at eisa?			# DPT SCSI Caching/RAID controller
scsibus* at dpt?

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

# Ethernet drivers:
ed0	at isa? port 0x280 iomem 0xd0000 irq 10	# WD/SMC, 3C503, and NE[12]000
ep0	at eisa?				# 3C59x 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 7 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	ccd	4		# 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, Atari 68k, HP300, Sun3,
        Sun4/4c/4m, DEC MIPS, DEC Alpha, PC532, VAX, MVME68k, arm32...
    NetBSD ports in progress: PICA, others...

   Roll your own Internet access -- Seattle People's Internet cooperative.
                  If you're in the Seattle area, ask me how.
-----------------------------------------------------------------------------