LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-12-2006, 01:30 AM   #1
rrrssssss
Member
 
Registered: Mar 2005
Posts: 288

Rep: Reputation: 34
Aren't Updates Backwards Compatable?


Hello forum,

I am trying to install ivtv 4.1 from a tarball and I get a fatal error message before it even starts good. The readme says use make, then make install.

[root@localhost ivtv-0.4.0]# make
make -C driver all
make[1]: Entering directory `/home/roy/Documents/ivtv-0.4.0/driver'
created ivtv-svnversion.h
make CONFIG_VIDEO_IVTV=m -C /lib/modules/2.6.12-12mdksmp/build M=/home/roy/Documents/ivtv-0.4.0/driver modules
make: *** /lib/modules/2.6.12-12mdksmp/build: No such file or directory. Stop.
make: Entering an unknown directorymake: Leaving an unknown directorymake[1]: *** [all] Error 2
make[1]: Leaving directory `/home/roy/Documents/ivtv-0.4.0/driver'
make: *** [all] Error 2

What gets me is that last month, ivtv installed perfectly without a glitch. The only thing that has changed since then is I downloaded some updates for Mandriva 2006. Are not the updates backwards compatable with older versons of the same files?

Roy
 
Old 01-12-2006, 04:29 AM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Does the /lib/modules/2.6.12-12mdksmp/build directory exist? If you type uname -r does it output 2.6.12-12mdksmp or some different version?
 
Old 01-12-2006, 10:58 AM   #3
rrrssssss
Member
 
Registered: Mar 2005
Posts: 288

Original Poster
Rep: Reputation: 34
Hello jtshaw,

Thanks for the reply.

When I type uname -r, it shows I have 2.6.12-12mdksmp, the same version I had before I downloaded the updates:

bash-3.00$ uname -r
2.6.12-12mdksmp
bash-3.00$




And the build directory does not exist where running make says it should.

I am at a permanent dead end unless someone is kind enough to show me the way.


Roy

Last edited by rrrssssss; 01-12-2006 at 11:08 AM.
 
Old 01-12-2006, 01:04 PM   #4
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by rrrssssss
Hello jtshaw,

Thanks for the reply.

When I type uname -r, it shows I have 2.6.12-12mdksmp, the same version I had before I downloaded the updates:

bash-3.00$ uname -r
2.6.12-12mdksmp
bash-3.00$




And the build directory does not exist where running make says it should.

I am at a permanent dead end unless someone is kind enough to show me the way.


Roy
You need the kernel source or headers installed depending on which the driver needs/Mandriva provides for building kernel modules. I would suggest searching your packages as to which is available and install.
 
Old 01-12-2006, 01:36 PM   #5
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
The /lib/modules/<version-number>/build directory is almost always a symlink to the kernel source that is traditionaly stored in /usr/src.

If you have the kernel source then just create the link, if not install the mandrake kernel source package for the version of the kernel you have.
 
Old 01-12-2006, 02:10 PM   #6
rrrssssss
Member
 
Registered: Mar 2005
Posts: 288

Original Poster
Rep: Reputation: 34
Thank You

Dumb me, dumb me.

After I did a clean install of Mandriva a couple of weeks ago, I inadvertently installed the wrong version of the kernel source. I installed 2.6-2.6.12-14mdk when it should have been 2.6-2.6.12-12mdk. The kernel version number and the source version number must match perfectly.

Allow me to thank jtshaw and HappyTux for guiding me in the right direction. I usually try to get help from the Google search engine or from the Docs and readme's before I post here. Whenever I post here, know that I have exhausted myself of all of my resources elsewhere.

Roy
 
  


Reply



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
Time goes backwards DoubleLetter Linux - General 6 11-02-2007 05:38 PM
Grub: A Backwards question linda Linux - General 3 07-16-2005 02:54 PM
are KDE themes backwards compatable? MadSkillzMan Linux - General 1 07-30-2004 09:26 PM
Backwards Clustering? ImpactDNI Linux - Networking 6 06-29-2004 02:44 PM
move backwards alaios Linux - General 1 03-14-2004 02:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration