Skip to contentSkip to conversation

2.5.1-pre10: Compilation failure in fdomain.c:1268: `io_request_lock' undeclared

DISCUSSION Miles Lane 2 participants 2 messages Dec 12, 2001

lore
Share & tools
lore

Miles Lane

author
#0 lore raw

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

#1 lore raw
Quoted 10 lines · Miles Lane

gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes

(quoted diff) +0 -3
-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.

Signature · 1 line
Jens Axboe