2001-12-12 08:10:59

by Miles Lane

[permalink] [raw]
Subject: 2.5.1-pre10: Compilation failure in fdomain.c:1268: `io_request_lock' undeclared



gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -march=athlon -DMODULE -DPCMCIA
-D__NO_VERSION__ -c -o fdomain.o ../fdomain.c
../fdomain.c: In function `do_fdomain_16x0_intr':
../fdomain.c:1268: `io_request_lock' undeclared (first use in this
function)
../fdomain.c:1268: (Each undeclared identifier is reported only once
../fdomain.c:1268: for each function it appears in.)
make[3]: *** [fdomain.o] Error 1

CONFIG_SCSI=m
CONFIG_BLK_DEV_SD=m
CONFIG_SD_EXTRA_DEVS=40
CONFIG_CHR_DEV_ST=m
CONFIG_CHR_DEV_OSST=m
CONFIG_BLK_DEV_SR=m
CONFIG_BLK_DEV_SR_VENDOR=y
CONFIG_SR_EXTRA_DEVS=2
CONFIG_CHR_DEV_SG=m
CONFIG_SCSI_CONSTANTS=y

CONFIG_SCSI_PCMCIA=y
CONFIG_PCMCIA_AHA152X=m
CONFIG_PCMCIA_FDOMAIN=m
CONFIG_PCMCIA_NINJA_SCSI=m



2001-12-12 10:13:33

by Jens Axboe

[permalink] [raw]
Subject: Re: 2.5.1-pre10: Compilation failure in fdomain.c:1268: `io_request_lock' undeclared

On Wed, Dec 12 2001, Miles Lane wrote:
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes
> -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
> -pipe -mpreferred-stack-boundary=2 -march=athlon -DMODULE -DPCMCIA
> -D__NO_VERSION__ -c -o fdomain.o ../fdomain.c
> ../fdomain.c: In function `do_fdomain_16x0_intr':
> ../fdomain.c:1268: `io_request_lock' undeclared (first use in this
> function)
> ../fdomain.c:1268: (Each undeclared identifier is reported only once
> ../fdomain.c:1268: for each function it appears in.)
> make[3]: *** [fdomain.o] Error 1

If you want to be helpful with these, start making a list of what is
broken. If you send it to me, I'll make it public and comment each case
as to what needs doing.

--
Jens Axboe