Can't compile Symbios 53c416 SCSI support

From: Paulo Andre' (l16083@alunos.uevora.pt)
Date: Sun Jan 27 2002 - 15:12:13 EST


Hi!

I've been trying to compile the Symbios 53c416 SCSI host adapter but it
chokes when trying to compile sym53c416.c. AFAIK, this happens with
2.5.1 and later kernels and did _not_ happen with any 2.4 kernel. I
reproduced this on both 2.5.1, 2.5.2 and 2.5.2-dj3. Here's the output:

gcc -D__KERNEL__ -I/usr/local/src/devel/linux/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=i586 -c -o sym53c416.o sym53c416.c
sym53c416.c: In function `sym53c416_intr_handle':
sym53c416.c:362: `io_request_lock' undeclared (first use in this
function)
sym53c416.c:362: (Each undeclared identifier is reported only once
sym53c416.c:362: for each function it appears in.)
make[3]: *** [sym53c416.o] Error 1
make[3]: Leaving directory `/usr/local/src/devel/linux/drivers/scsi'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/local/src/devel/linux/drivers/scsi'
make[1]: *** [_subdir_scsi] Error 2
make[1]: Leaving directory `/usr/local/src/devel/linux/drivers'
make: *** [_dir_drivers] Error 2

If it is of any help, the .config used goes attached.

I'm a newbie though I see <linux/blk.h> is included. Still it says
io_request_lock is undeclared... should be trivial but goes beyond my
knowledge :)

Thanks in advance

// Paulo Andre'

  /~\ The ASCII
  \ / Ribbon Campaign
   X Against HTML
  / \ Email!



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jan 31 2002 - 21:00:45 EST