I cannot compile ftape-4.03-pre-2, and although I admit I am very new to
Linux, I have done everything asked of me by the docs and the FAQ. I am
trying not to waste your time, and definitely appreciate help:
I am running kernel 2.2.2, I compiled it myself, so I believe that .config
reflects my running system, and did run make dep just before compiling, as
the ftape INSTALL instructs me to. But when I compile I get:
make[2]: Leaving directory
`/home/scott.petrack/src/ftape-4.03-pre-2/ftape/setup'
make[2]: Entering directory
`/home/scott.petrack/src/ftape-4.03-pre-2/ftape/lowlevel'
make[2]: Leaving directory
`/home/scott.petrack/src/ftape-4.03-pre-2/ftape/lowlevel'
make[2]: Entering directory
`/home/scott.petrack/src/ftape-4.03-pre-2/ftape/lowlevel'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
-fno-strength-reduce -DTHE_FTAPE_MAINTAINER=\"[EMAIL PROTECTED]\"
-DCONFIG_FT_PROC_FS -DCONFIG_FT_STD_FDC_0 -DCONFIG_FT_AUTO_0=1
-DCONFIG_FTAPE_MODULE -DCONFIG_FT_INTERNAL_MODULE
-DCONFIG_FT_TRAKKER_MODULE -DCONFIG_FT_BPCK_MODULE -DCONFIG_ZFTAPE_MODULE
-DCONFIG_ZFT_COMPRESSOR_MODULE -DMODULE -D__KERNEL__ -I. -I../../include
-I/usr/src/linux/include -c fdc-io.c
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
`/home/scott.petrack/src/ftape-4.03-pre-2/ftape/lowlevel'
make[1]: *** [modules] Error 2
make[1]: Leaving directory
`/home/scott.petrack/src/ftape-4.03-pre-2/ftape'
make: *** [all] Error 2
The offending line is line 433:
current->timeout = jiffies + (1000 * time + FT_USPT - 1) / FT_USPT;
And as far as I can tell, "current" is a task_struct (task_structs are
defined in /usr/src/linux/include/linux/sched.h) and indeed task_structs
contain no member called "timeout." The file sched.h had nothing in it to
describe itself, so I can only assume that it is of the correct 2.2.2
version. Here are it's various checks:
[root@petrack linux]# ls -l sched.h
-rw-r--r-- 1 root root 19861 Mar 28 02:57 sched.h
[root@petrack linux]# sum sched.h
14199 20
[root@petrack linux]# cksum sched.h
1654420092 19861 sched.h
Please help me!
Also, if there is a Web or usenet interface to the linux-tape mailing
list I would appreciate a URL. I have joined the mailing list for
this question, but I would much have preferred to just look at
an archive in usenet news or on the Web. Thanks.
Sorry if all this is very unprofessional.
Scott