Compile Problems

"J Sushetski" <[email protected]> Mon, 6 May 2002 22:53:33 -0600
Newsgroups gmane.linux.tape
Message-ID <[email protected]>
Hi!  I'm running RedHat 7.1 on a 486 and I'm trying to get ftape working.
I've run through the MCONFIG file and I think that's set up ok.  Basically I
don't have a /usr/src/linux/.config file, so I've changed all mention of
that the /usr/src/linux-2.4/configs/kernel-2.4.2-i386.config and I've
changed the MODULESDIR to /lib/modules/2.4.2-2/drivers/char

Whenever I go to compile the program, I get the following output:


for i in ftape ; do make -C $i all ; done
make[1]: Entering directory `/usr/src/ftape-4.04/ftape'
for i in  lowlevel internal parport zftape compressor; \
do \
  make -C $i NODEP=true versions; \
done
make[2]: Entering directory `/usr/src/ftape-4.04/ftape/lowlevel'
make[2]: *** no rule to make target '/usr/src/linux-2.4/.config', needed by
'../../include/linux/autoconf.h'. Stop.
make[2]: Leaving directory `/usr/src/ftape-4.04/ftape/lowlevel'
make[2]: Entering directory `/usr/src/ftape-4.04/ftape/internal'
make[2]: Nothing to be done for `versions'.
make[2]: Leaving directory `/usr/src/ftape-4.04/ftape/internal'
make[2]: Entering directory `/usr/src/ftape-4.04/ftape/parport'
make[2]: Nothing to be done for `versions'.
make[2]: Leaving directory `/usr/src/ftape-4.04/ftape/parport'
make[2]: Entering directory `/usr/src/ftape-4.04/ftape/zftape'
make[2]: *** no rule to make target '/usr/src/linux-2.4/.config', needed by
'../../include/linux/autoconf.h'. Stop.
make[2]: Leaving directory `/usr/src/ftape-4.04/ftape/zftape'
make[2]: Entering directory `/usr/src/ftape-4.04/ftape/compressor'
make[2]: Nothing to be done for `versions'.
make[2]: Leaving directory `/usr/src/ftape-4.04/ftape/compressor'
set -e; for i in  lowlevel internal parport zftape compressor; do make -C $i
modules; done
make[2]: Entering directory `/usr/src/ftape-4.04/ftape/lowlevel'
make[2]: *** no rule to make target '/usr/src/linux-2.4/.config', needed by
'../../include/linux/autoconf.h'. Stop.
make[2]: Leaving directory `/usr/src/ftape-4.04/ftape/lowlevel'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/ftape-4.04/ftape'
make: *** [all] Error 2


What I don't understand is why it's still trying to make
/usr/src/linux-2.4/.config 3 times.  If I copy the kernel-2.4.2-i386.config
file to /usr/src/linux-2.4/.config, the error messages become pages long and
nothing works.  I'm fairly new to the linux scene and I don't understand
what I'm doing wrong here.  As far as I can tell, I've followed all the
directions properly.

Any help would be greatly appreciated.

thanks
jeff

-
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