Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Mar 1995 13:23:06 +0100 (MET)
From:      Christoph Kukulies <kuku@gilberto.physik.rwth-aachen.de>
To:        root@io.cts.com (Morgan Davis)
Cc:        freebsd-current@freefall.cdrom.com (user alias)
Subject:   Re: Warnings on kernel build (sound stuff)
Message-ID:  <199503111223.NAA04552@gilberto.physik.rwth-aachen.de>
In-Reply-To: <199503110858.AAA07546@io.cts.com> from "Morgan Davis" at Mar 11, 95 00:58:49 am

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> Well, I decided to risk it and build the 3/10 -current.  I compared my
> previous kernel config file (IO) to the latest LINT and pieced
> together all the new stuff appropriate for this machine.  In compiling
> the kernel, I'm seeing a lot of warnings related to sound stuff:
> 
> cc -c -O -W -Wreturn-type -Wcomment -Wredundant-decls  -nostdinc
> -I. -I../.. -I../../sys -I../../../include -DIO -DI486_CPU
> -DEXCLUDE_GUS_IODETECT -DAUDIO_SB -DAUDIO_PAS -DMAXCONS=4 -DXSERVER
> -DDUMMY_NOPS -DAUTO_EOI_2 -DAUTO_EOI_1 -DSCSIUSER -DPROCFS -DMSDOSFS
> -DCD9660 -DNFS -DFFS -DIPACCT -DGATEWAY -DINET -DUCONSOLE -DSYSVMSG
> -DSYSVSEM -DSYSVSHM -DCOMPAT_43 -DKERNEL -Di386
> -DLOAD_ADDRESS=0xF0100000  ../../i386/isa/sound/uart6850.c
> In file included from ../../i386/isa/sound/os.h:51,
>                  from ../../i386/isa/sound/sound_config.h:270,
>                  from ../../i386/isa/sound/uart6850.c:32:
> ../../sys/proc.h:275: warning: type mismatch with previous external decl
> ../../vm/vm_object.h:155: warning: previous external decl of `wakeup'
> ../../sys/proc.h:275: warning: type mismatch with previous implicit declaration
> ../../vm/vm_object.h:155: warning: previous implicit declaration of `wakeup'
> ../../sys/proc.h:275: warning: `wakeup' was previously implicitly declared to return `int'
> 
> It this due to a bad set of sound options I've selected, or is this
> just currently just the state it's in.  I've got a Pro AudioSpectrum
> 16D rev 255 in the system with a Media Vision CD-ROM drive.
> 
I rebuilt a kernel an hour ago without problems (though I'm using a GUS
instead of a PAS) with the following config:

#
# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
#
#	$Id: GENERIC,v 1.22 1994/12/18 12:01:40 jkh Exp $
#

machine		"i386"
cpu		"I486_CPU"
ident		BLUESGUS
maxusers	4

##options		MATH_EMULATE		#Support for x87 emulation
options		INET			#InterNETworking
options		FFS			#Berkeley Fast Filesystem
options		NFS			#Network Filesystem
options		MSDOSFS			#MSDOS Filesystem
options		"CD9660"		#ISO 9660 Filesystem
options		PROCFS			#Process filesystem
options		"COMPAT_43"		#Compatible with BSD 4.3
options		UCONSOLE		#X Console support
options		"FAT_CURSOR"		#block cursor in syscons or pccons
options		"SCSI_DELAY=15"		#Be pessimistic about Joe SCSI device
options		"NCONS=8"		#4 virtual consoles
options		BOUNCE_BUFFERS		#include support for DMA bounce buffers
options         AUDIO_GUS

options         CONFIGURE_SOUNDCARD     # I believe this is superfluous
config		kernel	root on wd0 swap on wd0 and wd1 and sd0 and sd1 and vn0 dumps on wd0

controller	isa0
##controller	pci0

controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk		fd0	at fdc0 drive 0
disk		fd1	at fdc0 drive 1

##tape		ft0	at fdc0 drive 2

controller	wdc0	at isa? port "IO_WD1" bio irq 14 vector wdintr
disk		wd0	at wdc0 drive 0
disk		wd1	at wdc0 drive 1

##controller	wdc1	at isa? port "IO_WD2" bio irq 15 vector wdintr
##disk		wd2	at wdc1 drive 0
##disk		wd3	at wdc1 drive 1

##controller	ncr0

##controller	bt0	at isa? port "IO_BT0" bio irq ? vector btintr
##controller	uha0	at isa? port "IO_UHA0" bio irq ? drq 5 vector uhaintr
##controller	ahc0	at isa? bio irq ? vector ahcintr
##controller	ahb0	at isa? bio irq ? vector ahbintr
##controller	aha0	at isa? port "IO_AHA0" bio irq ? drq 5 vector ahaintr
##controller	aic0    at isa? port 0x340 bio irq 11 vector aicintr
##controller	pas0	at isa? port 0x1f88 bio
##controller	sea0	at isa? bio irq 5 iomem 0xc8000 iosiz 0x2000 vector seaintr
##controller	scbus0

##device		sd0

##device		st0

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

##device		wt0	at isa? port 0x300 bio irq 5 drq 1 vector wtintr
device		mcd0	at isa? port 0x300 bio irq 10 vector mcdintr
##device		mcd1	at isa? port 0x340 bio irq 11 vector mcdintr

device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr
device		npx0	at isa? port "IO_NPX" irq 13 vector npxintr

device		sio0	at isa? port "IO_COM1" tty irq 4 vector siointr
device		sio1	at isa? port "IO_COM2" tty irq 3 vector siointr
##device		sio2	at isa? port "IO_COM3" tty irq 5 vector siointr
##device		sio3	at isa? port "IO_COM4" tty irq 9 vector siointr

device		lpt0	at isa? port? tty irq 7 vector lptintr
##device		lpt1	at isa? port? tty
##device		lpt2	at isa? port? tty

device		pca0	at isa? tty
device snd4 at isa? port 0x220 irq 15 drq 6 vector gusintr

##device de0
device ed0 at isa? port 0x280 net irq  5 iomem 0xd8000 vector edintr
##device ed1 at isa? port 0x300 net irq  5 iomem 0xd8000 vector edintr
##device ie0 at isa? port 0x360 net irq  7 iomem 0xd0000 vector ieintr
##device ep0 at isa? port 0x300 net irq 10 vector epintr
##device is0 at isa? port 0x280 net irq 10 drq 7 vector isintr
##device le0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector le_intr
##device ze0 at isa? port 0x300 net irq 5 iomem 0xd8000 vector zeintr

pseudo-device	loop
pseudo-device	ether
pseudo-device	log
##pseudo-device	sl	2
pseudo-device	pty	16
pseudo-device	speaker
pseudo-device	bpfilter 4
pseudo-device	gzip		# Exec gzipped a.out's
pseudo-device	vn



--Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de
FreeBSD blues 2.1.0-Development FreeBSD 2.1.0-Development #0: Sun Mar  5
20:47:08  1995     kuku@blues:/usr/src/sys/compile/BLUESGUS  i386



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