LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-11-2003, 04:51 PM   #1
vijayaramanl
LQ Newbie
 
Registered: Sep 2003
Location: Houston, TX
Distribution: Mandrake 9.2
Posts: 20

Rep: Reputation: 0
Bttv: make does not work for me


Hallo people,

I have a Pinnacle PCTV installed in my Redhat 9.0 kernel 2.4.20-8 linux box. I am unable to watch tv in linux eventhough it works in my XP. I tried both Xawtv and tvtime. After going through many of messages in this forum and some googling I found a thread that said I need to install the latest bttv driver. I have downloaded and untarred and when I do "make" I am getting the below error. Can someone please help?


[root@localhost vijay]# cd bttv-0.7.107
[root@localhost bttv-0.7.107]# make
make -C driver default
make[1]: Entering directory `/home/vijay/bttv-0.7.107/driver'
make -C /lib/modules/2.4.20-8/build SUBDIRS=/home/vijay/bttv-0.7.107/driver modules
make[2]: Entering directory `/usr/src/linux-2.4.20-8'
make -r -f tmp_include_depends all
make[3]: Entering directory `/usr/src/linux-2.4.20-8'
touch: creating `/usr/src/build/231485-i386/install/usr/src/linux-2.4.20-8/fs/jfs/jfs_debug.h': No such file or directory
make[3]: *** [/usr/src/build/231485-i386/install/usr/src/linux-2.4.20-8/fs/jfs/jfs_debug.h] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.20-8'
make[2]: *** [tmp_include_depends] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.20-8'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/vijay/bttv-0.7.107/driver'
make: *** [default] Error 2

Thank you.
 
Old 10-13-2003, 04:17 AM   #2
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
Do you have the kernel source code installed? The bttv driver code uses the include files from there. Note that the kernel source package you install has to match the kernel version you are running.

P.S. it is pretty surprising that RH9 did not detect your TV card during installation. Also have you tried just 'modprobe bttv' (as root). Surely RH provide this driver??

Last edited by maroonbaboon; 10-13-2003 at 04:21 AM.
 
Old 10-13-2003, 05:17 PM   #3
vijayaramanl
LQ Newbie
 
Registered: Sep 2003
Location: Houston, TX
Distribution: Mandrake 9.2
Posts: 20

Original Poster
Rep: Reputation: 0
Thanks for the response.

You are right, when I installed the RH9 bttv was there. However, the bttv version was 0.7.96. I tried many things and finally saw a thread which said the problem is the Pinnacle PCTV uses latest chip and needs a bttv driver later than this. This is how I was venturing into compiling the bttv-0.7.107.

I have the source files under /usr/src/linux-2.4.20-8 directory, which is same as the kernel version. I have not compiled or modified another kernel, so I guess both are same.

modprobe bttv loads the already installed driver which bttv-0.7.96. I need to first make and install the bttv-0.7.107 which I do not know how to do.

What I am wondering is the first error message which says `/usr/src/build/231485-i386/install/usr/src/linux-2.4.20-8/fs/jfs/jfs_debug.h'

I do not have any directory with this /usr/src/build/231485-i386 appearing in above error?
 
Old 10-14-2003, 06:32 AM   #4
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
Did you run './configure' before 'make'? Your compiler seems to have a strange idea about where the include files are. Did you get the bttv package from its home site?
 
Old 10-14-2003, 08:53 AM   #5
vijayaramanl
LQ Newbie
 
Registered: Sep 2003
Location: Houston, TX
Distribution: Mandrake 9.2
Posts: 20

Original Poster
Rep: Reputation: 0
When I run ./configure it says no such file or directory. Where should I run this? Under the tarball extract directory bttv-0.7.107, right?

I got the bttv package from their homepage only.
 
Old 10-14-2003, 09:03 AM   #6
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
Yes - untar the bttv source, cd into the top directory and run './configure'. You can set various compiler options by adding arguments to ./configure. Should be more details in the source documentation if necessary.
 
Old 10-14-2003, 10:57 AM   #7
vijayaramanl
LQ Newbie
 
Registered: Sep 2003
Location: Houston, TX
Distribution: Mandrake 9.2
Posts: 20

Original Poster
Rep: Reputation: 0
I did run ./configure in bttv-0.7.107 (topdir). But I get the error no such file or directory. Any more ideas? Thanks
 
Old 10-14-2003, 11:22 PM   #8
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
I just looked at the bttv source code package, and see now there is in fact no configuration script. But if you look at the bottom of the README file, it does say to cd to the top of the kernel source and run 'make config'. I don't know where RH puts the kernel source. You could try

% find /usr -type d -name kernel -print

to find the 'kernel' subdir of the top source directory.

Are you sure the Pinnacle still uses the bt family chip? They all used to use that, but now there are some Philips and maybe others around.
 
Old 10-17-2003, 02:46 PM   #9
vijayaramanl
LQ Newbie
 
Registered: Sep 2003
Location: Houston, TX
Distribution: Mandrake 9.2
Posts: 20

Original Poster
Rep: Reputation: 0
Thanks for your help. I give up now I messed up my kernel, I suppose. I will try another distro, perhaps I could watch TV there.
 
Old 10-17-2003, 06:23 PM   #10
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
you will NOT need to install any drivers manually, i guess you've simply not got the driver loaded. if you try "modprobe bttv" that should load the bttv driver, and hopefully xawtv will then work striaght away.
 
Old 10-20-2003, 12:54 PM   #11
vijayaramanl
LQ Newbie
 
Registered: Sep 2003
Location: Houston, TX
Distribution: Mandrake 9.2
Posts: 20

Original Poster
Rep: Reputation: 0
Hi Chris,

It was not a simple modprobe issue. I could see bttv listed under lsmod. Nevermind. I gave a good toast to my system and installed Mandrake 9.2. The TV works fine. RH was a nightmare compared to MDK. Anyway, thanks for you folks.... (till I have another issue bug me)
 
  


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
Trying to make mod_ssl work - virtualhosts make trouble Belize Linux - Software 0 02-26-2005 09:30 PM
How do I make a change to a current kernel? Would 'make oldconfig' work... jtp51 Slackware 11 11-02-2004 12:02 AM
configure, make and make install commands don't work for me Fenster Fedora 8 08-18-2004 11:58 AM
BTTV Won't work Igman Linux - Software 1 07-20-2004 04:25 AM
'make' and 'make install' commands dont work on my system? ginda Linux - Newbie 9 04-18-2004 12:17 PM


All times are GMT -5. The time now is 09:24 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration