Hi!
I am trying to compile ftape-4.02 on the 2.5.5-15 RedHat 6 kernel - I am
getting various redifintion warnings and there is a structure called
"current" that lacks a certain member:
In file included from /usr/src/linux/include/linux/config.h,
from fdc-io.c:31:
/usr/src/linux/include/linux/autoconf.h:861: warning: 'CONFIG_FT_NR_BUFFERS"
redefined
*Initialization*:1: warning: this is the location of the previous definition
fdc-io.c: In function "fdc_interrupt_wait":
fdc-io.c:433: structure has no member named 'timeout'
fdc-io.c:454: structure has no member named 'timeout'\
make[2]: *** [fdc-io.o] Error 1
make[2]: Leaving directory
'/usr/src/redhat/SOURCES/ftape-4.02/ftape/lowlevel'
make[1]: *** [modules] Error 2
make[1]: Leaving directory '/usr/src/redhat/SOURCES/ftape-4.02/ftape'
make: *** [install] Error 2
I managed to silence the
/usr/src/linux/include/linux/autoconf.h:861: warning: 'CONFIG_FT_NR_BUFFERS"
redefined
by commenting the relevant line in autoconf.h - is this good or "bad" to do?
It has a value of 3 in my install.
As for the "fdc-io.c:433: structure has no member named 'timeout'" I have
looked at the source and surmised that there is a structure called "current"
that lacks this "timeout" member. Any idea where I can find this structure
definition? Is it part of ftape or the kernel sources? What type of variable
is this "current" variable?
I am trying to get ftape compiled in order to use an Iomega DittoMax Pro
with the dittoDash DX accelerator card (PCI?)
Any replies appreciated!
Fanx,
Stefan Viljoen
http://home.intekom.com/rylan/