[MPlayer-users] MPlayer 20110513 Build Issues with --enable-runtime-cpudetection
Brendan Brewster
brendan.brewster at gmail.com
Mon May 16 01:46:49 CEST 2011
Hi,
I checked out a copy of MPlayer from svn on Fri including a copy of ffmpeg
from git master and am having problems building it. I am trying to build a
generic copy for future use, using the SlackBuild script. What I have found,
after some fiddling around, is that it is due to the
--enable-runtime-cpudetection as I have configured with that option only and
get the following:
make[1]: Entering directory
`/home/br3wski3/MPlayer-20110513/ffmpeg/libswscale'
CC options.o
CC rgb2rgb.o
CC swscale.o
In file included from swscale.c:1415:0:
swscale_template.c: In function 'sws_init_swScale_C':
swscale_template.c:2985:47: warning: assignment from incompatible pointer
type
swscale_template.c:2986:47: warning: assignment from incompatible pointer
type
swscale_template.c:2988:48: warning: assignment from incompatible pointer
type
swscale_template.c:2990:48: warning: assignment from incompatible pointer
type
swscale_template.c:3037:43: warning: assignment from incompatible pointer
type
swscale_template.c:3038:43: warning: assignment from incompatible pointer
type
swscale_template.c:3040:44: warning: assignment from incompatible pointer
type
swscale_template.c:3042:44: warning: assignment from incompatible pointer
type
In file included from swscale.c:1438:0:
swscale_template.c: At top level:
swscale_template.c:1851:1: error: redefinition of 'LE9ToUV_c'
swscale_template.c:1851:1: note: previous definition of 'LE9ToUV_c' was here
swscale_template.c:1851:1: error: redefinition of 'LE9ToY_c'
swscale_template.c:1851:1: note: previous definition of 'LE9ToY_c' was here
swscale_template.c:1852:1: error: redefinition of 'BE9ToUV_c'
swscale_template.c:1852:1: note: previous definition of 'BE9ToUV_c' was here
swscale_template.c:1852:1: error: redefinition of 'BE9ToY_c'
swscale_template.c:1852:1: note: previous definition of 'BE9ToY_c' was here
swscale_template.c:1853:1: error: redefinition of 'LE10ToUV_c'
swscale_template.c:1853:1: note: previous definition of 'LE10ToUV_c' was
here
swscale_template.c:1853:1: error: redefinition of 'LE10ToY_c'
swscale_template.c:1853:1: note: previous definition of 'LE10ToY_c' was here
swscale_template.c:1854:1: error: redefinition of 'BE10ToUV_c'
swscale_template.c:1854:1: note: previous definition of 'BE10ToUV_c' was
here
swscale_template.c:1854:1: error: redefinition of 'BE10ToY_c'
swscale_template.c:1854:1: note: previous definition of 'BE10ToY_c' was here
swscale_template.c: In function 'swScale_MMX':
swscale_template.c:2794:42: warning: cast from pointer to integer of
different size
swscale_template.c:2800:46: warning: cast from pointer to integer of
different size
swscale_template.c:2807:42: warning: cast from pointer to integer of
different size
swscale_template.c: In function 'sws_init_swScale_MMX':
swscale_template.c:2985:47: warning: assignment from incompatible pointer
type
swscale_template.c:2986:47: warning: assignment from incompatible pointer
type
swscale_template.c:2988:48: warning: assignment from incompatible pointer
type
swscale_template.c:2990:48: warning: assignment from incompatible pointer
type
swscale_template.c:3037:43: warning: assignment from incompatible pointer
type
swscale_template.c:3038:43: warning: assignment from incompatible pointer
type
swscale_template.c:3040:44: warning: assignment from incompatible pointer
type
swscale_template.c:3042:44: warning: assignment from incompatible pointer
type
In file included from swscale.c:1451:0:
swscale_template.c: At top level:
swscale_template.c:1851:1: error: redefinition of 'LE9ToUV_c'
swscale_template.c:1851:1: note: previous definition of 'LE9ToUV_c' was here
swscale_template.c:1851:1: error: redefinition of 'LE9ToY_c'
swscale_template.c:1851:1: note: previous definition of 'LE9ToY_c' was here
swscale_template.c:1852:1: error: redefinition of 'BE9ToUV_c'
swscale_template.c:1852:1: note: previous definition of 'BE9ToUV_c' was here
swscale_template.c:1852:1: error: redefinition of 'BE9ToY_c'
swscale_template.c:1852:1: note: previous definition of 'BE9ToY_c' was here
swscale_template.c:1853:1: error: redefinition of 'LE10ToUV_c'
swscale_template.c:1853:1: note: previous definition of 'LE10ToUV_c' was
here
swscale_template.c:1853:1: error: redefinition of 'LE10ToY_c'
swscale_template.c:1853:1: note: previous definition of 'LE10ToY_c' was here
swscale_template.c:1854:1: error: redefinition of 'BE10ToUV_c'
swscale_template.c:1854:1: note: previous definition of 'BE10ToUV_c' was
here
swscale_template.c:1854:1: error: redefinition of 'BE10ToY_c'
swscale_template.c:1854:1: note: previous definition of 'BE10ToY_c' was here
swscale_template.c: In function 'hyscale_fast_MMX2':
swscale_template.c:2288:26: warning: initialization from incompatible
pointer type
swscale_template.c: In function 'hcscale_fast_MMX2':
swscale_template.c:2438:26: warning: initialization from incompatible
pointer type
swscale_template.c: In function 'swScale_MMX2':
swscale_template.c:2794:42: warning: cast from pointer to integer of
different size
swscale_template.c:2800:46: warning: cast from pointer to integer of
different size
swscale_template.c:2807:42: warning: cast from pointer to integer of
different size
swscale_template.c: In function 'sws_init_swScale_MMX2':
swscale_template.c:2985:47: warning: assignment from incompatible pointer
type
swscale_template.c:2986:47: warning: assignment from incompatible pointer
type
swscale_template.c:2988:48: warning: assignment from incompatible pointer
type
swscale_template.c:2990:48: warning: assignment from incompatible pointer
type
swscale_template.c:3037:43: warning: assignment from incompatible pointer
type
swscale_template.c:3038:43: warning: assignment from incompatible pointer
type
swscale_template.c:3040:44: warning: assignment from incompatible pointer
type
swscale_template.c:3042:44: warning: assignment from incompatible pointer
type
In file included from swscale.c:1464:0:
swscale_template.c: At top level:
swscale_template.c:1851:1: error: redefinition of 'LE9ToUV_c'
swscale_template.c:1851:1: note: previous definition of 'LE9ToUV_c' was here
swscale_template.c:1851:1: error: redefinition of 'LE9ToY_c'
swscale_template.c:1851:1: note: previous definition of 'LE9ToY_c' was here
swscale_template.c:1852:1: error: redefinition of 'BE9ToUV_c'
swscale_template.c:1852:1: note: previous definition of 'BE9ToUV_c' was here
swscale_template.c:1852:1: error: redefinition of 'BE9ToY_c'
swscale_template.c:1852:1: note: previous definition of 'BE9ToY_c' was here
swscale_template.c:1853:1: error: redefinition of 'LE10ToUV_c'
swscale_template.c:1853:1: note: previous definition of 'LE10ToUV_c' was
here
swscale_template.c:1853:1: error: redefinition of 'LE10ToY_c'
swscale_template.c:1853:1: note: previous definition of 'LE10ToY_c' was here
swscale_template.c:1854:1: error: redefinition of 'BE10ToUV_c'
swscale_template.c:1854:1: note: previous definition of 'BE10ToUV_c' was
here
swscale_template.c:1854:1: error: redefinition of 'BE10ToY_c'
swscale_template.c:1854:1: note: previous definition of 'BE10ToY_c' was here
swscale_template.c: In function 'swScale_3DNow':
swscale_template.c:2794:42: warning: cast from pointer to integer of
different size
swscale_template.c:2800:46: warning: cast from pointer to integer of
different size
swscale_template.c:2807:42: warning: cast from pointer to integer of
different size
swscale_template.c: In function 'sws_init_swScale_3DNow':
swscale_template.c:2985:47: warning: assignment from incompatible pointer
type
swscale_template.c:2986:47: warning: assignment from incompatible pointer
type
swscale_template.c:2988:48: warning: assignment from incompatible pointer
type
swscale_template.c:2990:48: warning: assignment from incompatible pointer
type
swscale_template.c:3037:43: warning: assignment from incompatible pointer
type
swscale_template.c:3038:43: warning: assignment from incompatible pointer
type
swscale_template.c:3040:44: warning: assignment from incompatible pointer
type
swscale_template.c:3042:44: warning: assignment from incompatible pointer
type
swscale.c: In function 'planarCopyWrapper':
swscale.c:1931:25: warning: initialization discards qualifiers from pointer
target type
swscale.c:1933:25: warning: initialization discards qualifiers from pointer
target type
swscale.c:1976:29: warning: initialization discards qualifiers from pointer
target type
swscale.c:1978:29: warning: initialization discards qualifiers from pointer
target type
swscale.c:1982:29: warning: initialization discards qualifiers from pointer
target type
swscale.c:1984:29: warning: initialization discards qualifiers from pointer
target type
swscale.c: In function 'sws_scale':
swscale.c:2193:5: warning: passing argument 1 of 'check_image_pointers' from
incompatible pointer type
swscale.c:2163:12: note: expected 'uint8_t **' but argument is of type
'const uint8_t * const*'
swscale.c:2197:5: warning: passing argument 1 of 'check_image_pointers'
discards qualifiers from pointer target type
swscale.c:2163:12: note: expected 'uint8_t **' but argument is of type
'uint8_t * const*'
make[1]: *** [swscale.o] Error 1
make[1]: Leaving directory
`/home/br3wski3/MPlayer-20110513/ffmpeg/libswscale'
make: *** [ffmpeg/libswscale/libswscale.a] Error 2
Note, it builds fine without the runtime detection option but I would prefer
to have this for generic package purposes. Any help is greatly appreciated,
thanks!
-Brendan
More information about the MPlayer-users
mailing list