Building From mythtv-0.25-286.src.rpm Compile Fails

Mark Goldberg <[email protected]>
Newsgroups gmane.linux.redhat.rpm.atrpms.general
Message-ID <CAKn+a3s_C_ghEdjiJU3x=RmfADpidoydjy0NAxE7RE2UiBEOxQ@mail.gmail.com>
I am trying to build rpms from mythtv-0.25-286.src.rpm under fedora 16. I
need some
extra fixes that are not in the version you have built and not committed to
fixes.

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@LIBAVCODEC_52'
/home/mythtv/rpm/BUILD/mythtv-0.25/temp/usr/lib64/libmyth-0.25.so:
undefined reference to `av_set_int@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?

also, how do you get the files mythtv-0.25-gitfixes.patch and
mythplugins-0.25-gitfixes.patch?

Some git diff command? If you could tell me the exact one it should save me
hours of trying to
figure it out myself.

Thanks,

Mark

_______________________________________________
atrpms-users mailing list
[email protected]
http://lists.atrpms.net/mailman/listinfo/atrpms-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.