[mythtv-users] Building on Gentoo - failure

Raffaele BELARDI raffaele.belardi at st.com
Mon Mar 23 18:32:29 UTC 2015


Saul wrote:
> Hello,
>
> I'm trying to build the latest in portage
> (media-tv/mythtv-0.27.4_p20150124).
>
> With GCC-4.9 i get this:
>
> main.o: In function `VideoOutput::StartDisplayingFrame()':
> /home/portagetmp/portage/media-tv/mythtv-0.27.4_p20150124/work/mythtv-0.27.4/mythtv/programs/mythavtest/../../libs/libmythtv/videooutbase.h:199:
> undefined reference to `VideoBuffers::StartDisplayingFrame()' main.o:
> In function
> `VideoOutput::DoneDisplayingFrame(VideoFrame_*)': /home/portagetmp/portage/media-tv/mythtv-0.27.4_p20150124/work/mythtv-0.27.4/mythtv/programs/mythavtest/../../libs/libmythtv/videooutbase.h:203:
> undefined reference to
> `VideoBuffers::DoneDisplayingFrame(VideoFrame_*)' main.o: In function
> `VideoOutput::StartDisplayingFrame()': /home/portagetmp/portage/media-tv/mythtv-0.27.4_p20150124/work/mythtv-0.27.4/mythtv/programs/mythavtest/../../libs/libmythtv/videooutbase.h:199:
> undefined reference to `VideoBuffers::StartDisplayingFrame()' main.o:
> In function
> `VideoOutput::DoneDisplayingFrame(VideoFrame_*)': /home/portagetmp/portage/media-tv/mythtv-0.27.4_p20150124/work/mythtv-0.27.4/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
>
> With GCC-4.8 I cannot get past configure:
>
> Running ./configure  --prefix=/usr --libdir=/usr/lib64
> --libdir-name=lib64 --mandir=/usr/share/man --enable-audio-alsa
> --disable-audio-jack --disable-audio-pulseoutput --disable-altivec
> --enable-dvb --disable-firewire --enable-lirc --enable-libxvid
> --dvb-path=/usr/include --enable-xrandr --enable-xv --enable-x11
> --enable-nonfree --disable-libcec --disable-libdns-sd
> --enable-libtheora --enable-libvorbis --enable-libmp3lame
> --enable-libx264 --enable-libvpx --enable-libfaac --enable-libass
> --with-bindings=perl,python --python=python2.7 --compile-type=release
> --enable-vdpau --disable-vaapi --disable-joystick-menu
> --enable-symbol-visibility --enable-pic --cpu=host --disable-distcc
> --disable-ccache
> ERROR: cannot find taglib 1.6 or later.
>
> Is there a way out from this?
>

Check this out:

http://lists.mythtv.org/pipermail/mythtv-dev/2014-May/074290.html

Adding -fno-devirtualize as suggested later in that thread worked for me.

If like me you don't know how to set per-package CFLAGS, read this:

https://marc.info/?l=gentoo-user&m=142236563815075&w=2

raffaele


More information about the mythtv-users mailing list