[MPlayer-dev-eng] [BUG] Mplayer 1.0 pre5 ppc/altivec issues

Chris White webmaster at securesystem.info
Thu Jul 15 04:16:07 CEST 2004


All,

I just talked to someone that uses mplayer on a ppc. The person tried 
pre5 but couldn't get it to compile. The Output was as follows:

**** Thu Jul 15 10:54:23 2004
7?? 15 10:54:23 <dostrow> In file included from yuv2rgb.c:42:
7?? 15 10:54:23 <dostrow> swscale_internal.h:138: error: syntax error 
before "vector"
7?? 15 10:54:23 <dostrow> swscale_internal.h:138: warning: no semicolon 
at end of struct or union
7?? 15 10:54:23 <dostrow> swscale_internal.h:139: error: syntax error 
before "signed"
7?? 15 10:54:23 <dostrow> swscale_internal.h:140: error: syntax error 
before "signed"
7?? 15 10:54:23 <dostrow> swscale_internal.h:141: error: syntax error 
before "signed"
7?? 15 10:54:24 <dostrow> swscale_internal.h:142: error: syntax error 
before "signed"
7?? 15 10:54:26 <dostrow> swscale_internal.h:143: error: syntax error 
before "signed"
7?? 15 10:54:28 <dostrow> swscale_internal.h:144: error: syntax error 
before "unsigned"
7?? 15 10:54:30 <dostrow> swscale_internal.h:148: error: syntax error 
before '}' token
7?? 15 10:54:32 <dostrow> swscale_internal.h:148: warning: data 
definition has no type or storage class
7?? 15 10:54:36 <dostrow> swscale_internal.h:151: error: syntax error 
before '*' token
7?? 15 10:54:38 <dostrow> swscale_internal.h:152: error: syntax error 
before '*' token
7?? 15 10:54:40 <dostrow> yuv2rgb.c:295: error: syntax error before '*' 
token
7?? 15 10:54:42 <dostrow> yuv2rgb.c: In function `yuv2rgb_c_32':
7?? 15 10:54:48 <dostrow> yuv2rgb.c:295: error: `c' undeclared (first 
use in this function)
7?? 15 10:54:50 <dostrow> yuv2rgb.c:295: error: (Each undeclared 
identifier is reported only once
7?? 15 10:54:52 <dostrow> yuv2rgb.c:295: error: for each function it 
appears in.)
7?? 15 10:54:53 <dostrow> yuv2rgb.c:295: error: `srcStride' undeclared 
(first use in this function)
7?? 15 10:54:55 <dostrow> yuv2rgb.c:295: error: `srcSliceH' undeclared 
(first use in this function)
7?? 15 10:54:58 <dostrow> yuv2rgb.c:295: error: `dst' undeclared (first 
use in this function)
7?? 15 10:54:59 <dostrow> yuv2rgb.c:295: error: `srcSliceY' undeclared 
(first use in this function)
7?? 15 10:55:01 <dostrow> yuv2rgb.c:295: error: `dstStride' undeclared 
(first use in this function)
7?? 15 10:55:05 <dostrow> yuv2rgb.c:295: error: `src' undeclared (first 
use in this function)
7?? 15 10:55:07 <dostrow> yuv2rgb.c: At top level:
7?? 15 10:55:09 <dostrow> yuv2rgb.c:313: error: syntax error before '*' 
token
7?? 15 10:55:11 <dostrow> yuv2rgb.c: In function `yuv2rgb_c_24_rgb':
7?? 15 10:55:13 <dostrow> yuv2rgb.c:313: error: `c' undeclared (first 
use in this function)
7?? 15 10:55:15 <dostrow> yuv2rgb.c:313: error: `srcStride' undeclared 
(first use in this function)
7?? 15 10:55:17 <dostrow> yuv2rgb.c:313: error: `srcSliceH' undeclared 
(first use in this function)
7?? 15 10:55:19 <dostrow> yuv2rgb.c:313: error: `dst' undeclared (first 
use in this function)
7?? 15 10:55:21 <dostrow> yuv2rgb.c:313: error: `srcSliceY' undeclared 
(first use in this function)
7?? 15 10:55:23 <dostrow> yuv2rgb.c:313: error: `dstStride' undeclared 
(first use in this
7?? 15 10:55:25 <dostrow> yuv2rgb.c:313: error: `src' undeclared (first 
use in this function)
7?? 15 10:55:27 <dostrow> yuv2rgb.c: At top level:
7?? 15 10:55:29 <dostrow> yuv2rgb.c:332: error: syntax error before '*' 
token
7?? 15 10:55:31 <dostrow> yuv2rgb.c: In function `yuv2rgb_c_24_bgr':
7?? 15 10:55:35 <dostrow> yuv2rgb.c:332: error: `c' undeclared (first 
use in this function)
7?? 15 10:55:37 <dostrow> yuv2rgb.c:332: error: `srcStride' undeclared 
(first use in this function)
7?? 15 10:55:39 <dostrow> yuv2rgb.c:332: error: `srcSliceH' undeclared 
(first use in this function)
7?? 15 10:55:42 <dostrow> yuv2rgb.c:332: error: `dst' undeclared (first 
use in this function)
7?? 15 10:55:43 <dostrow> yuv2rgb.c:332: error: `srcSliceY' undeclared 
(first use in this function)
7?? 15 10:55:45 <dostrow> yuv2rgb.c:332: error: `dstStride' undeclared 
(first use in this function)
7?? 15 10:55:47 <dostrow> yuv2rgb.c:332: error: `src' undeclared (first 
use in this function)
7?? 15 10:55:49 <dostrow> yuv2rgb.c: At top level:
7?? 15 10:55:51 <dostrow> yuv2rgb.c:352: error: syntax error before '*' 
token
7?? 15 10:55:53 <dostrow> yuv2rgb.c: In function `yuv2rgb_c_16':
7?? 15 10:55:55 <dostrow> yuv2rgb.c:352: error: `c' undeclared (first 
use in this function)
7?? 15 10:55:57 <dostrow> yuv2rgb.c:352: error: `srcStride' undeclared 
(first use in this function)
7?? 15 10:55:59 <dostrow> yuv2rgb.c:352: error: `srcSliceH' undeclared 
(first use in this function)
7?? 15 10:56:03 <dostrow> yuv2rgb.c:352: error: `dst' undeclared (first 
use in this function)
7?? 15 10:56:05 <dostrow> yuv2rgb.c:352: error: `srcSliceY' undeclared 
(first use in this function)
7?? 15 10:56:07 <dostrow> yuv2rgb.c:352: error: `dstStride' undeclared 
(first use in this function)
7?? 15 10:56:09 <dostrow> yuv2rgb.c:352: error: `src' undeclared (first 
use in this function)
7?? 15 10:56:11 <dostrow> yuv2rgb.c: At top level:
7?? 15 10:56:13 <dostrow> yuv2rgb.c:372: error: syntax error before '*' 
token
7?? 15 10:56:15 <dostrow> yuv2rgb.c: In function `yuv2rgb_c_8':
7?? 15 10:56:17 <dostrow> yuv2rgb.c:372: error: `c' undeclared (first 
use in this function)
7?? 15 10:56:19 <dostrow> yuv2rgb.c:372: error: `srcStride' undeclared 
(first use in this function)
7?? 15 10:56:21 <dostrow> yuv2rgb.c:372: error: `srcSliceH' undeclared 
(first use in this function)
7?? 15 10:56:23 <dostrow> yuv2rgb.c:372: error: `dst' undeclared (first 
use in this function)
7?? 15 10:56:25 <dostrow> yuv2rgb.c:372: error: `srcSliceY' undeclared 
(first use in this function)
7?? 15 10:56:27 <dostrow> yuv2rgb.c:372: error: `dstStride' undeclared 
(first use in this function)
7?? 15 10:56:29 <dostrow> yuv2rgb.c:372: error: `src' undeclared (first 
use in this function)
7?? 15 10:56:33 <dostrow> yuv2rgb.c: At top level:
7?? 15 10:56:35 <dostrow> yuv2rgb.c:391: error: syntax error before '*' 
token
7?? 15 10:56:37 <dostrow> yuv2rgb.c: In function 
`yuv2rgb_c_8_ordered_dither':
7?? 15 10:56:43 <dostrow> yuv2rgb.c:391: error: `c' undeclared (first 
use in this function)
7?? 15 10:56:45 <dostrow> yuv2rgb.c:391: error: `srcStride' undeclared 
(first use in this function)
7?? 15 10:56:47 <dostrow> yuv2rgb.c:391: error: `srcSliceH' undeclared 
(first use in this function)
7?? 15 10:56:48 <dostrow> yuv2rgb.c:391: error: `dst' undeclared (first 
use in this function)
7?? 15 10:56:51 <dostrow> yuv2rgb.c:391: error: `srcSliceY' undeclared 
(first use in this function)
7?? 15 10:56:53 <dostrow> yuv2rgb.c:391: error: `dstStride' undeclared 
(first use in this function)
7?? 15 10:56:54 <dostrow> yuv2rgb.c:391: error: `src' undeclared (first 
use in this function)
7?? 15 10:56:56 <dostrow> yuv2rgb.c: At top level:
7?? 15 10:56:58 <dostrow> yuv2rgb.c:427: error: syntax error before '*' 
token
7?? 15 10:57:02 <dostrow> yuv2rgb.c: In function `yuv2rgb_c_4':
7?? 15 10:57:04 <dostrow> yuv2rgb.c:427: error: `c' undeclared (first 
use in this function)
7?? 15 10:57:06 <dostrow> yuv2rgb.c:427: error: `srcStride' undeclared 
(first use in this function)
7?? 15 10:57:07 <dostrow> yuv2rgb.c:427: error: `srcSliceH' undeclared 
(first use in this function)
7?? 15 10:57:09 <dostrow> yuv2rgb.c:427: error: `dst' undeclared (first 
use in this function)
7?? 15 10:57:12 <dostrow> yuv2rgb.c:427: error: `srcSliceY' undeclared 
(first use in this function)
7?? 15 10:57:13 <dostrow> yuv2rgb.c:427: error: `dstStride' undeclared 
(first use in this function)
7?? 15 10:57:16 <dostrow> yuv2rgb.c:427: error: `src' undeclared (first 
use in this function)
7?? 15 10:57:17 <dostrow> yuv2rgb.c: At top level:
7?? 15 10:57:18 <dostrow> yuv2rgb.c:460: error: syntax error before '*' 
token
7?? 15 10:57:20 <dostrow> yuv2rgb.c: In function 
`yuv2rgb_c_4_ordered_dither':
7?? 15 10:57:22 <dostrow> yuv2rgb.c:460: error: `c' undeclared (first 
use in this function)
7?? 15 10:57:24 <dostrow> yuv2rgb.c:460: error: `srcStride' undeclared 
(first use in this function)
7?? 15 10:57:26 <dostrow> yuv2rgb.c:460: error: `srcSliceH' undeclared 
(first use in this function)
7?? 15 10:57:30 <dostrow> yuv2rgb.c:460: error: `dst' undeclared (first 
use in this function)
7?? 15 10:57:32 <dostrow> yuv2rgb.c:460: error: `srcSliceY' undeclared 
(first use in this function)
7?? 15 10:57:34 <dostrow> yuv2rgb.c:460: error: `dstStride' undeclared 
(first use in this function)
7?? 15 10:57:38 <dostrow> yuv2rgb.c:460: error: `src' undeclared (first 
use in this function)
7?? 15 10:57:40 <dostrow> yuv2rgb.c: At top level:
7?? 15 10:57:42 <dostrow> yuv2rgb.c:499: error: syntax error before '*' 
token
7?? 15 10:57:44 <dostrow> yuv2rgb.c: In function `yuv2rgb_c_4b':
7?? 15 10:57:46 <dostrow> yuv2rgb.c:499: error: `c' undeclared (first 
use in this function)
7?? 15 10:57:48 <dostrow> yuv2rgb.c:499: error: `srcStride' undeclared 
(first use in this function)
7?? 15 10:57:50 <dostrow> yuv2rgb.c:499: error: `srcSliceH' undeclared 
(first use in this function)
7?? 15 10:57:52 <dostrow> yuv2rgb.c:499: error: `dst' undeclared (first 
use in this function)
7?? 15 10:57:54 <dostrow> yuv2rgb.c:499: error: `srcSliceY' undeclared 
(first use in this function)
7?? 15 10:57:56 <dostrow> yuv2rgb.c:499: error: `dstStride' undeclared 
(first use in this function)
7?? 15 10:58:00 <dostrow> yuv2rgb.c:499: error: `src' undeclared (first 
use in this function)
7?? 15 10:58:02 <dostrow> yuv2rgb.c: At top level:
7?? 15 10:58:04 <dostrow> yuv2rgb.c:517: error: syntax error before '*' 
token
7?? 15 10:58:06 <dostrow> yuv2rgb.c: In function 
`yuv2rgb_c_4b_ordered_dither':
7?? 15 10:58:07 <dostrow> yuv2rgb.c:517: error: `c' undeclared (first 
use in this function)
7?? 15 10:58:09 <dostrow> yuv2rgb.c:517: error: `srcStride' undeclared 
(first use in this function)
7?? 15 10:58:11 <dostrow> yuv2rgb.c:517: error: `srcSliceH' undeclared 
(first use in this function)
7?? 15 10:58:13 <dostrow> yuv2rgb.c:517: error: `dst' undeclared (first 
use in this function)
7?? 15 10:58:15 <dostrow> yuv2rgb.c:517: error: `srcSliceY' undeclared 
(first use in this function)
7?? 15 10:58:17 <dostrow> yuv2rgb.c:517: error: `dstStride' undeclared 
(first use in this function)
7?? 15 10:58:19 <dostrow> yuv2rgb.c:517: error: `src' undeclared (first 
use in this function)
7?? 15 10:58:21 <dostrow> yuv2rgb.c: At top level:
7?? 15 10:58:23 <dostrow> yuv2rgb.c:551: error: syntax error before '*' 
token
7?? 15 10:58:25 <dostrow> yuv2rgb.c: In function 
`yuv2rgb_c_1_ordered_dither':
7?? 15 10:58:29 <dostrow> yuv2rgb.c:551: error: `c' undeclared (first 
use in this function)
7?? 15 10:58:31 <dostrow> yuv2rgb.c:551: error: `srcStride' undeclared 
(first use in this function)
7?? 15 10:58:33 <dostrow> yuv2rgb.c:551: error: `srcSliceH' undeclared 
(first use in this function)
7?? 15 10:58:38 <dostrow> yuv2rgb.c:551: error: `dst' undeclared (first 
use in this function)
7?? 15 10:58:40 <dostrow> yuv2rgb.c:551: error: `srcSliceY' undeclared 
(first use in this function)
7?? 15 10:58:42 <dostrow> yuv2rgb.c:551: error: `dstStride' undeclared 
(first use in this function)
7?? 15 10:58:44 <dostrow> yuv2rgb.c:551: error: `src' undeclared (first 
use in this function)
7?? 15 10:58:46 <dostrow> yuv2rgb.c: At top level:
7?? 15 10:58:48 <dostrow> yuv2rgb.c:584: error: syntax error before '*' 
token
7?? 15 10:58:50 <dostrow> yuv2rgb.c: In function `yuv2rgb_get_func_ptr':
7?? 15 10:58:52 <dostrow> yuv2rgb.c:611: error: `c' undeclared (first 
use in this function)
7?? 15 10:58:54 <dostrow> yuv2rgb.c:613: warning: initialization makes 
pointer from integer without a cast
7?? 15 10:58:55 <dostrow> yuv2rgb.c: At top level:
7?? 15 10:58:59 <dostrow> yuv2rgb.c:651: error: syntax error before '*' 
token
7?? 15 10:59:01 <dostrow> yuv2rgb.c: In function `yuv2rgb_c_init_tables':
7?? 15 10:59:03 <dostrow> yuv2rgb.c:653: error: `c' undeclared (first 
use in this function)
7?? 15 10:59:06 <dostrow> yuv2rgb.c:667: error: `inv_table' undeclared 
(first use in this function)
7?? 15 10:59:07 <dostrow> yuv2rgb.c:675: error: `fullRange' undeclared 
(first use in this function)
7?? 15 10:59:09 <dostrow> yuv2rgb.c:680: error: `contrast' undeclared 
(first use in this function)
7?? 15 10:59:11 <dostrow> yuv2rgb.c:681: error: `saturation' undeclared 
(first use in this function)
7?? 15 10:59:13 <dostrow> yuv2rgb.c:686: error: `brightness' undeclared 
(first use in this function)
7?? 15 10:59:17 <dostrow> make[1]: *** [yuv2rgb.o] Error 1
7?? 15 10:59:19 <dostrow> make[1]: Leaving directory 
`MPlayer-1.0pre5/postproc'
7?? 15 10:59:21 <dostrow> make: *** [postproc/libswscale.a] Error 2

I searched for the "vector" declaration, but couldn't seem to find any. 
Thanks ahead of time for the input.

Chris White




More information about the MPlayer-dev-eng mailing list