LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 11-14-2005, 07:00 PM   #1
RRolleston
Member
 
Registered: Dec 2004
Location: Granville, NY
Distribution: Debian
Posts: 41

Rep: Reputation: 15
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.
 
Old 11-14-2005, 08:11 PM   #2
Ygrex
Member
 
Registered: Nov 2004
Location: Russia (St.Petersburg)
Distribution: Debian
Posts: 666

Rep: Reputation: 68
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?
 
Old 11-14-2005, 09:08 PM   #3
RRolleston
Member
 
Registered: Dec 2004
Location: Granville, NY
Distribution: Debian
Posts: 41

Original Poster
Rep: Reputation: 15
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#
 
Old 11-14-2005, 09:24 PM   #4
Ygrex
Member
 
Registered: Nov 2004
Location: Russia (St.Petersburg)
Distribution: Debian
Posts: 666

Rep: Reputation: 68
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.
 
Old 11-15-2005, 12:29 AM   #5
RRolleston
Member
 
Registered: Dec 2004
Location: Granville, NY
Distribution: Debian
Posts: 41

Original Poster
Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
BZFlag missing gl.h compile error Moloko Debian 1 10-22-2005 10:18 AM
modem: missing modversions.h pimpinella Linux - Hardware 1 03-05-2005 03:05 AM
Trying to install linmodemn driver but missing file modversions.h jimdaworm Slackware 9 02-24-2004 11:25 AM
Configuring modem - modversions.h is missing drcyber Linux - Newbie 15 11-02-2003 09:50 AM
error: modversions.h missing bugsbunny Linux - Newbie 8 01-31-2003 12:16 PM


All times are GMT -5. The time now is 03:23 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration