[x264-devel] Re: Problems compiling xubuntu ppc

Guillaume POIRIER poirierg at gmail.com
Tue Jan 16 10:04:15 CET 2007


Hi,

On 1/16/07, Griffith Rees <griff.rees at gmail.com> wrote:
> Hello. I'm having trouble building x264 svn.
>
> gcc -O4 -ffast-math  -Wall -I. -D__X264__ -DHAVE_MALLOC_H -maltivec
> -mabi=altivec -DARCH_PPC -DSYS_LINUX -DHAVE_PTHREAD -s
> -fomit-frame-pointer   -c -o common/quant.o common/quant.c
> In file included from common/quant.c:29:
> common/ppc/quant.h:26: error: expected specifier-qualifier-list before
> 'vector'
> common/ppc/quant.h:31: error: expected specifier-qualifier-list before
> 'vector'
> make: *** [common/quant.o] Error 1
>
> This problem is mentioned here:
> http://forum.videolan.org/viewtopic.php?t=29952&start=0&sid=8fc711b588d1bf9ef6ae5cd45aa3a56d
> but no solution. Googling suggests this has to do with altivec instructions.
> I may just disable the altivec options, but I presume things will run faster
> if I don't.
>
> As per the forum request, my gcc is:
>
> gcc (GCC) 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)

I'm the author of this code, but I don't have the same setup as yours
to to reproduce it.
Do you provide ssh access to this machine (like someone offered on the forum) ?

Guillaume

-- 
This is the x264-devel mailing-list
To unsubscribe, go to: http://developers.videolan.org/lists.html



More information about the x264-devel mailing list