[mythtv] Ticket #13060: Duplicate definition error in recorders/v4lchannel.cpp causes compile fail
R. G. Newbury
newbury at mandamus.org
Tue Jun 27 20:20:06 UTC 2017
On 06/26/2017 11:43 PM, MythTV wrote:
> #13060: Duplicate definition error in recorders/v4lchannel.cpp causes compile fail
> ----------------------------------+-----------------------------
> Reporter: newbury@… | Owner:
> Type: Bug Report - General | Status: new
> Priority: minor | Milestone: unknown
> Component: MythTV - General | Version: Master Head
> Severity: medium | Resolution:
> Keywords: | Ticket locked: 0
> ----------------------------------+-----------------------------
>
> Comment (by Gary Buhrmaster <gary.buhrmaster@…>):
>
> linux/videodev2.h is protected internally (as is typical for all such
> includes) by an ifdef. Are your headers (or include path) non-standard?
> Also note no such error was reported by any buildbot slave.
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, 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?
Geoff
--
R. Geoffrey Newbury
More information about the mythtv-dev
mailing list