[mythtv-users] Mythtv, Gentoo, DVB and 2.6.28 kernel not compiling

jk90090 jk90090 at gmail.com
Fri Jan 23 21:48:29 UTC 2009


Wayne Mitchell wrote:
> JK,
>
> Yes. Exactly the same problem here. I am sure that there is a more elegant
> solution but the hack I do is:
>
> 1) Start the emerge and hit Ctrl-Z once everything is unpacked and
> compilation begins.
> 2) vim
> /var/tmp/portage/media-tv/mythtv-0.21_p19046/work/mythtv-0.21/libs/libmythtv
> /dvbtypes.h (replace vim with your favourite editor).
> 3) Line 22 I change to: #if (DVB_API_VERSION < 3)
> 4) Line 30 I change to: #if (DVB_API_VERSION >= 3)
> 5) Save the file and then type fg (enter).
>
> Myth should now finish compiling OK. I believe the actual API version is 5.0
> so these checks seem a bit outdated.
>
> Hope this helps.
>
> Wayne
>
> (I'm in Outlook at the moment. Sorry if formatting is bad)
>   
Forgot to say "Thanks" also!

-JK


More information about the mythtv-users mailing list