View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 13 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Tue Sep 11, 2007 11:11 am 
Offline
Joined: Sat Feb 04, 2006 1:50 pm
Posts: 24
When trying to upgrade to svn on R5F27 my configure script kept telling me that it could not find the dvb headers, and that ivtv/v4l support would not be included. Looking into the headers folders in /usr/src/ I noticed that the the DVB, IVTV, and V4L headers were all sym links to files in the /root directory that are not there on a default install. Is there anyway to fix this, as I am not too experienced with playing with kernel headers. Thanks!


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 11, 2007 3:50 pm 
Offline
Site Admin
Joined: Fri Sep 19, 2003 6:37 pm
Posts: 2659
Location: Whittier, Ca
Get the "tip" from linuxtv.org and make kernel-links.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 12, 2007 5:32 am 
Offline
Joined: Sat Feb 04, 2006 1:50 pm
Posts: 24
Thanks cecil, i'll give that a try. Also, thanks for a great release as always, to you and the testers :)


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 01, 2007 8:48 pm 
Offline
Joined: Tue Aug 09, 2005 2:09 pm
Posts: 107
greend139 I seem to be having the same problem. Did you get this to work, and if so what steps did you take?

_________________
P4 1.6 GHz
1.2 GB RAM
Nvidia GeForce4 MX 4000
Hauppage PVR 500 MCE
Soundblaster Live
ATI Remote Wonder II


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 01, 2007 11:34 pm 
Offline
Joined: Sat Sep 02, 2006 1:46 pm
Posts: 44
It worked for me. Follow the instructions at http://linuxtv.org/repo/ for getting the latest v4l-dvb source (the "tip"). Once you download/unzip/un-tar the tarball, go into the directory that it created and as cecil said make kernel-links.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 02, 2007 6:05 am 
Offline
Joined: Tue Aug 09, 2005 2:09 pm
Posts: 107
did you have to make and make install in the v4l-dvb directory or just create the links?

_________________
P4 1.6 GHz
1.2 GB RAM
Nvidia GeForce4 MX 4000
Hauppage PVR 500 MCE
Soundblaster Live
ATI Remote Wonder II


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 02, 2007 10:52 pm 
Offline
Joined: Sat Sep 02, 2006 1:46 pm
Posts: 44
Just
Code:
make kernel-links.

All you are doing is creating symbolic links from the downloaded header files to the directory that the mythtv makefiles are expecting them to be. You don't need to compile anything. (Except for the mythtv source!)


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 03, 2007 9:26 pm 
Offline
Joined: Thu Nov 17, 2005 9:23 am
Posts: 18
jbm2131 wrote:
Just
Code:
make kernel-links.

All you are doing is creating symbolic links from the downloaded header files to the directory that the mythtv makefiles are expecting them to be. You don't need to compile anything. (Except for the mythtv source!)


I am sorry - I may be missing something here - I am having problems getting this to work -see error below - help please.

Quote:
/usr/src/v4l-dvb-b0a3a9b43d60# make kernel-links
make -C /usr/src/v4l-dvb-b0a3a9b43d60/v4l kernel-links
make[1]: Entering directory `/usr/src/v4l-dvb-b0a3a9b43d60/v4l'
cd ..; v4l/scripts/makelinks.sh /lib/modules/2.6.18-chw-13/source

usage: v4l/scripts/makelinks.sh <path_to_kernel_to_patch>

make[1]: Leaving directory `/usr/src/v4l-dvb-b0a3a9b43d60/v4l'


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 03, 2007 10:28 pm 
Offline
Joined: Sat Sep 02, 2006 1:46 pm
Posts: 44
Quote:
/usr/src/v4l-dvb-b0a3a9b43d60# make kernel-links
make -C /usr/src/v4l-dvb-b0a3a9b43d60/v4l kernel-links
make[1]: Entering directory `/usr/src/v4l-dvb-b0a3a9b43d60/v4l'
cd ..; v4l/scripts/makelinks.sh /lib/modules/2.6.18-chw-13/source

usage: v4l/scripts/makelinks.sh <path_to_kernel_to_patch>

make[1]: Leaving directory `/usr/src/v4l-dvb-b0a3a9b43d60/v4l'


