[mythtv-users] Fedora 0.25 rpms

jacek burghardt jaceksburghardt at gmail.com
Fri Apr 13 00:32:59 UTC 2012


This is needed to compile mythtv 0.25
*** ./mythtv/libs/libmythbase/compat.h.org      2012-03-31
20:52:30.430461503 -0400
--- ./mythtv/libs/libmythbase/compat.h  2012-03-31 20:59:05.935585911 -0400
***************
*** 44,49 ****
--- 44,51 ----
  # include <sys/resource.h> // for setpriority
  # include <sys/socket.h>
  # include <sys/wait.h>     // For WIFEXITED on Mac OS X
+ # include <stdio.h>        // for snprintf(), used by inline dlerror()
+ # include <unistd.h>       // for usleep()
  #endif

  #ifdef USING_MINGW
*** ./mythtv/libs/libmyth/rssparse.h.org        2012-03-31
20:52:30.427453729 -0400
--- ./mythtv/libs/libmyth/rssparse.h    2012-03-31 21:51:11.687438044 -0400
***************
*** 13,18 ****
--- 13,19 ----
  #include <QPair>
  #include <QMap>
  #include <QVariant>
+ #include <sys/types.h>

  #include "mythexp.h"

*** ./mythtv/libs/libmythtv/audioinput.h.org    2012-03-31
22:41:55.626923063 -0400
--- ./mythtv/libs/libmythtv/audioinput.h        2012-03-31
22:41:22.478248297 -0400
***************
*** 22,27 ****
--- 22,28 ----
  #define _AUDIOINPUT_H_

  #include <QString>
+ #include <unistd.h>

  class AudioInput
  {
*** ./mythtv/external/FFmpeg/libavcodec/x86/h264_qpel_mmx.c.org 2012-03-31
20:52:29.923150437 -0400
--- ./mythtv/external/FFmpeg/libavcodec/x86/h264_qpel_mmx.c     2012-03-31
21:58:48.422270780 -0400
***************
*** 398,404 ****
              "2:                         \n\t"\
              \
              : "+a"(src), "+c"(dst)\
!             : "S"((x86_reg)srcStride), "D"((x86_reg)dstStride), "g"(h)\
              : "memory"\
          );\
          src += 4-(h+5)*srcStride;\
--- 398,404 ----
              "2:                         \n\t"\
              \
              : "+a"(src), "+c"(dst)\
!             : "S"((x86_reg)srcStride), "D"((x86_reg)dstStride), "rm"(h)\
              : "memory"\
          );\
          src += 4-(h+5)*srcStride;\
***************
*** 446,452 ****
              QPEL_H264HV(%%mm3, %%mm4, %%mm5, %%mm0, %%mm1, %%mm2, 15*48)\
              "2:                     \n\t"\
              : "+a"(src)\
!             : "c"(tmp), "S"((x86_reg)srcStride), "g"(size)\
              : "memory"\
              );\
          tmp += 4;\
--- 446,452 ----
              QPEL_H264HV(%%mm3, %%mm4, %%mm5, %%mm0, %%mm1, %%mm2, 15*48)\
              "2:                     \n\t"\
              : "+a"(src)\
!             : "c"(tmp), "S"((x86_reg)srcStride), "rm"(size)\
              : "memory"\
              );\
          tmp += 4;\
***************
*** 823,829 ****
          "2:                          \n\t"\
          \
          : "+a"(src), "+c"(dst)\
!         : "S"((x86_reg)srcStride), "D"((x86_reg)dstStride), "g"(h)\
          : XMM_CLOBBERS("%xmm0", "%xmm1", "%xmm2", "%xmm3", \
                         "%xmm4", "%xmm5", "%xmm6", "%xmm7",)\
            "memory"\
--- 823,829 ----
          "2:                          \n\t"\
          \
          : "+a"(src), "+c"(dst)\
!         : "S"((x86_reg)srcStride), "D"((x86_reg)dstStride), "rm"(h)\
          : XMM_CLOBBERS("%xmm0", "%xmm1", "%xmm2", "%xmm3", \
                         "%xmm4", "%xmm5", "%xmm6", "%xmm7",)\
            "memory"\
***************
*** 878,884 ****
              QPEL_H264HV_XMM(%%xmm3, %%xmm4, %%xmm5, %%xmm0, %%xmm1,
%%xmm2, 15*48)
              "2:                         \n\t"
              : "+a"(src)
!             : "c"(tmp), "S"((x86_reg)srcStride), "g"(size)
              : XMM_CLOBBERS("%xmm0", "%xmm1", "%xmm2", "%xmm3",
                             "%xmm4", "%xmm5", "%xmm6", "%xmm7",)
                "memory"


On Thu, Apr 12, 2012 at 4:48 PM, Captain Krypto <captainkrypto at gmail.com>wrote:

> I was looking at getting test packages made but I'm having trouble
>> getting 0.25 fixes to build for Fedora 17. I'm pretty sure the gcc 4.7
>> problems are supposed to be fixed already but I'm getting the same
>> error as others got before:
>>
>> LD libavutil/libmythavutil.so.50
>> libavcodec/x86/h264_qpel_mmx.c: Assembler messages:
>> libavcodec/x86/h264_qpel_mmx.c:1294: Error: operand type mismatch for
>> `cmp'
>> libavcodec/x86/h264_qpel_mmx.c:1294: Error: operand type mismatch for
>> `cmp'
>> libavcodec/x86/h264_qpel_mmx.c:1298: Error: operand type mismatch for
>> `cmp'
>> libavcodec/x86/h264_qpel_mmx.c:1298: Error: operand type mismatch for
>> `cmp'
>> libavcodec/x86/h264_qpel_mmx.c:964: Error: operand type mismatch for
>> `cmp'
>> libavcodec/x86/h264_qpel_mmx.c:964: Error: operand type mismatch for
>> `cmp'
>> libavcodec/x86/h264_qpel_mmx.c:964: Error: operand type mismatch for
>> `cmp'
>> make[1]: *** [libavcodec/x86/dsputil_mmx.o] Error 1
>>
>> Just to make sure I downloaded the patches from the trac ticket but
>> when I tried to apply them it said they were already applied... I'm
>> trying to make sure it's nothing I did in setting up the RPM but so
>> far I can't see where I did anything wrong.
>>
>> Richard
>
>
> 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!
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20120412/6ff4d85d/attachment.html>


More information about the mythtv-users mailing list