I don't know much about Linux but I would like to get this box backed up
and I can't seem to get through 'make' and 'make install' without
errors. I can't find any documentation about the error numbers
returned.
I'm using a Compaq Pentium Pro 200 box with 2 processors, but NOT
running the SMP kernel because Linux won't recognize there are 2
processors. Tape drive is a parallel port Colorado Trakker 350.
Kernel 2.2.12-20
Ftape 4.03-Pre-2
Follows is 'Mconfig' text with all commented out lines removed except 3
comment lines I added before the first 'if' section. I'm not sure
whether or not the '/.config' files mentioned in 'Mconfig' are the files
I have or not. Should I edit the lines after my comments beginning
'ifeq .....' and 'include ....' to replace the variables with
'/usr/src/linux/configs/kernel-2.2.12-i686.config'? What exactly should
these lines say? Are any wildcards involved?
LINUX_LOCATION = /usr/src/linux
KERNEL_VERSION = $$(grep UTS_RELEASE
$(LINUX_LOCATION)/include/linux/version.h|cut -d '"' -f 2)
MODULESDIR = /lib/modules/$(KERNEL_VERSION)/misc
PREFIX = /usr
SBINDIR = /sbin
BINDIR = $(PREFIX)/bin
INFODIR = $(PREFIX)/info
DOCDIR = $(PREFIX)/doc/ftape
MANDIR = $(PREFIX)/man
# Do the 7 'kernel-*.config' files in
# /usr/src/linux/configs
# work for the following section????
ifeq ($(LINUX_LOCATION)/.config,$(wildcard $(LINUX_LOCATION)/.config))
include $(LINUX_LOCATION)/.config
else
CONFIG_M686=y
CONFIG_PROC_FS=y
CONFIG_MODULES=y
endif
FDC_OPT :=
STD_DEV=0
MACH2_DEV=0
FC10_DEV=0
82078_DEV=0
TRAKKER_DEV=0
FDC_OPT += -DCONFIG_FT_FDC_PARPORT_$(TRAKKER_DEV)=-1 \
-DCONFIG_FT_PAR_$(TRAKKER_DEV)=1 \
-DCONFIG_FT_TRAKKER_$(TRAKKER_DEV)=1
BPCK_DEV=0
FTAPE_OPT = -DTHE_FTAPE_MAINTAINER=\"[EMAIL PROTECTED]\"
FTAPE_OPT += -DBROKEN_FLOPPY_DRIVER
FTAPE_OPT += -DCONFIG_FT_PROC_FS
# No changes were made beyond this point as per instructions.
And then the console output the 2nd time I tried to run 'make' and 'make
install'. Same errors as the first time I tried 'make' and 'make
install'.
[root@gateway ftape-4.03-pre-2]# make
for i in ftape ; do make -C $i all ; done
make[1]: Entering directory `/installs/ftape-4.03-pre-2/ftape'
for i in setup lowlevel internal parport zftape compressor; \
do \
make -C $i NODEP=true versions; \
done
make[2]: Entering directory `/installs/ftape-4.03-pre-2/ftape/setup'
make[2]: Nothing to be done for `versions'.
make[2]: Leaving directory `/installs/ftape-4.03-pre-2/ftape/setup'
make[2]: Entering directory `/installs/ftape-4.03-pre-2/ftape/lowlevel'
make[2]: Nothing to be done for `versions'.
make[2]: Leaving directory `/installs/ftape-4.03-pre-2/ftape/lowlevel'
make[2]: Entering directory `/installs/ftape-4.03-pre-2/ftape/internal'
make[2]: Nothing to be done for `versions'.
make[2]: Leaving directory `/installs/ftape-4.03-pre-2/ftape/internal'
make[2]: Entering directory `/installs/ftape-4.03-pre-2/ftape/parport'
make[2]: Nothing to be done for `versions'.
make[2]: Leaving directory `/installs/ftape-4.03-pre-2/ftape/parport'
make[2]: Entering directory `/installs/ftape-4.03-pre-2/ftape/zftape'
make[2]: Nothing to be done for `versions'.
make[2]: Leaving directory `/installs/ftape-4.03-pre-2/ftape/zftape'
make[2]: Entering directory
`/installs/ftape-4.03-pre-2/ftape/compressor'
make[2]: Nothing to be done for `versions'.
make[2]: Leaving directory `/installs/ftape-4.03-pre-2/ftape/compressor'
set -e; for i in setup lowlevel internal parport zftape compressor; do
make -C
$i modules; done
make[2]: Entering directory `/installs/ftape-4.03-pre-2/ftape/setup'
make[2]: Nothing to be done for `modules'.
make[2]: Leaving directory `/installs/ftape-4.03-pre-2/ftape/setup'
make[2]: Entering directory `/installs/ftape-4.03-pre-2/ftape/lowlevel'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
-fno-strength-reduce -DT
HE_FTAPE_MAINTAINER=\"[EMAIL PROTECTED]\"
-DBROKEN_FLOPPY_DRIVER -DCONF
IG_FT_PROC_FS -DCONFIG_FT_FDC_PARPORT_0=-1 -DCONFIG_FT_PAR_0=1
-DCONFIG_FT_TRAK
KER_0=1 -DCONFIG_FTAPE_MODULE -DCONFIG_FT_INTERNAL_MODULE
-DCONFIG_FT_TRAKKER_
MODULE -DCONFIG_FT_BPCK_MODULE -DCONFIG_ZFTAPE_MODULE
-DCONFIG_ZFT_COMPRESSOR_MO
DULE -DMODULE -D__KERNEL__ -I. -I../../include -I/usr/src/linux/include
-m486 -m
align-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686
-DTHE_FTAPE_MAINTAI
NER=\"[EMAIL PROTECTED]\" -DBROKEN_FLOPPY_DRIVER
-DCONFIG_FT_PROC_FS -
DCONFIG_FT_FDC_PARPORT_0=-1 -DCONFIG_FT_PAR_0=1
-DCONFIG_FT_TRAKKER_0=1 -DCONF
IG_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 -m486
-malign-loops=2 -m
align-jumps=2 -malign-functions=2 -DCPU=686 -c fdc-io.c -o fdc-io.o
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 `/installs/ftape-4.03-pre-2/ftape/lowlevel'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/installs/ftape-4.03-pre-2/ftape'
make: *** [all] Error 2
[root@gateway ftape-4.03-pre-2]# make install
for i in ftape ; do make -C $i NODEP=true install ; done
Output same as above for 'make'
I would appreciate any help you have to offer.
Thanks,
Dave Sedlak