[mythtv] Build failure on Fedora rawhide

Richard Shaw hobbes1069 at gmail.com
Fri Aug 23 13:50:35 UTC 2013


I'm going to go out on a limb and guess this problem is caused by gcc
getting more and more pedantic with newer releases?

This is with gcc 4.8.1...

g++ -c -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -O2 -g
-pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4
-grecord-gcc-switches -m64 -mtune=generic -fomit-frame-pointer
-fomit-frame-pointer -fPIC -pthread -g -Wall -Wpointer-arith
-Wno-non-virtual-dtor -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS
-fvisibility-inlines-hidden -Wmissing-declarations -Wno-switch
-Wredundant-decls -funit-at-a-time -I/usr/include/freetype2
-fvisibility=hidden -D_REENTRANT -fPIC -DMMX -D_GNU_SOURCE
-DUSING_LIBCRYPTO -DUSING_CRYSTALHD -DUSING_LIBASS -DFFTW3_SUPPORT
-DUSING_X11 -DUSING_XV -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_LINUX_FIREWIRE -DUSING_FIREWIRE
-DUSING_IPTV -DUSING_HDHOMERUN -DUSING_CETON -DUSING_IVTV
-DUSING_HDPVR -DUSING_DVB -DUSING_BACKEND -DMTV_API -DQT_NO_DEBUG
-DQT_SQL_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB
-DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED
-I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore
-I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtOpenGL
-I/usr/include/QtXml -I/usr/include/QtSql -I/usr/include -I/usr
-I/usr/include/libxml2 -I../../external/zeromq/include
-I../../external/nzmqt/include/nzmqt -I../../external/qjson/include
-I.. -I../.. -I../../external/FFmpeg -I. -I../libmyth
-I../libmyth/audio -I../libmythbase -I../libmythhdhomerun -Idvbdev
-Impeg -Iiptv -Ichannelscan -Ivisualisations
-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/usr/include
-I../libmythdvdnav -I../libmythbluray -I/usr/X11R6/include -I. -o
mythairplayserver.o AirPlay/mythairplayserver.cpp
vaapicontext.cpp: In member function 'bool VAAPIContext::InitBuffers()':
vaapicontext.cpp:570:44: error: invalid conversion from 'int' to
'VASurfaceID* {aka unsigned int*}' [-fpermissive]
                                  m_surfaces);
                                            ^
vaapicontext.cpp:570:44: error: invalid conversion from 'VASurfaceID*
{aka unsigned int*}' to 'unsigned int' [-fpermissive]
vaapicontext.cpp:570:44: error: too few arguments to function
'VAStatus vaCreateSurfaces(VADisplay, unsigned int, unsigned int,
unsigned int, VASurfaceID*, unsigned int, VASurfaceAttrib*, unsigned
int)'
In file included from /usr/include/va/va_x11.h:27:0,
                 from vaapicontext.h:7,
                 from vaapicontext.cpp:6:
/usr/include/va/va.h:792:1: note: declared here
 vaCreateSurfaces(
 ^


Thanks,

Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-dev/attachments/20130823/ad513eb0/attachment.html>


More information about the mythtv-dev mailing list