[x264-devel] Problems compiling xubuntu ppc

Griffith Rees griff.rees at gmail.com
Tue Jan 16 05:06:02 CET 2007


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)

thanks,
-griff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.videolan.org/pipermail/x264-devel/attachments/20070116/5fe382c0/attachment.htm 


More information about the x264-devel mailing list