Go Back   openSUSE Forums > Archives > SF Archives > ARCHIVES - Software
Forums FAQ Members List Search Today's Posts Mark Forums Read

ARCHIVES - Software Questions about use, installation, or configuration of software running on SUSE Linux

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 25-Dec-2005, 15:14
cwaltrs
Guest
 
Posts: n/a
Default

I'm following a fairly simply set of instructions to install ivtv drivers under SuSE 10.0. I get an error when running the make command:

mythtv@linux:~> cd ivtv-0.4.1/
mythtv@linux:~/ivtv-0.4.1> make
make -C driver all
make[1]: Entering directory `/home/mythtv/ivtv-0.4.1/driver'
make -C /lib/modules/2.6.13-15.7-default/build M=/home/mythtv/ivtv-0.4.1/driver modules
make[2]: Entering directory `/usr/src/linux-2.6.13-15.7-obj/i386/default'
make[2]: *** No rule to make target `modules'. Stop.
make[2]: Leaving directory `/usr/src/linux-2.6.13-15.7-obj/i386/default'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/mythtv/ivtv-0.4.1/driver'
make: *** [all] Error 2

FYI, the contents of the `/usr/src/linux-2.6.13-15.7-obj/i386/default' (referenced in the output above):

linux:/usr/src/linux-2.6.13-15.7-obj/i386/default # ls -l
total 248
drwxr-xr-x 2 root root 80 2005-12-22 22:08 .
drwxr-xr-x 3 root root 72 2005-12-22 22:08 ..
-rw-r--r-- 1 root root 251294 2005-11-29 16:53 Module.symvers

The Module.symvers file is huge, not sure what to look for.

I've never had a make problem before. I'm sure I've got the kernel-source loaded.

Here's the contents of my /usr/src:

linux:/usr/src # ls -l
total 1
drwxr-xr-x 7 root root 288 2005-12-25 15:30 .
drwxr-xr-x 12 root root 344 2005-12-22 20:37 ..
drwxr-xr-x 22 root root 672 2005-12-24 22:33 kernel-modules
lrwxrwxrwx 1 root root 17 2005-12-25 15:30 linux -> linux-2.6.13-15.7
drwxr-xr-x 19 root root 752 2005-12-25 15:30 linux-2.6.13-15.7
drwxr-xr-x 3 root root 72 2005-11-29 15:39 linux-2.6.13-15.7-obj
drwxr-xr-x 3 root root 72 2005-12-25 15:30 linux-2.6.13-15.ck6.SUPER.1
lrwxrwxrwx 1 root root 21 2005-12-25 15:30 linux-obj -> linux-2.6.13-15.7-obj
drwxr-xr-x 7 root root 168 2005-12-22 20:39 packages

Not sure what else to do. I'm very new to SuSe and fairly new to Linux altogether.

Thanks and Happy Holidays!
Charlie
  #2 (permalink)  
Old 25-Dec-2005, 20:00
harryc
Guest
 
Posts: n/a
Default

Post the results of the following commands run from konsole;

Code:
rpm -qa | grep kernel
Code:
uname -a
  #3 (permalink)  
Old 25-Dec-2005, 20:27
cwaltrs
Guest
 
Posts: n/a
Default

Quote:
Originally posted by harryc@Dec 25 2005, 10:00 PM
Post the results of the following commands run from konsole;

Code:
rpm -qa | grep kernel
Code:
uname -a
[snapback]107420[/snapback]
chas@linux:~> rpm -qa | grep kernel
kernel-default-nongpl-2.6.13-15.7
kernel-default-2.6.13-15.7
kernel-source-2.6.13-15.7
kernel-update-tool-0.9-10
kernel-docs-2.6.13-15

chas@linux:~> uname -a
chas@linux:~> uname -a
Linux linux 2.6.13-15.7-default #1 Tue Nov 29 14:32:29 UTC 2005 i686 i686 i386 GNU/Linux

Thanks for the help Harryc!
  #4 (permalink)  
Old 26-Dec-2005, 04:18
harryc
Guest
 
Posts: n/a
Default

From the IVTV FAQ. Did you read it?

* Symlink /usr/include/linux to /usr/src/linux/include/linux

[root@host]# mv /usr/include/linux /usr/include/linux.old
[root@host]# ln -s /usr/src/linux/include/linux /usr/include/linux


http://ivtv.sourceforge.net/FAQ.html#_jump09a

..and also a howto

http://ivtvdriver.org/index.php/Howto

Also in general, here's some advice that will help you. If a project has a mailing list, you will always get more accurate (and quicker) answers if you join it vs. on a forum like this one...unless you get lucky and someone else has just installed it and remembers exactly what they did.

http://ivtvdriver.org/index.php/Mailinglists
  #5 (permalink)  
Old 27-Dec-2005, 14:02
cwaltrs
Guest
 
Posts: n/a
Default

Quote:
Originally posted by harryc@Dec 26 2005, 06:18 AM
From the IVTV FAQ. Did you read it?

* * * Symlink /usr/include/linux to /usr/src/linux/include/linux

* * * [root@host]# mv /usr/include/linux /usr/include/linux.old
* * * [root@host]# ln -s /usr/src/linux/include/linux /usr/include/linux
http://ivtv.sourceforge.net/FAQ.html#_jump09a

..and also a howto

http://ivtvdriver.org/index.php/Howto

Also in general, here's some advice that will help you. If a project has a mailing list, you will always get more accurate (and quicker) answers if you join it vs. on a forum like this one...unless you get lucky and someone else has just installed it and remembers exactly what they did.

http://ivtvdriver.org/index.php/Mailinglists
[snapback]107449[/snapback]
HarryC,
I appreciate your suggestions. I was using the howto, but I wasn't sure whether or not to trust the FAQ because it's from 2003. As a newbie, the biggest challenge I find is how to determine the relevance of all the info that's available. Some info is simply old, so perhaps it doesn't apply to the current kernel. Often, the info is for other distros, so it's anyone's guess whether it's applicable. I'm always worried about making a change that really messed things up because I don't have any skill in recovering from problems. I will use the mailing list, it seems like the best way to get pertinent info.
Thanks,
Charlie
  #6 (permalink)  
Old 27-Dec-2005, 20:06
harryc
Guest
 
Posts: n/a
Default

Ok, good luck. BTW, this should work on SUSE, and is easily reversible if it doesn't. It's simply moving one folder (linux to linux.old) to back it up and then creating a symlink. Harmless really, but it might have fixed your build problem. If it doesn't, move it back and delete the symlink. .

* Symlink /usr/include/linux to /usr/src/linux/include/linux

[root@host]# mv /usr/include/linux /usr/include/linux.old
[root@host]# ln -s /usr/src/linux/include/linux /usr/include/linux
 

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2