Hi,
I try to compile 2.4.11 and fail:
scsi_debug.c: In function `scsi_debug_biosparam':
scsi_debug.c:665: warning: unused variable `size'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.11/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS
-include /usr/src/linux-2.4.11/include/linux/modversions.h -c -o
cpqfcTSinit.o cpqfcTSinit.c
cpqfcTSinit.c: In function `cpqfcTS_ioctl':
cpqfcTSinit.c:663: `SCSI_IOCTL_FC_TARGET_ADDRESS' undeclared (first use in
this function)
cpqfcTSinit.c:663: (Each undeclared identifier is reported only once
cpqfcTSinit.c:663: for each function it appears in.)
cpqfcTSinit.c:681: `SCSI_IOCTL_FC_TDR' undeclared (first use in this
function)
make[2]: *** [cpqfcTSinit.o] Error 1
make[2]: Saliendo directorio `/usr/src/linux-2.4.11/drivers/scsi'
make[1]: *** [_modsubdir_scsi] Error 2
make[1]: Saliendo directorio `/usr/src/linux-2.4.11/drivers'
make: *** [_mod_drivers] Error 2
Luis Montgomery
[email protected] wrote:
I try to compile 2.4.11 and fail:
[...]
> cpqfcTSinit.o cpqfcTSinit.c
> cpqfcTSinit.c: In function `cpqfcTS_ioctl':
> cpqfcTSinit.c:663: `SCSI_IOCTL_FC_TARGET_ADDRESS' undeclared (first use in
> this function)
> cpqfcTSinit.c:663: (Each undeclared identifier is reported only once
> cpqfcTSinit.c:663: for each function it appears in.)
> cpqfcTSinit.c:681: `SCSI_IOCTL_FC_TDR' undeclared (first use in this
> function)
You could try this patch I made
http://www.geocities.com/dotslashstar/cpqfc.html
Though it was made for 2.4.10-ac8, there's a reasonably good chance it
will still work. This patch incidentally fixes the problem you mention, but
mainly the patch removes use of virt_to_bus and bus_to_virt from the cpqfc
driver.and uses the 2.4.x PCI DMA interfaces instead. (Note, I haven't tried
this patch with 2.4.11 yet myself).
-- steve (aka [email protected])
__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com