[mythtv-users] Compile error help

Stephen Collier stephenbcollier at gmail.com
Mon Apr 10 03:53:42 UTC 2017


I'll have a look and see if there is anything with the f23 auto build in
my repo. It is still happily building f23 with no issues against the f23
hosted at kernel.org. I've been thinking about stopping the f23 builds
probably will when f26 comes out.


On 10/04/2017 1:48 AM, Captain Krypto wrote:
> Hello all,
>
> I was hoping that someone could help shed some light on this compile
> error that I am getting when trying to compile the latest
> mythtv-fixes-0.28. Here is the pertinent part of the compile log:
>
> g++ -c -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC
> -DHLS_USE_MYTHDOWNLOADMANAGER -fomit-frame-pointer -fPIC
> -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -msse -pthread -g -Wall
> -Wpointer-arith -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS
> -fvisibility-inlines-hidden -Wmissing-declarations -Wno-switch
> -Woverloaded-virtual -funit-at-a-time -I/usr/include/freetype2
> -isystem ../../external/libmythdvdnav/dvdnav -isystem
> ../../external/libmythdvdnav/dvdread -fvisibility=hidden -std=gnu++0x
> -D_REENTRANT -fPIC -DMMX -Dusing_libcec -D_GNU_SOURCE
> -DUSING_LIBCRYPTO -DUSING_LIBASS -DUSING_X11 -DUSING_VDPAU
> -DUSING_OPENGL -DUSING_OPENGL_VIDEO -DUSING_VAAPI -DUSING_GLVAAPI
> -DUSING_AIRPLAY -DUSING_MHEG -DUSING_FRONTEND -DUSING_FFMPEG_THREADS
> -DUSING_ALSA -DUSING_OSS -DUSING_V4L2 -DUSING_IPTV -DUSING_HDPVR
> -DUSING_DVB -DUSING_BACKEND -DMTV_API -DQT_NO_DEBUG -DQT_OPENGL_LIB
> -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB
> -DQT_SQL_LIB -DQT_CORE_LIB -I. -isystem /usr/include/libxml2 -isystem
> /usr/include/X11 -I.. -I../.. -I../../external/FFmpeg -I. -I../libmyth
> -I../libmyth/audio -I../libmythbase -Impeg -Ichannelscan
> -Ivisualisations -Irecorders -Irecorders/dvbdev -Irecorders/rtp
> -Irecorders/vbitext -Irecorders/HLS
> -I../libmythlivemedia/BasicUsageEnvironment/include
> -I../libmythlivemedia/BasicUsageEnvironment
> -I../libmythlivemedia/groupsock/include
> -I../libmythlivemedia/groupsock
> -I../libmythlivemedia/liveMedia/include
> -I../libmythlivemedia/liveMedia
> -I../libmythlivemedia/UsageEnvironment/include
> -I../libmythlivemedia/UsageEnvironment -I../libmythbase -I../libmythui
> -I../libmythupnp -I../libmythservicecontracts
> -I../../external/libmythbluray -I../../external/minilzo -isystem
> /usr/include/qt5 -isystem /usr/include/qt5/QtOpenGL -isystem
> /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem
> /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml -isystem
> /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtCore -I.
> -I/usr/lib64/qt5/mkspecs/linux-g++ -o HLSStream.o
> recorders/HLS/HLSStream.cpp
>
> recorders/HLS/HLSReader.cpp: In member function ‘void
> HLSReader::Cancel(bool)’:
>
> recorders/HLS/HLSReader.cpp:186:10: error: ‘m_sements’ was not
> declared in this scope
>
>      if (!m_sements.empty())
>
>           ^
>
> recorders/HLS/HLSReader.cpp:187:43: error: no matching function for
> call to ‘HLSReader::CancelURL(QUrl)’
>
>          CancelURL(m_segments.front().Url());
>
>                                            ^
>
> In file included from recorders/HLS/HLSReader.cpp:4:0:
>
> recorders/HLS/HLSReader.h:66:17: note: candidate: static void
> HLSReader::CancelURL(const QString&)
>
>      static void CancelURL(const QString &url);
>
>                  ^
>
> recorders/HLS/HLSReader.h:66:17: note:   no known conversion for
> argument 1 from ‘QUrl’ to ‘const QString&’
>
> recorders/HLS/HLSReader.h:67:17: note: candidate: static void
> HLSReader::CancelURL(const QStringList&)
>
>      static void CancelURL(const QStringList &urls);
>
>                  ^
>
> recorders/HLS/HLSReader.h:67:17: note:   no known conversion for
> argument 1 from ‘QUrl’ to ‘const QStringList&’
>
> recorders/HLS/HLSReader.cpp: In member function ‘int
> HLSReader::DownloadSegmentData(MythSingleDownload&, HLSRecStream*,
> HLSRecSegment&, int)’:
>
> recorders/HLS/HLSReader.cpp:916:55: error: no matching function for
> call to ‘HLSReader::DownloadURL(QUrl, QByteArray*)’
>
>      if (!HLSReader::DownloadURL(segment.Url(), &buffer))
>
>                                                        ^
>
> recorders/HLS/HLSReader.cpp:238:6: note: candidate: static bool
> HLSReader::DownloadURL(const QString&, QByteArray*)
>
>  bool HLSReader::DownloadURL(const QString &url, QByteArray *buffer)
>
>       ^
>
> recorders/HLS/HLSReader.cpp:238:6: note:   no known conversion for
> argument 1 from ‘QUrl’ to ‘const QString&’
>
> recorders/HLS/HLSReader.cpp:922:63: error: no matching function for
> call to ‘HLSReader::DownloadURL(QUrl, QByteArray*)’
>
>              if (!HLSReader::DownloadURL(segment.Url(), &buffer))
>
>                                                                ^
>
> recorders/HLS/HLSReader.cpp:238:6: note: candidate: static bool
> HLSReader::DownloadURL(const QString&, QByteArray*)
>
>  bool HLSReader::DownloadURL(const QString &url, QByteArray *buffer)
>
>       ^
>
> recorders/HLS/HLSReader.cpp:238:6: note:   no known conversion for
> argument 1 from ‘QUrl’ to ‘const QString&’
>
> Makefile:14753: recipe for target 'HLSReader.o' failed
>
> make[2]: *** [HLSReader.o] Error 1
>
> make[2]: *** Waiting for unfinished jobs....
>
> make[2]: Leaving directory
> '/usr/local/src/mythtv-fixes-0.28/mythtv/libs/libmythtv'
>
> Makefile:290: recipe for target 'sub-libmythtv-make_first' failed
>
> make[1]: *** [sub-libmythtv-make_first] Error 2
>
> make[1]: Leaving directory '/usr/local/src/mythtv-fixes-0.28/mythtv/libs'
>
> Makefile:67: recipe for target 'libs' failed
>
> make: *** [libs] Error 2
>
>
>
> I am trying to build it with qt5 and had read some things about qt5 on
> Fedora (23) having some issues with reading the qt4 headers when using
> the qt5 library. I've removed qt4 from the system as far as I can tell:
>
> >la /usr/include/ | grep -i qt
>
> drwxr-xr-x   25 root root 4.0K Nov 21 10:00 *qt*5
>
>
> Here is my configure:
>
> ./configure --compile-type=release --prefix=/usr/local
> --enable-libmp3lame --enable-libx264 --enable-libxvid
> --enable-audio-alsa --enable-dvb --enable-nonfree --disable-hdhomerun
> --disable-vbox --disable-ceton --enable-libfaac --disable-crystalhd
> --disable-ivtv --disable-joystick-menu --enable-libfftw3
> --disable-mythlogserver --qmake=/usr/lib64/qt5/bin/qmake-qt5
> --extra-cxxflags='-DHLS_USE_MYTHDOWNLOADMANAGER'
>
>
> Any insight would be appreciated as I have been having at this for two
> days.
>
>
> Thanks,
>
> Dave
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20170410/70ce1f4e/attachment.html>


More information about the mythtv-users mailing list