Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jul 1998 11:26:49 +0200 (MET DST)
From:      Guido Kollerie <gkoller@cs.vu.nl>
To:        freebsd-scsi@FreeBSD.ORG
Cc:        gibbs@plutotech.com
Subject:   CAM-19980712 kernel with bt driver
Message-ID:  <Pine.GSO.4.00.9807191124010.8472-100000@galjas.cs.vu.nl>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.00.9807191124010.8472-100000>