[mythtv-commits] Ticket #12408: mythtv fails to compile with Gentoo gcc 4.9

MythTV noreply at mythtv.org
Mon Oct 19 01:59:46 UTC 2015


#12408: mythtv fails to compile with Gentoo gcc 4.9
----------------------------------+----------------------------
 Reporter:  rich0@…               |          Owner:
     Type:  Bug Report - General  |         Status:  new
 Priority:  minor                 |      Milestone:  unknown
Component:  MythTV - General      |        Version:  0.27-fixes
 Severity:  medium                |     Resolution:
 Keywords:                        |  Ticket locked:  0
----------------------------------+----------------------------

Comment (by mike.desimone@…):

 Having this exact problem with these Gentoo builds of MythTV:

 * 0.27.5_p20150627
 * 0.27.5_p20150904-r1
 * 0.27.5_p20150904-r2

 Gentoo's gcc 4.9.3. CFLAGS="-march=amdfam10 -O2 -pipe". Here's the link
 command and its output:

 {{{
 x86_64-pc-linux-gnu-g++ -Wl,-O1 -o mythavtest main.o commandlineparser.o
 -L../../libs/libmyth -L../../libs/libmythtv
 -L../../external/FFmpeg/libavutil -L../../external/FFmpeg/libavcodec
 -L../../external/FFmpeg/libavformat -L../../external/FFmpeg/libswscale
 -L../../external/FFmpeg/libswresample -L../../libs/libmythbase
 -L../../libs/libmythui -L../../libs/libmythupnp
 -L../../libs/libmythmetadata -L../../libs/libmythservicecontracts
 -L../../libs/libmythprotoserver -lmythswscale -lmythavformat -lmythavcodec
 -lmythavutil -lmythswresample -lmythtv-0.27 -lmythupnp-0.27
 -lmythbase-0.27 -lmythui-0.27 -lmyth-0.27 -lmythmetadata-0.27
 -lmythservicecontracts-0.27 -lmythprotoserver-0.27
 -L../../libs/libmythfreemheg -lmythfreemheg-0.27
 -L../../external/libhdhomerun -lmythhdhomerun-0.27 -lXext -lXinerama
 -lXxf86vm -lXv -lXrandr -lX11 -lxml2 -lcrypto -lass -lfftw3_threads
 -lfftw3f -lfftw3 -lasound -lfreetype -lxvidcore -lx264 -lvpx -lvorbisenc
 -lvorbis -ltheoraenc -ltheoradec -logg -lmp3lame -lfaac -lm -ludev -luuid
 -pthread -lbz2 -lz -ldl -lraw1394 -liec61883 -lavc1394 -lrom1394
 -L/var/tmp/portage/media-
 tv/mythtv-0.27.5_p20150904-r2/work/mythtv-0.27.5/mythtv/external/zeromq/src/.libs
 -lmythzmq -L/var/tmp/portage/media-
 tv/mythtv-0.27.5_p20150904-r2/work/mythtv-0.27.5/mythtv/external/nzmqt/src
 -lmythnzmqt -L/var/tmp/portage/media-
 tv/mythtv-0.27.5_p20150904-r2/work/mythtv-0.27.5/mythtv/external/qjson/lib
 -lmythqjson -L/usr/lib64 -L/usr/lib64/qt4 -lGL -lQtSql -L/usr/lib64/mysql
 -lQtXml -lQtOpenGL -lQtGui -lQtNetwork -lQtCore -lpthread
 main.o: In function `VideoOutput::StartDisplayingFrame()':
 /var/tmp/portage/media-
 tv/mythtv-0.27.5_p20150904-r2/work/mythtv-0.27.5/mythtv/programs/mythavtest/../../libs/libmythtv/videooutbase.h:199:
 undefined reference to `VideoBuffers::StartDisplayingFrame()'
 main.o: In function `VideoOutput::DoneDisplayingFrame(VideoFrame_*)':
 /var/tmp/portage/media-
 tv/mythtv-0.27.5_p20150904-r2/work/mythtv-0.27.5/mythtv/programs/mythavtest/../../libs/libmythtv/videooutbase.h:203:
 undefined reference to `VideoBuffers::DoneDisplayingFrame(VideoFrame_*)'
 main.o: In function `VideoOutput::StartDisplayingFrame()':
 /var/tmp/portage/media-
 tv/mythtv-0.27.5_p20150904-r2/work/mythtv-0.27.5/mythtv/programs/mythavtest/../../libs/libmythtv/videooutbase.h:199:
 undefined reference to `VideoBuffers::StartDisplayingFrame()'
 main.o: In function `VideoOutput::DoneDisplayingFrame(VideoFrame_*)':
 /var/tmp/portage/media-
 tv/mythtv-0.27.5_p20150904-r2/work/mythtv-0.27.5/mythtv/programs/mythavtest/../../libs/libmythtv/videooutbase.h:203:
 undefined reference to `VideoBuffers::DoneDisplayingFrame(VideoFrame_*)'
 collect2: error: ld returned 1 exit status
 Makefile:109: recipe for target 'mythavtest' failed
 make[2]: *** [mythavtest] Error 1
 make[2]: Leaving directory '/var/tmp/portage/media-
 tv/mythtv-0.27.5_p20150904-r2/work/mythtv-0.27.5/mythtv/programs/mythavtest'
 Makefile:58: recipe for target 'sub-mythavtest-make_default' failed
 make[1]: *** [sub-mythavtest-make_default] Error 2
 make[1]: Leaving directory '/var/tmp/portage/media-
 tv/mythtv-0.27.5_p20150904-r2/work/mythtv-0.27.5/mythtv/programs'
 Makefile:67: recipe for target 'programs' failed
 make: *** [programs] Error 2
 }}}

 Installed MythTV is 0.27_p20140321, and was probably built before the
 compiler was upgraded to the 4.9 series.

 Going to attempt a patch.

--
Ticket URL: <https://code.mythtv.org/trac/ticket/12408#comment:8>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list