LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 02:30 AM   #1
rrrssssss
Member
 
Registered: Mar 2005
Posts: 266

Rep: Reputation: 32
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, 05: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: 66
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, 11:58 AM   #3
rrrssssss
Member
 
Registered: Mar 2005
Posts: 266

Original Poster
Rep: Reputation: 32
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 12:08 PM.
 
Old 01-12-2006, 02:04 PM   #4
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513

Rep: Reputation: 64
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, 02: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: 66
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, 03:10 PM   #6
rrrssssss
Member
 
Registered: Mar 2005
Posts: 266

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


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


All times are GMT -5. The time now is 09:08 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration