This is needed to compile mythtv 0.25 <br>*** ./mythtv/libs/libmythbase/<a href="http://compat.h.org">compat.h.org</a> 2012-03-31 20:52:30.430461503 -0400<br>--- ./mythtv/libs/libmythbase/compat.h 2012-03-31 20:59:05.935585911 -0400<br>
***************<br>*** 44,49 ****<br>--- 44,51 ----<br> # include <sys/resource.h> // for setpriority<br> # include <sys/socket.h><br> # include <sys/wait.h> // For WIFEXITED on Mac OS X<br>+ # include <stdio.h> // for snprintf(), used by inline dlerror()<br>
+ # include <unistd.h> // for usleep()<br> #endif<br><br> #ifdef USING_MINGW<br>*** ./mythtv/libs/libmyth/<a href="http://rssparse.h.org">rssparse.h.org</a> 2012-03-31 20:52:30.427453729 -0400<br>--- ./mythtv/libs/libmyth/rssparse.h 2012-03-31 21:51:11.687438044 -0400<br>
***************<br>*** 13,18 ****<br>--- 13,19 ----<br> #include <QPair><br> #include <QMap><br> #include <QVariant><br>+ #include <sys/types.h><br><br> #include "mythexp.h"<br><br>*** ./mythtv/libs/libmythtv/<a href="http://audioinput.h.org">audioinput.h.org</a> 2012-03-31 22:41:55.626923063 -0400<br>
--- ./mythtv/libs/libmythtv/audioinput.h 2012-03-31 22:41:22.478248297 -0400<br>***************<br>*** 22,27 ****<br>--- 22,28 ----<br> #define _AUDIOINPUT_H_<br><br> #include <QString><br>+ #include <unistd.h><br>
<br> class AudioInput<br> {<br>*** ./mythtv/external/FFmpeg/libavcodec/x86/<a href="http://h264_qpel_mmx.c.org">h264_qpel_mmx.c.org</a> 2012-03-31 20:52:29.923150437 -0400<br>--- ./mythtv/external/FFmpeg/libavcodec/x86/h264_qpel_mmx.c 2012-03-31 21:58:48.422270780 -0400<br>
***************<br>*** 398,404 ****<br> "2: \n\t"\<br> \<br> : "+a"(src), "+c"(dst)\<br>! : "S"((x86_reg)srcStride), "D"((x86_reg)dstStride), "g"(h)\<br>
: "memory"\<br> );\<br> src += 4-(h+5)*srcStride;\<br>--- 398,404 ----<br> "2: \n\t"\<br> \<br> : "+a"(src), "+c"(dst)\<br>
! : "S"((x86_reg)srcStride), "D"((x86_reg)dstStride), "rm"(h)\<br> : "memory"\<br> );\<br> src += 4-(h+5)*srcStride;\<br>***************<br>
*** 446,452 ****<br> QPEL_H264HV(%%mm3, %%mm4, %%mm5, %%mm0, %%mm1, %%mm2, 15*48)\<br> "2: \n\t"\<br> : "+a"(src)\<br>! : "c"(tmp), "S"((x86_reg)srcStride), "g"(size)\<br>
: "memory"\<br> );\<br> tmp += 4;\<br>--- 446,452 ----<br> QPEL_H264HV(%%mm3, %%mm4, %%mm5, %%mm0, %%mm1, %%mm2, 15*48)\<br> "2: \n\t"\<br>
: "+a"(src)\<br>! : "c"(tmp), "S"((x86_reg)srcStride), "rm"(size)\<br> : "memory"\<br> );\<br> tmp += 4;\<br>***************<br>
*** 823,829 ****<br> "2: \n\t"\<br> \<br> : "+a"(src), "+c"(dst)\<br>! : "S"((x86_reg)srcStride), "D"((x86_reg)dstStride), "g"(h)\<br>
: XMM_CLOBBERS("%xmm0", "%xmm1", "%xmm2", "%xmm3", \<br> "%xmm4", "%xmm5", "%xmm6", "%xmm7",)\<br> "memory"\<br>
--- 823,829 ----<br> "2: \n\t"\<br> \<br> : "+a"(src), "+c"(dst)\<br>! : "S"((x86_reg)srcStride), "D"((x86_reg)dstStride), "rm"(h)\<br>
: XMM_CLOBBERS("%xmm0", "%xmm1", "%xmm2", "%xmm3", \<br> "%xmm4", "%xmm5", "%xmm6", "%xmm7",)\<br> "memory"\<br>
***************<br>*** 878,884 ****<br> QPEL_H264HV_XMM(%%xmm3, %%xmm4, %%xmm5, %%xmm0, %%xmm1, %%xmm2, 15*48)<br> "2: \n\t"<br> : "+a"(src)<br>
! : "c"(tmp), "S"((x86_reg)srcStride), "g"(size)<br> : XMM_CLOBBERS("%xmm0", "%xmm1", "%xmm2", "%xmm3",<br> "%xmm4", "%xmm5", "%xmm6", "%xmm7",)<br>
"memory"<br><br><br><div class="gmail_quote">On Thu, Apr 12, 2012 at 4:48 PM, Captain Krypto <span dir="ltr"><<a href="mailto:captainkrypto@gmail.com">captainkrypto@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<span style="font-family:Verdana,Arial,Helvetica">I was looking at getting test packages made but I'm having trouble <br>
getting 0.25 fixes to build for Fedora 17. I'm pretty sure the gcc 4.7 <br>problems are supposed to be fixed already but I'm getting the same <br>error as others got before: <br><br>LD libavutil/libmythavutil.so.50 <br>
libavcodec/x86/h264_qpel_mmx.c: Assembler messages: <br>libavcodec/x86/h264_qpel_mmx.c:1294: Error: operand type mismatch for `cmp' <br>libavcodec/x86/h264_qpel_mmx.c:1294: Error: operand type mismatch for `cmp' <br>
libavcodec/x86/h264_qpel_mmx.c:1298: Error: operand type mismatch for `cmp' <br>libavcodec/x86/h264_qpel_mmx.c:1298: Error: operand type mismatch for `cmp' <br>libavcodec/x86/h264_qpel_mmx.c:964: Error: operand type mismatch for `cmp' <br>
libavcodec/x86/h264_qpel_mmx.c:964: Error: operand type mismatch for `cmp' <br>libavcodec/x86/h264_qpel_mmx.c:964: Error: operand type mismatch for `cmp' <br>make[1]: *** [libavcodec/x86/dsputil_mmx.o] Error 1 <br>
<br>Just to make sure I downloaded the patches from the trac ticket but <br>when I tried to apply them it said they were already applied... I'm <br>trying to make sure it's nothing I did in setting up the RPM but so <br>
far I can't see where I did anything wrong. <br><br>Richard </span></blockquote><div><br></div></div><div>Thanks for the hard work. Is it possible to put up the properly compiled rpm's for those of us not running Fedora 17? Thanks!</div>
<br>_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
<br></blockquote></div><br>