[mythtv-users] mythavtest build errors

Udo van den Heuvel udovdh at xs4all.nl
Sat Oct 24 05:16:58 UTC 2015


Hello,

I tried to build mythtv from git, using the `packaging` script to build
an rpm on my Fedora box using gcc-5.1.1-4.fc22.x86_64

The compile resulted in:
g++ -Wl,-O1 -Wl,-z,relro -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/libmyth
servicecontracts -L../../libs/libmythprotoserver -lmythswscale
-lmythavformat -lmythavcodec -lmythavutil -lmythswresample -lmythtv-0.27
-lmythupnp-0.27 -lmythbase-0.27 -lmythui-0.27 -lmyth-0.27 -lmythmetadat
a-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 -lfftw3_threads -lfftw3f -lfftw3 -lva -lpulse -ljack
-lasound -lfreetype -lxvidcore -lx264 -lvorbisenc -lvorbis -ltheoraenc
-ltheoradec -logg -lmp3lame -lcrystalhd -lm -ludev -luuid -pthread -
lbz2 -lz -ldl -lraw1394 -liec61883 -lavc1394 -lrom1394 -L/usr/X11R6/lib
-L/root/rpmbuild/BUILD/mythtv-0.27.5/mythtv/external/qjson/lib64
-lmythqjson -L/usr/lib64 -lpthread -lGL -lQtSql -lQtXml -lQtOpenGL -lQ
tGui -lQtNetwork -lQtCore
main.o: In function `VideoOutput::StartDisplayingFrame()':
/usr/src/redhat/BUILD/mythtv-0.27.5/mythtv/programs/mythavtest/../../libs/libmythtv/videooutbase.h:199:
undefined reference to `VideoBuffers::StartDisplayingFrame()'
main.o: In function `VideoOutput::DoneDisplayingFrame(VideoFrame_*)':
/usr/src/redhat/BUILD/mythtv-0.27.5/mythtv/programs/mythavtest/../../libs/libmythtv/videooutbase.h:203:
undefined reference to `VideoBuffers::DoneDisplayingFrame(VideoFrame_*)'
main.o: In function `VideoOutput::StartDisplayingFrame()':
/usr/src/redhat/BUILD/mythtv-0.27.5/mythtv/programs/mythavtest/../../libs/libmythtv/videooutbase.h:199:
undefined reference to `VideoBuffers::StartDisplayingFrame()'
main.o: In function `VideoOutput::DoneDisplayingFrame(VideoFrame_*)':
/usr/src/redhat/BUILD/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:110: recipe for target 'mythavtest' failed
make[2]: *** [mythavtest] Error 1
make[2]: Leaving directory
'/usr/src/redhat/BUILD/mythtv-0.27.5/mythtv/programs/mythavtest'
Makefile:57: recipe for target 'sub-mythavtest-make_default' failed
make[1]: *** [sub-mythavtest-make_default] Error 2


What is wrong, or what is missing?
How can I fix this error?
I read about -fno-devirtualize but this gcc is newer...

Any ideas?

Kind regards,
Udo


More information about the mythtv-users mailing list