Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 12-05-2008, 03:01 PM   #1
LQ Newbie
Registered: Dec 2003
Posts: 10

Rep: Reputation: 0
Problem compiling ivtv-0.10.6 against

hi everyone--

I'm running into one of the fairly common compiling problems... but I'm not good at compiling!

Here's the system:

I'm trying to get a Hauppage PVR-350 card working to just view TV
(MythTV is installed, and I might start using it, but the gameplan
is primarily just to watch TV first)

ivtv-0.10.6 (apparently this is best for the PVR-350 cards
according to's wiki)


uname -a
Linux #1 SMP Wed Nov 26 07:40:57 EST 2008 i686 i686 i386 GNU/Linux

So I'm running the same kernel that I have -devel and -headers installed for.

The instructions to compile ivtv from sources are:

tar -zxf ivtv-0.10.0.tar.gz
cd ivtv-0.10.0/
su -c "make install" or sudo make install

However, when I do a "make" I get this:
make -C driver all
make[1]: Entering directory `/root/software/ivtv/ivtv-0.10.6/driver'
make -C /lib/modules/ M=/root/software/ivtv/ivtv-0.10.6/driver modules
make: Entering an unknown directory
make: *** /lib/modules/ No such file or directory. Stop.
make: Leaving an unknown directory
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/software/ivtv/ivtv-0.10.6/driver'
make: *** [all] Error 2

That says that
does not exist

Here's an ls

[root@media1]# ls -la
total 1336
drwxr-xr-x 6 root root 4096 Dec 4 22:20 .
drwxr-xr-x 4 root root 4096 Dec 4 22:20 ..
lrwxrwxrwx 1 root root 60 Dec 4 22:20 build -> ../../../usr/src/kernels/

Build is a symlink.

Notice that it's WRONG.
It's referring to

However. the actual directory is

centos-plus is NOT actually part of the directory name, yet the symlink that gets built is.

I thought I'd post this since I bet LOTS of folks have had build problems because of this.

Maybe now some of them will trip over this post and resolve their issue.
Old 12-05-2008, 03:04 PM   #2
LQ Newbie
Registered: Dec 2003
Posts: 10

Original Poster
Rep: Reputation: 0
OK, so now I do have a question about the next bit of install directions for IPTV

Under a section called "udev rules"

udev versions before 098
You're looking for the ID parameter (if you're clever you can just use lspci to get this). Write your udev rule as follows

DRIVER=="ivtv", SYSFS{name}=="ivtv? encoder MPEG", ID=="id", SYMLINK+="name"


DRIVER=="ivtv", SYSFS{name}=="ivtv? encoder MPEG", ID=="0000:02:08.0", SYMLINK+="pvr_500_1"

WHAT are they talking about here?

I've never messed with udev before, and have no idea where to PUT a 'udeve rule' or whether I even need to do this?
Old 12-06-2008, 01:44 PM   #3
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,325

Rep: Reputation: 3583Reputation: 3583Reputation: 3583Reputation: 3583Reputation: 3583Reputation: 3583Reputation: 3583Reputation: 3583Reputation: 3583Reputation: 3583Reputation: 3583
# 1 " /lib/modules/ "
> > 'build' is a symlink to /usr/src/kernels/2.xx.xx...
This is the first thing to do. ( May work, the kernel-devel
is a limited package, contains very few files. )

Else go to the next possible move :

" yum install kernel-source-`uname -r` " will do if a package is
available ( there isn't any for my CentOS-5.2, being 2.6.18-92.el5 )

A very few other source packages can be found, example
> > e.g.
which will install ( unpack to ) /usr/src/redhat/SOURCES

The "tar.bz2" can then be unpacked your /home (/root is
not a recommended place to do anything), patches applied etc.

An update seems an idea, I have one running now, but the
kernel-devel version coming in is 2.6.18-92.1.18, so that
makes no real differece for the source.


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
CentOS 5.2 Linux Kernel 2.6.18-92.1.10.el5 - Cannot Load e1000e driver jreige Linux - Hardware 1 09-18-2008 01:57 PM
Installing ivtv on CentOS 5 Linux31 Red Hat 5 04-25-2008 06:44 PM
problem with iptables afer compiling from on centos 5.1 tanch Linux - Newbie 4 03-03-2008 01:22 AM
IVTV module failing while compiling from Mandriva urpmi Mikel Sevrel Linux - Software 2 05-20-2006 12:01 AM
error compiling ivtv in KnoppMyth newmoon Linux - General 11 05-13-2005 12:27 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:14 AM.

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