From owner-FreeBSD-users-jp@jp.freebsd.org  Thu Mar 25 17:07:30 1999
Received: (from daemon@localhost)
	by jaz.jp.freebsd.org (8.9.2+3.1W/8.7.3) id RAA20343;
	Thu, 25 Mar 1999 17:07:30 +0900 (JST)
	(envelope-from owner-FreeBSD-users-jp@jp.FreeBSD.org)
Received: from maizuru-ct.ac.jp (sun5.maizuru-ct.ac.jp [202.19.104.5])
	by jaz.jp.freebsd.org (8.9.2+3.1W/8.7.3) with ESMTP id RAA20338
	for <FreeBSD-users-jp@jp.freebsd.org>; Thu, 25 Mar 1999 17:07:29 +0900 (JST)
	(envelope-from magara@maizuru-ct.ac.jp)
Received: from s-gikan2.maizuru-ct.ac.jp (s-gikan2 [202.19.104.43]) by maizuru-ct.ac.jp (8.7.3+2.6Wbeta5-NAO.1/MAIZURU-CT05/14/97) with SMTP id RAA02205 for <FreeBSD-users-jp@jp.freebsd.org>; Thu, 25 Mar 1999 17:01:30 +0900 (JST)
Received: from magaram by s-gikan2.maizuru-ct.ac.jp (SMI-8.6/MAIZURU-CT04/08/96)
	id RAA29218; Thu, 25 Mar 1999 17:07:28 +0900
To: FreeBSD-users-jp@jp.freebsd.org
From: "K.Magara" <magara@maizuru-ct.ac.jp>
Message-Id: <199903251704.GCC87241.BSBHBN@maizuru-ct.ac.jp>
X-Mailer: Winbiff [Version 2.20 PL3]
Date: Thu, 25 Mar 1999 17:04:37 +0900
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-2022-jp
Reply-To: FreeBSD-users-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+981115
X-Sequence: FreeBSD-users-jp 40148
Subject: [FreeBSD-users-jp 40148] kernel compile error
Errors-To: owner-FreeBSD-users-jp@jp.freebsd.org
Sender: owner-FreeBSD-users-jp@jp.freebsd.org
X-Originator: magara@maizuru-ct.ac.jp

