[mythtv] Compilation problem

Jean-Yves Avenard jyavenard at gmail.com
Tue Jun 12 18:18:37 UTC 2012


On 13 June 2012 04:11, Kevin Kuphal <kkuphal at gmail.com> wrote:
> I'm helping a friend get his myth setup and this is stumping me.  Fresh git
> checkout of 0.25-fixes.  Nothing myth related outside the git folder.
>  Distribution is CentOS
>
> make[1]: Entering directory `/root/0.25/mythtv/mythtv/programs'
> cd mythavtest/ && make -f Makefile
> make[2]: Entering directory `/root/0.25/mythtv/mythtv/programs/mythavtest'
> g++ -m64 -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../../libs/libmythbase
> -L../../libs/libmythui -L../../libs/libmythupnp -L../../libs/libmythmetadata
> -L../../libs/libmythservicecontracts -L../../libs/libmythprotoserver
> -lmythtv-0.25 -lmythswscale -lmythavformat -lmythavcodec -lmythavutil
> -lmythupnp-0.25 -lmythbase-0.25 -lmythui-0.25 -lmyth-0.25
> -lmythmetadata-0.25 -lmythservicecontracts-0.25 -lmythprotoserver-0.25
> -L../../libs/libmythlivemedia -lmythlivemedia-0.25
> -L../../libs/libmythfreemheg -lmythfreemheg-0.25
> -L../../libs/libmythhdhomerun -lmythhdhomerun-0.25 -lXext -lXinerama
> -lXxf86vm -lXrandr -lX11 -ldns_sd -lass -lmp3lame -lva -lm -lz -lrt -ldl
> -lfreetype -L/usr/X11R6/lib64 -L/usr/lib -lpthread -lGLU -lGL -lQtSql
> -lQtXml -lQtOpenGL -lQtGui -lQtNetwork -lQtCore
> ../../libs/libmythtv/libmythtv-0.25.so: undefined reference to
> `MythRAOPDevice::HardwareId()'
> collect2: ld returned 1 exit status
> make[2]: *** [mythavtest] Error 1
> make[2]: Leaving directory `/root/0.25/mythtv/mythtv/programs/mythavtest'
> make[1]: *** [sub-mythavtest-make_default] Error 2
> make[1]: Leaving directory `/root/0.25/mythtv/mythtv/programs'
> make: *** [programs] Error 2
>
> I've double and triple-checked that there are no stray includes or libraries
> anywhere on the system other than the git checkout.  Any ideas?

run a make deinstall first , or manually delete any existing installed
mythtv headers / libraries.

this issue would occur if you're trying to compile mythtv and you have
old headers / libs installed that gets in the way


More information about the mythtv-dev mailing list