I have run into a minor bug.  While building 4.03-pre2 I received this
error:

make[2]: Entering directory `/usr/src/ftape-4.03-pre-2/ftape/lowlevel'
gcc -Wall -Wstrict-prototypes -O2  -fomit-frame-pointer
-fno-strength-reduce
-DTHE_FTAPE_MAINTAINER=\"[EMAIL PROTECTED]\"
-DBROKEN_FLOPPY_DRIVER -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 `/usr/src/ftape-4.03-pre-2/ftape/lowlevel'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/ftape-4.03-pre-2/ftape'
make: *** [all] Error 2


So I tried the 4.x-1998_12_20 (unstable) code.  Building this, I get
another error:

gcc -Wall -Wstrict-prototypes -O2  -fomit-frame-pointer
-fno-strength-reduce
-DTHE_FTAPE_MAINTAINER=\"[EMAIL PROTECTED]\"
-DBROKEN_FLOPPY_DRIVER -DCONFIG_FT_PROC_FS -DCONFIG_FT_FDC_BASE_0=0x370
-DCONFIG_FT_FDC_IRQ_0=5 -DCONFIG_FT_FDC_DMA_0=3 -DCONFIG_FT_NR_BUFFERS=3
-DCONFIG_FT_INT_0=1 -DCONFIG_FT_FDC_PARPORT_0=-1 -DCONFIG_FT_PAR_0=1
-DCONFIG_FT_TRAKKER_0=1 -DCONFIG_FT_FDC_PARPORT_0=-1 -DCONFIG_FT_PAR_0=1
-DCONFIG_FT_BPCK_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 -DZFT_OBSOLETE
-c zftape-init.c
zftape-init.c: In function `zft_open':
zftape-init.c:176: `mod_use_count_' undeclared (first use in this
function)
zftape-init.c:176: (Each undeclared identifier is reported only once
zftape-init.c:176: for each function it appears in.)
make[2]: *** [zftape-init.o] Error 1
make[2]: Leaving directory `/usr/src/ftape-4.x-1998_12_20/ftape/zftape'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/ftape-4.x-1998_12_20/ftape'
make: *** [all] Error 2

I am running the 2.2.0 kernel, using egcs-1.1.1.  The system is a K6
200MHz running on a Tyan Tomcat I 1562S, with 112 MB ram, 13 GB disk.  I
have 2 tape drives, an Iomega Ditto 420 (internal floppy connected) and
a parallel port Iomega dittoMax.

Now just for laughs, I pulled the 4.x versions of fdc-io over to
4.03pre2 and it gets past the problem and dies in ftape-io.c.  I did the
same thing with this, and with ftape-buffer.c as well.  This seems to
work for compilation.  I dont know if it will work.  More later.
-- 
Dr. Joseph Landman       [EMAIL PROTECTED] 
Computational Scientist  (remove the obvious to send email)

Reply via email to