[mythtv-commits] Ticket #13049: error: redefinition of 'double bswap_dbl(double)' on ppc64

MythTV noreply at mythtv.org
Thu Jun 1 19:17:13 UTC 2017


#13049: error: redefinition of 'double bswap_dbl(double)' on ppc64
----------------------------------+--------------------------------
 Reporter:  hobbes1069@…          |          Owner:  stuarta
     Type:  Bug Report - General  |         Status:  infoneeded_new
 Priority:  minor                 |      Milestone:  29.0
Component:  MythTV - General      |        Version:  0.28.1
 Severity:  medium                |     Resolution:
 Keywords:                        |  Ticket locked:  0
----------------------------------+--------------------------------

Comment (by hobbes1069@…):

 Nope, that's a no go... same error.

 {{{
 In file included from recorders/NuppelVideoRecorder.cpp:40:0:
 ../libmythbase/bswap.h: In function 'double bswap_dbl(double)':
 ../libmythbase/bswap.h:30:26: error: redefinition of 'double
 bswap_dbl(double)'
  static __inline__ double bswap_dbl(double x)
                           ^~~~~~~~~
 In file included from ../../external/FFmpeg/libavutil/intreadwrite.h:25:0,
                  from ../../external/FFmpeg/libavcodec/get_bits.h:32,
                  from mpeg/H264Parser.h:48,
                  from recorders/dtvrecorder.h:21,
                  from recorders/v4lrecorder.h:5,
                  from recorders/NuppelVideoRecorder.h:33,
                  from recorders/NuppelVideoRecorder.cpp:25:
 ../../external/FFmpeg/libavutil/bswap.h:80:22: note: 'double
 bswap_dbl(double)' previously defined here
  static inline double bswap_dbl(double x)
                       ^~~~~~~~~
 }}}

 I verified the patch did get applied:
 {{{
 Patch #1 (ticket13049-bswap-guard.diff):
 + echo 'Patch #1 (ticket13049-bswap-guard.diff):'
 + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0
 patching file mythtv/libs/libmythbase/bswap.h
 }}}

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13049#comment:5>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list