LinHES Forums
http://forums.linhes.org/

--dvb-path=/usr/include or --dvb-path=/usr/src/linux/include
http://forums.linhes.org/viewtopic.php?f=14&t=5852
Page 1 of 1

Author:  sammo2828 [ Mon Aug 29, 2005 11:54 pm ]
Post subject:  --dvb-path=/usr/include or --dvb-path=/usr/src/linux/include

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

Author:  cesman [ Mon Aug 29, 2005 11:56 pm ]
Post subject: 

If /usr/include didn't get upgraded then I'd say something is amiss. One should use /usr/include when compiling MythTV.

Author:  sammo2828 [ Tue Aug 30, 2005 12:02 am ]
Post subject: 

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?

Author:  sammo2828 [ Tue Aug 30, 2005 12:18 am ]
Post subject: 

should /usr/include/linux be a symlink to /usr/src/linux/include/linux ?

Author:  Greg Frost [ Tue Aug 30, 2005 12:24 am ]
Post subject: 

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).

Author:  sammo2828 [ Tue Aug 30, 2005 12:32 am ]
Post subject: 

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 ...

Author:  Greg Frost [ Tue Aug 30, 2005 12:43 am ]
Post subject: 

I didnt think it was supposed to be updated.

Author:  sammo2828 [ Tue Aug 30, 2005 12:46 am ]
Post subject: 

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

Author:  sammo2828 [ Tue Aug 30, 2005 4:54 am ]
Post subject: 

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

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/