LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (http://www.linuxquestions.org/questions/debian-26/)
-   -   ftape missing modversions.h compile error. (http://www.linuxquestions.org/questions/debian-26/ftape-missing-modversions-h-compile-error-383176/)

RRolleston 11-14-2005 07:00 PM

ftape missing modversions.h compile error.
 
ftape missing modversions.h compile error.

I thought I would change the topic of my question to get more help

I'm trying to build the ftape drivers for my iomega parallel port ditto drive. And I get the following error.

../../include/linux/modftversions.h:10: linux/modversions.h: No such file or directory

uname -a

Linux debian 2.6.8-2-686 #1 Thu May 19 17:53:30 JST 2005 i686 GNU/Linux

I have the kernel source and kernel headers installed.

Here is a page that I found with some info

http://www.linuxtapecert.org/parallelport_ftape.html

Any help would be greatly appreciated.

Ygrex 11-14-2005 08:11 PM

I just checked out whether I have either "include/linux/modftversions.h" or "linux/modversions.h" - I do not. Do you write them and they cannot find each other? Or what your actions produce this error?

RRolleston 11-14-2005 09:08 PM

I'm trying to compile ftape here is the error that I keep getting

debian:/usr/src/ftape-4.04a# make
for i in ftape ; do make -C $i all ; done
make[1]: Entering directory `/usr/src/ftape-4.04a/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.04a/ftape/lowlevel'
make[2]: Nothing to be done for `versions'.
make[2]: Leaving directory `/usr/src/ftape-4.04a/ftape/lowlevel'
make[2]: Entering directory `/usr/src/ftape-4.04a/ftape/internal'
make[2]: Nothing to be done for `versions'.
make[2]: Leaving directory `/usr/src/ftape-4.04a/ftape/internal'
make[2]: Entering directory `/usr/src/ftape-4.04a/ftape/parport'
make[2]: Nothing to be done for `versions'.
make[2]: Leaving directory `/usr/src/ftape-4.04a/ftape/parport'
make[2]: Entering directory `/usr/src/ftape-4.04a/ftape/zftape'
make[2]: Nothing to be done for `versions'.
make[2]: Leaving directory `/usr/src/ftape-4.04a/ftape/zftape'
make[2]: Entering directory `/usr/src/ftape-4.04a/ftape/compressor'
make[2]: Nothing to be done for `versions'.
make[2]: Leaving directory `/usr/src/ftape-4.04a/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.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=686 -DMODULE -DMODVERSIONS -include ../../include/linux/modftversions.h -DEXPORT_SYMTAB -c ftape_syms.c
In file included from ftape_syms.c:1:
../../include/linux/modftversions.h:10: linux/modversions.h: No such file or directory
make[2]: *** [ftape_syms.o] Error 1
make[2]: Leaving directory `/usr/src/ftape-4.04a/ftape/lowlevel'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/ftape-4.04a/ftape'
make: *** [all] Error 2
debian:/usr/src/ftape-4.04a#

Ygrex 11-14-2005 09:24 PM

Does ftape includes file modversions.h? (find /usr/src/ftape-4.04a/include -name modversions.h) If it does, then create a symlink to it within the /usr/src/ftape-4.04a/include/linux; otherwise (and I think it is better, try this step firstly, and the previus if this fails) you can find this file in the kernel source (include/config/modversions.h), try to create a symlink to it.

RRolleston 11-15-2005 12:29 AM

Symlinking to modversions.h creates pages of errors after working a long time to fix all the missing files it still don't compile and gives me pages full of errors.

If there is anyone that has dealt with this driver please let me know how you got it working


All times are GMT -5. The time now is 01:22 PM.