Subject: NetBSD-release 22 aug. won't build
To: None <port-arm32@netbsd.org>
From: Reinoud Zandijk <zandijk@cs.utwente.nl>
List: port-arm32
Date: 08/23/1999 14:10:45
Hi folks,

Does anybody know why NetBSD-release 22 aug. doensn't build with my
configuration? I removed my compilation directory completely, but
configured with NetBSD-current's ``config''... could this give a
incompatibility?

The error was :

"
<snip>
cc -O2 -Werror -Wall -Wcomment -Wpointer-arith -Wno-main -I. 
-I../../../../arch -I../../../.. -nostdinc -DIOMD -DRISCPC -DCOMPAT_14
-DSHMMAXPGS="0x200" -DLKM -DARM700BUGTRACK -DDIAGNOSTIC -DPOSTMORTEM
-DMAXUSERS=10 -D_KERNEL -Darm32 -c ../../../../arch/arm32/arm32/syscall.c
cc1: warnings being treated as errors
../../../../arch/arm32/arm32/syscall.c: In function `syscall':
../../../../arch/arm32/arm32/syscall.c:166: warning: implicit declaration
of function `dumpframe'
../../../../arch/arm32/arm32/syscall.c:171: warning: unsigned int format,
pointer arg (arg 3)
*** Error code 1

Stop.
bash-2.03# 
".

I've appended my config file just in case. Is the config file sensible
anyway? I.e. is it favourable to use the ARM FPE on a ARM710 ?

Thanks in advance,

Reinoud

"
#	$NetBSD: RISCPC,v 1.24 1999/03/27 07:11:36 explorer Exp $
#
#	RISCPC -- Full RiscPC config
#

include	"arch/arm32/conf/std.arm32"

# estimated number of users

maxusers	10

# Standard system options

options 	RTC_OFFSET=-60	# hardware clock is this many mins. west of GMT
#options 	NTP		# NTP phase/frequency locked loop

# CPU options

# For standard RiscPC's
options 	CPU_SA110	# Support the SA110 core
options 	CPU_ARM6	# Support the ARM6 core
options 	CPU_ARM7	# Support the ARM7 core
#options 	CPU_ARM8	# Support the ARM8 core
#options 	ARM6_LATE_ABORT	# ARM6XX late abort support

# For A7000, Stork and other ARM7500 machines
#options 	CPU_ARM7	# Support the ARM7 core
#options 	CPU_ARM7500	# We are actually an ARM7500

# Architecture options
options 	IOMD		# We have an IOMD
options 	RISCPC		# We are a RiscPC
#options 	RC7500		# We are a RC7500

# FPA options

#options 	ARMFPE		# ARM Ltd FPE

# File systems

file-system	FFS		# UFS
#file-system	LFS		# log-structured file system
#file-system	MFS		# memory file system
file-system	NFS		# Network file system
#file-system 	ADOSFS		# AmigaDOS-compatible file system
#file-system 	EXT2FS		# second extended file system (linux)
#file-system	CD9660		# ISO 9660 + Rock Ridge file system
file-system	MSDOSFS		# MS-DOS file system
#file-system	FDESC		# /dev/fd
file-system	FILECORE	# Acorn filecore file system
file-system	KERNFS		# /kern
file-system	NULLFS		# loopback file system
#file-system	PORTAL		# portal filesystem (still experimental)
file-system	PROCFS		# /proc
file-system	UMAPFS		# NULLFS + uid and gid remapping
#file-system	UNION		# union file system

# File system options
#options 	QUOTA		# UFS quotas
options 	NFSSERVER

# Networking options

#options 	GATEWAY		# packet forwarding
options 	INET		# IP + ICMP + TCP + UDP
#options 	MROUTING	# IP multicast routing
#options 	NS		# XNS
#options 	NSIP		# XNS tunneling over IP
#options 	ISO,TPIP	# OSI
#options 	EON		# OSI tunneling over IP
#options 	CCITT,LLC,HDLC	# X.25
#options 	NETATALK	# AppleTalk networking
#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
#options 	PPP_DEFLATE	# Deflate compression support for PPP
#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)

# Compatibility options

options 	COMPAT_43	# 4.3BSD compatibility.
options 	COMPAT_14	# NetBSD 1.4 compatibility.
options 	COMPAT_13	# NetBSD 1.3 compatibility.
#options 	COMPAT_12	# NetBSD 1.2 compatibility.
#options 	COMPAT_11	# NetBSD 1.1 compatibility.
#options 	COMPAT_10	# NetBSD 1.0 compatibility.
#options 	COMPAT_09	# NetBSD 0.9 compatibility.
#options 	TCP_COMPAT_42   # TCP bug compatibility with 4.2BSD

# Shared memory options

options 	SYSVMSG		# System V-like message queues
options 	SYSVSEM		# System V-like semaphores
options 	SYSVSHM		# System V-like memory sharing
options 	SHMMAXPGS=512	# 1024 pages is the default

# Device options

options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
#options 	MEMORY_DISK_SIZE=0	# Size in blocks
#options 	MINIROOTSIZE=3400	# Size in blocks
#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root

# Miscellaneous kernel options
#options 	KTRACE		# system call tracing, a la ktrace(1)
options 	IRQSTATS	# manage IRQ statistics
options 	LKM		# loadable kernel modules
options 	KMEMSTATS	# kernel memory statistics