$BbCJA!wIqDa9b@l$G$9(B

FreeBSD(98)3.1-RELEASE $B$G%+!<%M%k:F9=C[Cf$K(B
$B0J2<$N%(%i!<$,=P$^$7$?!%(B

cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit  -Wnested-externs 
-Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith -Winline -Wuninitialized -Wformat 
-Wunused  -fformat-extensions -ansi  -nostdinc -I- -I. -I../.. -I/usr/include  -DKERNEL 
-DVM_STACK -include opt_global.h -elf  ../../pc98/pc98/wd.c
../../pc98/pc98/wd.c: In function `wdattach':
../../pc98/pc98/wd.c:600: warning: `du' might be used uninitialized in this function
../../pc98/pc98/wd.c:825: warning: control reaches end of non-void function
../../pc98/pc98/wd.c: At top level:
../../pc98/pc98/wd.c:837: `dvp' undeclared here (not in a function)
../../pc98/pc98/wd.c:837: parse error before `.'
*** Error code 1

Stop.

$BC1=c$J%(%i!<$=$&$J$N$G$9$,!$(B
$B%=!<%9$rDI$C$+$1$F$b8+Ev$b$D$-$^$;$s$G$7$?!%(B
$B%3%s%U%#%0%l!<%7%g%s%U%!%$%k$r:o$j$9$.$G$7$g$&$+!)(B

$B$9$$$^$;$s!%D9$$$G$9$1$I$=$N$^$^E=$jIU$1$F$$$^$9!%(B

$B$465<x$M$,$$$^$9!%(B

#
# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
#
# For more information read the handbook part System Administration -> 
# Configuring the FreeBSD Kernel -> The Configuration File. 
# The handbook is available in /usr/share/doc/handbook or online as
# latest version from the FreeBSD World Wide Web server 
# <URL:http://www.FreeBSD.ORG/>
#
# An exhaustive list of options and more detailed explanations of the 
# device lines is present in the ./LINT configuration file. If you are 
# in doubt as to the purpose or necessity of a line, check first in LINT.
#
#	$Id: GENERIC98,v 1.63 1999/01/18 08:38:07 kato Exp $

# GENERIC98 -- Generic PC98 machine with WD/SCSI disks

machine		"pc98"
#cpu		"I386_CPU"
cpu		"I486_CPU"
#cpu		"I586_CPU"
#cpu		"I686_CPU"
ident		"PC9801BA2"
maxusers	32

options		"PC98"			#PC98
#options	MATH_EMULATE		#Support for x87 emulation
options		INET			#InterNETworking
options		FFS			#Berkeley Fast Filesystem
options		FFS_ROOT		#FFS usable as root device [keep this!]
options		MFS			#Memory Filesystem
options		MFS_ROOT		#MFS usable as root device, "MFS" req'ed
options		NFS			#Network Filesystem
options		NFS_ROOT		#NFS usable as root device, "NFS" req'ed
#options	MSDOSFS			#MSDOS Filesystem
#options	"CD9660"		#ISO 9660 Filesystem
#options	"CD9660_ROOT"		#CD-ROM usable as root. "CD9660" req'ed
options		PROCFS			#Process filesystem
options		"COMPAT_43"		#Compatible with BSD 4.3 [KEEP THIS!]
options		SCSI_DELAY=15000	#Be pessimistic about Joe SCSI device
#options	EPSON_BOUNCEDMA		#use bounce buufer for 15-16M
#options	EPSON_MEMWIN		#EPSON memory window support
options		UCONSOLE		#Allow users to grab the console
#options	"LINE30"
options		FAILSAFE		#Be conservative
options		USERCONFIG		#boot -c editor
options		VISUAL_USERCONFIG	#visual boot -c editor

options		SYSVSHM			
options		SYSVSEM
options		SYSVMSG

#options	COM_MULTIPORT

#
#	IBM-PC HDD support
#options	COMPAT_ATDISK

config		kernel	root on wd0

# To make an SMP kernel, the next two are needed
#options	SMP			# Symmetric MultiProcessor Kernel
#options	APIC_IO			# Symmetric (APIC) I/O
# Optionally these may need tweaked, (defaults shown):
#options	NCPU=2			# number of CPUs
#options	NBUS=4			# number of busses
#options	NAPIC=1			# number of IO APICs
#options	NINTR=24		# number of INTs

controller	isa0
#controller	pci0

controller	fdc0	at isa? port "IO_FD1" bio irq 11 drq 2
disk		fd0	at fdc0 drive 0
#disk		fd1	at fdc0 drive 1
#disk		fd2	at fdc0 drive 2
#disk		fd3	at fdc0 drive 3

# options	"CMD640"	# work around CMD640 chip deficiency
controller	wdc0	at isa? port "IO_WD1" bio irq 9
disk		wd0	at wdc0 drive 0
#disk		wd1	at wdc0 drive 1
#disk		wd2	at wdc0 drive 2
#disk		wd3	at wdc0 drive 3
# ATAPI IDE CD-ROM machine
#disk		wd0	at wdc0 drive 0
#disk		wd1	at wdc0 drive 2
#disk		wd2	at wdc0 drive 3
#
# UIDE-98
#
#options	"UIDE98"
#controller	wdc0	at isa? port "0" bio irq ? flags 0xa0ffa0ff
#disk		wd0	at wdc0 drive 0
#disk		wd1	at wdc0 drive 1
#controller	wdc1	at isa? port "0" bio irq ? flags 0xa0ffa0ff
#disk		wd2	at wdc1 drive 0
#disk		wd3	at wdc1 drive 1
#
# Specify below if you also use internal IDE controller.
#
#controller	wdc2	at isa? port "IO_WD1" bio irq 9
#disk		wd4	at wdc2 drive 0
#disk		wd5	at wdc2 drive 1
#disk		wd6	at wdc2 drive 2
#disk		wd7	at wdc2 drive 3

#options	ATAPI		#Enable ATAPI support for IDE bus
#options	ATAPI_STATIC	#Don't do it as an LKM
#device		acd0		#IDE CD-ROM

# A single entry for any of these controllers (ncr, ahb, ahc) is
# sufficient for any number of installed devices.
#controller	ncr0
#controller	ahc0
#controller	isp0

#controller	adv0

#
# WD33C93 SCSI card (55/92 like board)
#

options	BS_TARG_SAFEMODE

# PC-9801-92
controller bs0 at isa? port IO_SCSI bio irq 5 drq 3 flags 0
# SC-98
# controller bs0 at isa? port IO_SCSI bio irq 5 drq 3 flags 0x10000
# HA-55BS2 and later
#controller bs0 at isa? port IO_SCSI bio irq 5 drq 3 flags 0x20000
# ELECOM type
#controller bs0 at isa? port IO_SCSI bio irq 5 drq 3 flags 0x30000
# SMIT
#controller bs0 at isa? port IO_SCSI bio irq 5 drq 3 iomem 0xdd000 iosiz 0x1000 flags 0x40000
# Logitec LHA-20x
#controller bs0 at isa? port IO_SCSI bio irq 5 drq 3 flags 0x50000

#controller	aic0	at isa? port 0x1840 bio irq 5 flags 0x10000

controller	scbus0

device		da0

device		sa0

device		pass0

#device		cd0	#Only need one of these, the code dynamically grows

#controller	matcd0	at isa? port? bio

# keyboard driver
device		pckbd0	at isa? port IO_KBD tty irq 1
#options	KBD_INSTALL_CDEV

device		gdc0	at isa?

# splash screen/screen saver
pseudo-device	splash

device		sc0	at isa? tty

device		npx0	at isa? port IO_NPX irq 8

#
# Laptop support (see LINT for more options)
#
#device		apm0    at isa?	disable	flags 0x31 # Advanced Power Management

# PCCARD (PCMCIA) support
#controller	card0
#device		pcic0	at card?
#device		pcic1	at card?

#
# Serial Interface
#
# COM1
device		sio0	at isa? port "IO_COM1" tty irq 4
# COM2 (2nd CCU)
#device		sio1	at isa? port 0x238 tty irq 5 flags 0x12000000
# PC-9861K, PC-9801-101, MDC-926Rs
#device		sio1	at isa? port "IO_COM2" tty irq 5 flags 0x01000000
#device		sio2	at isa? port "IO_COM3" tty irq 6 flags 0x02000000
# PC-9801-120 (PnP off)
#device		sio1	at isa? port 0x8b0 tty irq 5 flags 0x11000000
# MC-16550II, MC-RS98
#device		sio1	at isa? port 0xd2 tty irq 5 flags 0x14000101
#device		sio2	at isa? port 0x8d2 tty flags 0x14000101
# RSB-2000, RSB-3000, B98-02
#device		sio1	at isa? port 0xb0 tty flags 0x15000101
#device		sio2	at isa? port 0xb1 tty flags 0x15000101
# RSB-384
#device		sio1	at isa? port 0xb0 tty flags 0x16000000
#device		sio2	at isa? port 0xb1 tty flags 0x16000000
# RSA-98III
#device		sio1	at isa? port 0x50e0 tty irq 5 flags 0x18000101
#device		sio2	at isa? port 0x51e0 tty flags 0x18000101
# ESP98
#options	COM_ESP
#device		sio1	at isa? port 0x18b0 tty irq 5 flags 0x19000000

device		lpt0	at isa? port IO_LPT  tty
device		mse0	at isa? port IO_MSE tty irq 13

# Order is important here due to intrusive probes, do *not* alphabetize
# this list of network interfaces until the probes have been fixed.
# Right now it appears that the ie0 must be probed before ep0. See
# revision 1.20 of this file.
#device ax0
#device de0
#device fxp0
#device mx0
#device pn0
#device rl0
#device tl0
#device tx0
#device vr0
#device vx0
#device wb0
#device xl0

#
# DP8390 NIC
#
# ed0: generic driver
# ed1: LANEED LD-BDN
# ed2: EGY-98
# ed3: LGY-98
# ed4: ICM-IF-2766/EN-2298-T
# ed5: SIC-98
# ed6: PC-9801-108
# ed7: LA-98
# ed8: C-NET(98)
# ed9: C-NET(98)E/L
# fe0: RE1000/1000Plus/AccessPC N98C+/LAC-98
# fe1: C-NET(98)P2/C-NET(9N)E
#
# FE_8BIT_SUPPORT is needed to support LAC-98
#
#device ed0 at isa? port 0x00d0 net irq 6
#device ed5 at isa? port 0x00d0 net irq 6 iomem 0xd0000 iosiz 16384 flags 0x600000
#device ed1 at isa? port 0x00d8 net irq 6 flags 0x200000
device ed3 at isa? port 0x00d0 net irq 6 flags 0x400000
#device ed4 at isa? port 0x56d0 net irq 5 flags 0x500000
#device ed2 at isa? port 0x00d8 net irq 6 flags 0x300000
#device ed7 at isa? port 0x00d0 net irq 6 flags 0x900000
#device ed6 at isa? port 0x0770 net irq 6 flags 0x800000
#device ed9 at isa? port 0x03d0 net irq 6 flags 0xb00000
#device ed8 at isa? port 0xa3d0 net irq 6 iomem 0xd0000 iosiz 16384 flags 0xa00000
#device ep0 at isa? port 0x40d0 net irq 3
#device fe0 at isa? port 0x00d0 net irq 3
#device fe1 at isa? port 0x73d0 net irq 5
#device lnc0 at isa? port 0x03d0 net irq 6
#device zp0 at isa? port 0x00d0 net irq 10 iomem 0xe0000

#options	"FE_8BIT_SUPPORT"	# LAC-98 support

#controller	snd0
#device	sb0	at isa? port 0x20d2 irq 10 conflicts drq 3
#device	sbxvi0 	at isa? drq 3
#device	sbmidi0	at isa? port 0x80d2
#device	opl0	at isa? port 0x28d2
#device nss0    at isa? port 0xa460 irq 12
#device	mss0	at isa? port 0xf40 irq 12 drq 1

pseudo-device	loop
pseudo-device	ether
pseudo-device	sl	1
pseudo-device	ppp	1
pseudo-device	tun	1
pseudo-device	pty	16
pseudo-device	gzip		# Exec gzipped a.out's

# KTRACE enables the system-call tracing facility ktrace(2).
# This adds 4 KB bloat to your kernel, and slightly increases
# the costs of each syscall.
#options	KTRACE		#kernel tracing

#  The `bpfilter' pseudo-device enables the Berkeley Packet Filter.  Be
#  aware of the legal and administrative consequences of enabling this
#  option.  The number of devices determines the maximum number of
#  simultaneous BPF clients programs runnable.
#pseudo-device	bpfilter 4	#Berkeley packet filter


----------------------------------------------
  $BIqDa9)6H9bEy@lLg3X9;!!EE;R@)8f9)3X2J(B
  $BbCJA!!8-0l(B
  E-mail   : magara@maizuru-ct.ac.jp
  HomePage : http://s-gikan2.maizuru-ct.ac.jp/

