From owner-freebsd-scsi Sun Jul 19 02:27:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA22371 for freebsd-scsi-outgoing; Sun, 19 Jul 1998 02:27:54 -0700 (PDT) (envelope-from owner-freebsd-scsi@FreeBSD.ORG) Received: from galjas.cs.vu.nl (root@galjas.cs.vu.nl [130.37.24.13]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA22360 for ; Sun, 19 Jul 1998 02:27:43 -0700 (PDT) (envelope-from gkoller@cs.vu.nl) Received: from localhost by galjas.cs.vu.nl with smtp (Smail3.1.28.1 #56) id m0yxpk1-0006MMC; Sun, 19 Jul 98 11:26 +0200 Date: Sun, 19 Jul 1998 11:26:49 +0200 (MET DST) From: Guido Kollerie To: freebsd-scsi@FreeBSD.ORG cc: gibbs@plutotech.com Subject: CAM-19980712 kernel with bt driver Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On a 2.2-stable system (ctm delta 797) compiling a CAM-19980712 kernel which includes the bt (Buslogic Multimaster series) driver results in the follwing error message: cc -c -O2 -pipe -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -Wnested-externs - Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -nostdinc -I- -I. -I../.. - I../../../include -DFFS -DINET -DCOMPAT_43 -DKERNEL ../../i386/isa/bt_isa.c ../../i386/isa/bt_isa.c:47: warning: static declaration for `bt_isa_intr' follows non-static ../../i386/isa/bt_isa.c:47: warning: redundant redeclaration of `bt_isa_intr' in same scope ioconf.h:12: warning: previous declaration of `bt_isa_intr' [...] loading kernel ioconf.o: Undefined symbol `_bt_isa_intr' referenced from data segment *** Error code 1 Removing 'static' from the declaration and definition of bt_isa_intr in /usr/src/sys/i386/isa/bt_isa.c results in a successful build/working kernel. The following warning is retained however: cc -c -O2 -pipe -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -Wnested-externs - Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -nostdinc -I- -I. -I../.. - I../../../include -DFFS -DINET -DCOMPAT_43 -DKERNEL ../../i386/isa/bt_isa.c ../../i386/isa/bt_isa.c:47: warning: redundant redeclaration of `bt_isa_intr' in same scope ioconf.h:12: warning: previous declaration of `bt_isa_intr' -- Guido Kollerie To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message