compile failure on 2.4.18 kernel

[email protected] Fri, 07 Mar 2003 13:37:39 -0600
Newsgroups gmane.linux.tape
Message-ID <[email protected]>
I have a 2.4.18 kernel (a Suse 8.0 install) that causes ftape 4.04a to fail to 
compile.  Specifically I get:

make[2]: Entering directory `/home/kevin/ftape/ftape-4.04a/ftape/lowlevel'
In file included from ftape-buffer.c:28:
/usr/src/linux/include/linux/malloc.h:4: warning: #warning linux/malloc.h is 
deprecated, use linux/slab.h instead.
In file included from ftape-ctl.c:34:
/usr/src/linux/include/linux/malloc.h:4: warning: #warning linux/malloc.h is 
deprecated, use linux/slab.h instead.
In file included from fdc-io.c:39:
/usr/src/linux/include/linux/malloc.h:4: warning: #warning linux/malloc.h is 
deprecated, use linux/slab.h instead.
make[2]: Leaving directory `/home/kevin/ftape/ftape-4.04a/ftape/lowlevel'
make[2]: Entering directory `/home/kevin/ftape/ftape-4.04a/ftape/lowlevel'
gcc -Wall -Wstrict-prototypes -O2  -fomit-frame-pointer -fno-strength-reduce 
-D__KERNEL__ -I. -I../../include -I/usr/src/linux/include -m486 
-malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODULE 
-DEXPORT_SYMTAB -c ftape_syms.c
In file included from /usr/src/linux/include/linux/fs.h:12,
                  from /usr/src/linux/include/linux/capability.h:17,
                  from /usr/src/linux/include/linux/binfmts.h:5,
                  from /usr/src/linux/include/linux/sched.h:9,
                  from ../../include/linux/ftape.h:35,
                  from ftape_syms.c:32:
/usr/src/linux/include/linux/wait.h: In function `__add_wait_queue_tail':
/usr/src/linux/include/linux/wait.h:220: warning: implicit declaration of 
function `list_add_tail'
In file included from ftape-tracing.h:35,
                  from ftape_syms.c:33:
../lowlevel/ftape-init.h: In function `ft_sigtest':
../lowlevel/ftape-init.h:70: structure has no member named `signal'
../lowlevel/ftape-init.h:71: warning: control reaches end of non-void function
make[2]: *** [ftape_syms.o] Error 1
make[2]: Leaving directory `/home/kevin/ftape/ftape-4.04a/ftape/lowlevel'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/home/kevin/ftape/ftape-4.04a/ftape'
make: *** [all] Error 2


In checking out ftape-init.h:70, it appears that the task struct that's being 
referenced does not have the proper member.  I would guess that it's expecting 
2.2 kernel header files (not that I have a 2.2 machine to check).  Has anyone 
been able to make this work on a 2.4.18 kernel?

This is for an IOMega Ditto 2G on parallel port device, so from what I read, 
ftape v4.x is required.

TIA for any help!
Kevin

-
To unsubscribe from this list: send the line "unsubscribe linux-tape" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html