[x264-devel] Crosscompiling problem

Guillaume POIRIER poirierg at gmail.com
Sat Jan 23 21:33:22 CET 2010


Hi,

On Sat, Jan 23, 2010 at 2:39 PM, Alexander Bokovikov
<openworld at uralweb.ru> wrote:
> Hi, All,
>
> I'm trying to make a PPC build on Intel Mac:
>
> ./configure --host=ppc-darwin
>
> I've got some errors, like these:
>
> gcc -O4 -ffast-math  -Wall -I. -falign-loops=16 -mdynamic-no-pic -faltivec
> -fastf -mcpu=G4 -DARCH_PPC -DSYS_MACOSX -DHAVE_PTHREAD -s
> -fomit-frame-pointer   -c -o common/ppc/mc.o common/ppc/mc.c
> 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
>
> and so on. It looks like "vector" type is not declared.
>
> I'm using OS X 10.5 with XCode 3.1.4 and gcc 4.01 installed.
>
> Could anybody help?

Please send the config.mak file that's in your x264 directory

Guillaume
-- 
"I am the Jesus Christ of politics. I sacrifice myself for everyone."

 -- Silvio Berlusconi


More information about the x264-devel mailing list