From owner-freebsd-current Fri Aug 7 13:00:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA08599 for freebsd-current-outgoing; Fri, 7 Aug 1998 13:00:04 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from heathers.stdio.com (heathers.stdio.com [199.89.192.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA08530 for ; Fri, 7 Aug 1998 13:00:01 -0700 (PDT) (envelope-from lile@stdio.com) Received: (from lile@localhost) by heathers.stdio.com (8.8.8/8.8.8) id PAA15000; Fri, 7 Aug 1998 15:56:11 -0400 (EDT) Date: Fri, 7 Aug 1998 15:56:10 -0400 (EDT) From: "Larry S. Lile" To: Bruce Evans cc: current@FreeBSD.ORG Subject: Re: Kernel compile problem In-Reply-To: <199808071423.AAA16799@godzilla.zeta.org.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 8 Aug 1998, Bruce Evans wrote: > >When I try to compile a GENERIC (-current as of 2:00PM (EDT) Aug 6,1998) > >kernel I get the following error. Am I doing something wrong? > > >cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit > >-Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith > >-Winline -Wuninitialized -ansi -nostdinc -I- -I. -I../.. -I../../../include > >-DKERNEL -include opt_global.h ../../scsi/cd.c > > > >In file included from ../../scsi/cd.c:48: > >ioconf.h:11: conflicting types for `fdintr' > >../../i386/isa/isa_device.h:155: previous declaration of `fdintr' > >ioconf.h:11: warning: redundant redeclaration of `fdintr' in same scope > >../../i386/isa/isa_device.h:155: warning: previous declaration of `fdintr' > >... > > Rebuild, reinstall and rerun config. > > Bruce Speaking of this, what is the new magic with *intr routines. I am still working on my token ring driver and have cvsup'd to the latest level only to find out that my driver now panics when calling routines outside my tokintr like tok_tx_intr. Is it now neccesary to make these static? or inline? And is there some better fix for declaring your *intr routine or must you specify it in isa_device.h? Larry Lile lile@stdio.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message