[x264-devel] Once more about crosscompilation

Alexander Bokovikov openworld at uralweb.ru
Mon Apr 12 10:18:12 CEST 2010


Hi, All,

I'm using the last snapshot.
I'm still trying to cross-compile LibX264 for PPC on Intel Mac. ? 
Configure passes OK, but make fails with a lot of errors starting from  
here:

In file included from common/ppc/mc.c:34:
common/ppc/ppccommon.h:46: error: syntax error before ‘vector’
common/ppc/ppccommon.h:46: warning: no semicolon at end of struct or  
union
common/ppc/ppccommon.h:47: warning: type defaults to ‘int’ in  
declaration of ‘vec_u32_u’
common/ppc/ppccommon.h:47: warning: data definition has no type or  
storage class
common/ppc/ppccommon.h:51: error: syntax error before ‘vector’
common/ppc/ppccommon.h:51: warning: no semicolon at end of struct or  
union
common/ppc/ppccommon.h:52: warning: type defaults to ‘int’ in  
declaration of ‘vec_u16_u’
common/ppc/ppccommon.h:52: warning: data definition has no type or  
storage class
common/ppc/ppccommon.h:56: error: syntax error before ‘vector’
common/ppc/ppccommon.h:56: warning: no semicolon at end of struct or  
union
common/ppc/ppccommon.h:57: warning: type defaults to ‘int’ in  
declaration of ‘vec_s16_u’
common/ppc/ppccommon.h:57: warning: data definition has no type or  
storage class
common/ppc/ppccommon.h:61: error: syntax error before ‘vector’
common/ppc/ppccommon.h:61: warning: no semicolon at end of struct or  
union
common/ppc/ppccommon.h:62: warning: type defaults to ‘int’ in  
declaration of ‘vec_u8_u’
common/ppc/ppccommon.h:62: warning: data definition has no type or  
storage class
common/ppc/mc.c: In function ‘x264_pixel_avg2_w8_altivec’:
common/ppc/mc.c:75: error: ‘vector’ undeclared (first use in this  
function)
common/ppc/mc.c:75: error: (Each undeclared identifier is reported  
only once
common/ppc/mc.c:75: error: for each function it appears in.)
common/ppc/mc.c:75: error: syntax error before ‘unsigned’

and so on...

Could anybody help please? Maybe I missed something?

Thanks in advance.



More information about the x264-devel mailing list