# Development and Debugging options

options 	ARM700BUGTRACK	# track the ARM700 swi bug
#options 	PORTMASTER	# Enable PortMaster only options
options 	DIAGNOSTIC	# internally consistency checks
options 	PMAP_DEBUG	# Enable pmap_debug_level code
options 	POSTMORTEM	# perform postmortem on panic
#options 	IPKDB		# remote kernel debugging
options 	DDB		# in-kernel debugger
options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
#makeoptions	DEBUG="-g"	# compile full symbol table

config		netbsd	root on ? type ?
#options 	COMCONSOLE=0,CONADDR=0x3f8,CONUNIT=0,CONSPEED=9600

# The main bus device
mainbus0 at root

# The boot cpu
cpu0 at mainbus?

# The IOMD
iomd0	at mainbus?

# system clock via IOMD
clock*	at iomd?

# kbd via IOMD
kbd*	at iomd?

# quadrature mouse via IOMD
qms*	at iomd?

# PS2 mouse via IOMD
#opms*	at iomd?

# IIC bus device
iic*	at iomd?

# RTC device via IIC bus
rtc*	at iic? addr 0xa0

# time-of-day device via rtc device
todclock0	at rtc?

# VIDC device
vidc0		at mainbus?

# The vidc
vidcvideo0	at vidc?

# generic VT console device
vt0     at vidc?
vt1     at vidc?
vt2     at vidc?
vt3     at vidc?
vt4     at vidc?
vt5     at vidc?

# Peripheral IO Controller
pioc0	at mainbus? base 0x00210000

# IDE disk controller
wdc0	at pioc? offset 0x01f0 irq 9
#wdc*	at pioc? offset 0x0170 irq -1
wd*	at wdc? channel ? drive ?
#atapibus* at wdc? channel ?
#cd*	at atapibus? drive ?
#sd*	at atapibus? drive ?

# Floppy disk controller
fdc*    at pioc? offset 0x03f0 irq 12 dack 0x2000
fdc*    at pioc? offset 0x0370 irq -1 dack 0x2000
fd0     at fdc? drive ?

# Serial ports
com*    at pioc? offset 0x03f8 irq 10
#com*    at pioc? offset 0x02f8 irq -1
#com*    at pioc? offset 0x0338 irq -1
#com*    at pioc? offset 0x0238 irq -1

# Parallel ports
lpt*    at pioc? offset 0x0278 irq 0
#lpt*    at pioc? offset 0x0378 irq -1
#lpt*    at pioc? offset 0x03bc irq -1

# Crude sound device
beep0	at vidc?

# Audio device
vidcaudio0	at vidc?
audio*		at vidcaudio0

# System beep
sysbeep0	at vidc?

# Podule bus device
podulebus0	at root

#asc*	at podulebus?			# Acorn SCSI card
#scsibus* at asc?

#cosc*	at podulebus?			# MCS Connect32 SCSI II card
#scsibus* at cosc?

#ptsc*	at podulebus?			# Power-Tec SCSI II card
#scsibus* at ptsc?

#csc*	at podulebus?			# Cumana SCSI II card
#scsibus* at csc?

#oak*	at podulebus?			# Oak SCSI I card
#scsibus* at oak?

#csa*	at podulebus?			# Cumana SCSI I adpater
#scsibus* at csa?

#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 auto-changers
#uk*	at scsibus? target ? lun ?	# SCSI unknown device
#ss*	at scsibus? target ? lun ?	# SCSI scanner

#icside*	at podulebus?			# ICS IDE card
#wd*	at icside? channel ? drive ?
#atapibus* at icside? channel ?

#rapide*	at podulebus?			# Yellowstone RapIDE card
#wd*	at rapide? channel ? drive ?
#atapibus* at rapide? channel ?

#simide*	at podulebus?			# Simtec IDE card
#wd*	at simide? channel ? drive ?
#atapibus* at simide? channel ?

#amps*	at podulebus?			# Atomwide Multi-Port Serial card
#com*	at amps?

#ie*	at podulebus?			# Ether1 podules
ea*	at podulebus?			# Ether3 podules
#eb0	at podulebus?			# EtherB network slot cards
#ne*	at podulebus?			# NE2000 clone cards

pseudo-device	loop	1               # network loopback
pseudo-device	bpfilter 8              # packet filter
#pseudo-device	sl	2               # CSLIP
#pseudo-device	ppp	2		# PPP
#pseudo-device	tun	2		# network tunneling over tty
#pseudo-device	ipfilter 1		# ip filter
#pseudo-device	strip	4		# STRIP 
pseudo-device	pty     16              # pseudo-terminals
#pseudo-device	tb	1		# tablet line discipline
#pseudo-device	vnd     4               # paging to files
#pseudo-device	ccd	2		# concatenated disk devices
#pseudo-device	md	1		# Ramdisk driver
pseudo-device	rnd			# /dev/random and /dev/urandom

#makeoptions MONITOR="Taxan875+LR"
#makeoptions MONITOR="AKF60"
makeoptions MONITOR="AKF85"
makeoptions MODES="1024,768,60 1024,768,70 800,600,60 640,480,60 1280,1024 1152,900"
"