When I run make kernel-links it does not try to link to /lib/modules/2.6.18-chw-13/source but to /lib/modules/2.6.18-chw-13/build, and this seems to work. Sounds like the Makefile is trying to guess where your kernel directory is and it is guessing wrong. My /lib/modules/2.6.18-chw-13/build is symlink'ed to /usr/src/linux-headers-2.6.18-chw-13. Is your directory structure different for some reason? Maybe if you linked /lib/modules/2.6.18-chw-13/source to /usr/src/linux-headers-2.6.18-chw-13 it would work.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 09, 2007 6:44 am 
Offline
Joined: Sat Feb 04, 2006 1:50 pm
Posts: 24
I just downloaded the src tree from linuxtv and did make kernel-links (as root). Doing a make install really screwed a few things up, so i recommend not doing it. After make kernel-links i am able to build mythtv from svn head with dvb & ivtv support without any problems.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 10, 2007 8:46 am 
Offline
Joined: Sat Jul 07, 2007 3:28 am
Posts: 2
I see they are linking to
ivtvfb.h -> /root/v4l-dvb-1387dc197077/linux/include/linux/

and there for im getting this version

http://linuxtv.org/hg/v4l-dvb/rev/1387dc197077

works for me

I tried the newer verison and got all kinds of errors, since that is not the same headers.


Top
 Profile  
 
 Post subject: somewhat confused...
PostPosted: Wed Feb 13, 2008 11:35 am 
Offline
Joined: Tue Mar 28, 2006 8:26 pm
Posts: 804
Location: Minneapolis, MN
I'm confused, because TJC told us in his R5F27 Tips http://mysettopbox.tv/phpBB2/viewtopic.php?t=16384
that the headers are included with a default install??
Quote:
7.2) The full kernel source is no longer included, however, the kernel headers needed to compile modules are. I have personally compiled both ivtv and nVidia drivers using these.


After reading of version conflicts above, I followed haffi's method and downloaded the same version:
http://linuxtv.org/hg/v4l-dvb/rev/1387dc197077

I think the 'make kernel-links' worked. Here's the output to review:
Code:
root@mythtv:/usr/src/v4l-dvb-1387dc197077# make kernel-links
make -C /usr/src/v4l-dvb-1387dc197077/v4l kernel-links
make[1]: Entering directory `/usr/src/v4l-dvb-1387dc197077/v4l'
No version yet.
make[1]: Leaving directory `/usr/src/v4l-dvb-1387dc197077/v4l'
make[1]: Entering directory `/usr/src/v4l-dvb-1387dc197077/v4l'
cd ..;  v4l/scripts/makelinks.sh /lib/modules/2.6.18-chw-13/build
patching /lib/modules/2.6.18-chw-13/build...
make[1]: Leaving directory `/usr/src/v4l-dvb-1387dc197077/v4l'
root@mythtv:/usr/src/v4l-dvb-1387dc197077#


Next, I tried to compile the dvb-atsc-tools from the pchdtv.com website and they appered to compile now.
Code:
root@mythtv:/usr/src/dvb-atsc-tools-1.0.7# make
gcc -Wall -D_FILE_OFFSET_BITS=64     chopatscfile.c   -o chopatscfile
gcc -Wall -D_FILE_OFFSET_BITS=64     dtvsignal.c   -o dtvsignal
gcc -Wall -D_FILE_OFFSET_BITS=64     dtvscan.c   -o dtvscan
gcc -Wall -D_FILE_OFFSET_BITS=64     dtvsnr.c   -o dtvsnr
gcc -Wall -D_FILE_OFFSET_BITS=64     getatsc.c   -o getatsc
gcc -Wall -D_FILE_OFFSET_BITS=64     atscpackets.c   -o atscpackets
root@mythtv:/usr/src/dvb-atsc-tools-1.0.7# make install
install --mode=u=rwx,go=rx chopatscfile dtvsignal dtvscan dtvsnr getatsc atscpackets /usr/bin
root@mythtv:/usr/src/dvb-atsc-tools-1.0.7#

Are there other software packages or modules that will require users to "make kernel-links" for?

Insight appreciated,
Eric

_________________
KnoppMyth R5.5, Asus A8N-VM CSM (nvidia 6150 onboard video), AMD Athlon 64 dual-core 4200+, two 1GB sticks DDR 400, HD-3000 HDTV card, PVR-150 card, Iguanaworks RS-232 IR receiver/transmitter, Pioneer DVR-110 DVD burner


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 13, 2008 10:31 pm 
Offline
Joined: Sat Sep 02, 2006 1:46 pm
Posts: 44
If you search around a bit, you will see that these missing headers have been required for quite a few different purposes. I can't remember all of them, but luckily you now have them. I think their absence is just an unfortunate oversight judging by cecil's comment from http://www.knoppmyth.net/phpBB2/viewtopic.php?p=104432#104432

cecil wrote:
Get the tip of v4l/dvb and make kernel-links. I've a lot on my plate at the moment, but I'll try and remember this for future releases. You can find the "tip" here: http://linuxtv.org/hg/v4l-dvb/archive/tip.tar.bz2


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 17 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu