View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 9 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Mon Aug 29, 2005 11:54 pm 
Offline
Joined: Sat Sep 18, 2004 9:07 pm
Posts: 94
When re-compiling mythtv, what is the difference between using --dvb-path=/usr/include or --dvb-path=/usr/src/linux/include ??

I have upgraded to kernel 2.6.13 using similar instructions to http://mysettopbox.tv/phpBB2/viewtopic. ... 4744#24744 and /usr/include/linux/dvb does not get updated. Should I copy the new *.h files to /usr/include/linux/dvb ??

sh-3.00$ ls -ld /usr/src/linux
lrwxrwxrwx 1 root src 12 Aug 30 15:11 /usr/src/linux -> linux-2.6.13

sh-3.00$ ls -l /usr/include/linux/dvb/
total 52
-rw-r--r-- 1 root root 4605 Oct 16 2003 audio.h
-rw-r--r-- 1 root root 3150 Oct 16 2003 ca.h
-rw-r--r-- 1 root root 4231 Oct 16 2003 dmx.h
-rw-r--r-- 1 root root 7693 Oct 16 2003 frontend.h
-rw-r--r-- 1 root root 1265 Oct 16 2003 net.h
-rw-r--r-- 1 root root 4247 Oct 16 2003 osd.h
-rw-r--r-- 1 root root 985 Oct 16 2003 version.h
-rw-r--r-- 1 root root 6663 Oct 16 2003 video.h

sh-3.00$ ls -l /usr/src/linux/include/linux/dvb/
total 52
-rw-r--r-- 1 root root 4590 Aug 29 09:41 audio.h
-rw-r--r-- 1 root root 3148 Aug 29 09:41 ca.h
-rw-r--r-- 1 root root 4214 Aug 29 09:41 dmx.h
-rw-r--r-- 1 root root 7193 Aug 29 09:41 frontend.h
-rw-r--r-- 1 root root 1599 Aug 29 09:41 net.h
-rw-r--r-- 1 root root 5933 Aug 29 09:41 osd.h
-rw-r--r-- 1 root root 1016 Aug 29 09:41 version.h
-rw-r--r-- 1 root root 6824 Aug 29 09:41 video.h


Last edited by sammo2828 on Tue Aug 30, 2005 12:00 am, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 29, 2005 11:56 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
If /usr/include didn't get upgraded then I'd say something is amiss. One should use /usr/include when compiling MythTV.

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 30, 2005 12:02 am 
Offline
Joined: Sat Sep 18, 2004 9:07 pm
Posts: 94
Hi cesman, that sure was a quick reply :)

I followed the instructions to upgrade the kernel from the link in my previous post. Do you have any suggestions on what I should do to troubleshoot this?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 30, 2005 12:18 am 
Offline
Joined: Sat Sep 18, 2004 9:07 pm
Posts: 94
should /usr/include/linux be a symlink to /usr/src/linux/include/linux ?


Last edited by sammo2828 on Tue Aug 30, 2005 12:43 am, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 30, 2005 12:24 am 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
sammo2828 wrote:
should /usr/include be a symlink to /usr/src/linux/inlcude ?
No. I would just try specifying --dvb-path=/usr/src/linux-2.6.13/include
(assuming that that is where you extracted the kernel source).


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 30, 2005 12:32 am 
Offline
Joined: Sat Sep 18, 2004 9:07 pm
Posts: 94
Okay, trying that now... mythtv won't compile with --dvb-path=/usr/src/linux/include (linux is symlinked to linux-2.6.13)

Hmmm, now I'm worried that my /usr/include doesn't get updated when upgrading the kernel. I started with a fresh R5V12 (2.6.9.XX), then upgraded to 2.6.12.2, and today upgraded to 2.6.13 ... both upgrades didn't change /usr/include/linux so the files in that directory are still dated around 2003 ...


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 30, 2005 12:43 am 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
I didnt think it was supposed to be updated.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 30, 2005 12:46 am 
Offline
Joined: Sat Sep 18, 2004 9:07 pm
Posts: 94
well, i just did this:

sh-3.00$ ls -ld /usr/src/linux
lrwxrwxrwx 1 root src 12 Aug 30 15:11 /usr/src/linux -> linux-2.6.13

sh-3.00$ cd /usr/include
sh-3.00$ mv linux linux-bak
sh-3.00$ ln -s /usr/src/linux/include/linux linux

trying to recompile mythtv again .. will let u know what happens ..

no good .. make error in the same place ..

think i'll just stick with the old /usr/include .. but i'm still interested in knowing the difference


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 30, 2005 4:54 am 
Offline
Joined: Sat Sep 18, 2004 9:07 pm
Posts: 94
hmmm .. i tried again with ./configure blah --disable-joystick-menu because the problem seemed to be joystick related ...

now it compiles cleanly

it makes more sense to use the include/linux from the current kernel source so i don't know why it isn't updated


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 4 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