<div dir="ltr">unsubscribe</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jul 25, 2019 at 1:24 AM Paul B. Henson <<a href="mailto:henson@acm.org">henson@acm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">As described in:<br>
<br>
        <a href="https://bugs.gentoo.org/show_bug.cgi?id=683280" rel="noreferrer" target="_blank">https://bugs.gentoo.org/show_bug.cgi?id=683280</a><br>
<br>
Compiling mythtv with gcc 8.3 results in an error when DVB is not<br>
enabled:<br>
<br>
/usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../x86_64-pc-linux-gnu/bin/ld:<br>
../../libs/libmythtv/libmythtv-29.so: undefined reference to<br>
`DVBChannel::Open(DVBChannel*)<br>
<br>
It appears this is caused by the unconditional include of dvbchannel.h<br>
by mythtv/libs/libmythtv/channelscan/channelscanner.cpp, that include<br>
file defines the DVBChannel class, and for some reason with gcc 8.3 that<br>
now causes a symbol reference to some of the class methods. I'm not sure<br>
if that's a compiler bug, or just implementation dependent behavior.<br>
<br>
In any case, guarding that include with an "#ifdef USING_DVB" resolves<br>
the problem. Assuming this isn't a gcc bug (or even if it is, not<br>
defining the dvb classes when you're not using it seems a good idea<br>
regardless) could somebody commit a change like this or something<br>
equivilent?<br>
<br>
Thanks much...<br>
_______________________________________________<br>
mythtv-dev mailing list<br>
<a href="mailto:mythtv-dev@mythtv.org" target="_blank">mythtv-dev@mythtv.org</a><br>
<a href="http://lists.mythtv.org/mailman/listinfo/mythtv-dev" rel="noreferrer" target="_blank">http://lists.mythtv.org/mailman/listinfo/mythtv-dev</a><br>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" rel="noreferrer" target="_blank">http://wiki.mythtv.org/Mailing_List_etiquette</a><br>
MythTV Forums: <a href="https://forum.mythtv.org" rel="noreferrer" target="_blank">https://forum.mythtv.org</a><br>
</blockquote></div>