Greetings,

        I got past the earlier compilation problems I was having on
Linux-2.1.130/AXP by using a suggestion from David Miller.  There are
certain compiler flags needed on Alpha which are not being defined in the
ftape MCONFIG/Makefile.  I added this:

ifdef CONFIG_ALPHA_EV4
KERNEL_OPT     += -mno-fp-regs -ffixed-8
endif

to the end of the processor-specific options and I get further.  I assume
the mno-fp-regs does the trick.  Now I'm dieing here:

make[2]: Entering directory `/usr/src/ftape-4.02/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_INT_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 -DMODVERSIONS -include
/usr/src/linux/include/linux/modversions.h -include
../../include/linux/modversions.h -D__KERNEL__ -I. -I../../include
-I/usr/src/linux/include -mno-fp-regs -ffixed-8  -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.02/ftape/lowlevel'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/ftape-4.02/ftape'
make: *** [all] Error 2

Examining the code and comparing it to the (cleanly compiling but
nevertheless broken) ftape-3.04 in the stock 2.1.130 kernel sheds some
light; obviously struct task_struct has undergone some changes in the 2.1
kernel.  This problem should affect 2.1.late people trying to use
ftape-4.late on any architecture.  I will take another look later this
weekend, unless someone beats me to it (please!) :)

cheers,
-bp
--
B. James Phillippe      . [EMAIL PROTECTED]
Linux Engineer/Admin    . http://www.terran.org/~bryan
Member since 1.1.59     . finger:[EMAIL PROTECTED]

Reply via email to