[x264-devel] Re: Problems compiling xubuntu ppc
Guillaume POIRIER
poirierg at gmail.com
Tue Jan 16 11:57:05 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)
Could you test with another version of GCC? GCC 4.0.1 works well on
OSX, and the version you're using is a prerelease, which may have bugs
that I don't want to work around.
If you could test 4.0.x, that would be great.
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