[mythtv] Ticket #13060: Duplicate definition error in recorders/v4lchannel.cpp causes compile fail

Gary Buhrmaster gary.buhrmaster at gmail.com
Tue Jun 27 21:09:54 UTC 2017


On Tue, Jun 27, 2017 at 8:20 PM, R. G. Newbury <newbury at mandamus.org> wrote:

> I saw the ifdef in v4lchannel.h.
> I presume that v4l is defined, so that the ifdef then includes videodev2.h
> But the result is a duplicate inclusion.
>
> AT LEAST FOR ME.... I have been building mythtv with the same scripts for
> over 10 years now

Well, that seems highly unlikely they are the same
since qt5 did not exist 10 years ago (so while they
may be similar to 10 years ago, they have clearly
changed, and while you did not say exactly the same
scripts, you did imply you have made no changes.)

>  so I don't think that things have changed.
> The first few lines of the call to configure are (for the laptop, Fedora 23)
> ./configure    \
>  --prefix=/usr/local        \
>  --compile-type=release       \
>  --qmake=/usr/bin/qmake-qt5 \
>  --dvb-path=/usr/src/kernels/`uname -r`/include/uapi/ \
>  --arch=x86_64              \
> etc. etc.
>
> So the header path *should be* correct....
>
> Thoughts?

I would look at the dvb-path include files carefully.

And possibly remove --dvb-path entirely from the script
if configure properly auto-detects the paths (which it
generally should these days).

Posting the output from configure might be useful too.


More information about the mythtv-dev mailing list