[mythtv-users] Building From Atrpms mythtv-0.25-286.src.rpm Compile Fails on Fedora 16

Mark Goldberg marklgoldberg at gmail.com
Fri Jun 1 13:03:24 UTC 2012


I did not get any suggestions from the atrpms list, so I am trying here. I
am trying to build rpms from atrpms mythtv-0.25-286.src.rpm under fedora
16. I need some extra fixes that are not in the version they have built and
not committed to fixes. I also got the latest version from git (as of 5/30)
and built with the spec file from atrpms and  the same error results. I
believe this error is specific to my setup as plenty of people can
successfully build myth, but I have not found any missing prerequisites.

I get the following error:

g++ -Wl,-O1 -o mytharchivehelper main.o archiveutil.o pxsup2dast.o
-L/usr/X11R6/lib -L/usr/lib64
-L/home/mythtv/rpm/BUILD/mythtv-0.25/temp/usr/lib64 -lXext -lXinerama
-lXxf86vm -lXv -lXrandr -lX11 -lxml2 -ldns_sd -lcrypto -lass
-lfftw3_threads -lfftw3f -lfftw3 -lcrystalhd -lpulse -ljack -lasound
-lxvidcore -lx264 -lvpx -lopencore-amrwb -lopencore-amrnb -lfaac -lva -lm
-pthread -ludev -lbz2 -lrt -L/usr/lib64/nvidia-graphics -ldl -lfreetype
-lmp3lame -lraw1394 -liec61883 -lavc1394 -lrom1394 -L/usr/X11R6/lib
-lmythbase-0.25 -lmyth-0.25 -lmythui-0.25 -lmythupnp-0.25
-lmythservicecontracts-0.25 -lmythswscale -lmythavformat -lmythavcodec
-lmythavutil -lz -lGL -lpthread -lQtSql -lQtXml -lQtOpenGL -lQtGui
-lQtNetwork -lQtCore
main.o: In function `getFileInfo':
/home/mythtv/rpm/BUILD/mythtv-0.25/mythplugins-0.25/mytharchive/mytharchivehelper/main.cpp:2222:
undefined reference to `av_dump_format'
/home/mythtv/rpm/BUILD/mythtv-0.25/temp/usr/lib64/libmyth-0.25.so:
undefined reference to `avcodec_get_context_defaults3 at LIBAVCODEC_52'
/home/mythtv/rpm/BUILD/mythtv-0.25/temp/usr/lib64/libmyth-0.25.so:
undefined reference to `av_set_int at LIBAVUTIL_50'
collect2: ld returned 1 exit status
make[2]: *** [mytharchivehelper] Error 1
make[2]: Leaving directory
`/home/mythtv/rpm/BUILD/mythtv-0.25/mythplugins-0.25/mytharchive/mytharchivehelper'
make[1]: *** [sub-mytharchivehelper-make_default] Error 2
make[1]: Leaving directory
`/home/mythtv/rpm/BUILD/mythtv-0.25/mythplugins-0.25/mytharchive'
make: *** [sub-mytharchive-make_default] Error 2

Any ideas why?

Thanks,

Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20120601/62d5316a/attachment.html>


More information about the mythtv-users mailing list