Um... I think those are os x options. Not ppc linux options. No, I remember now I just ran ./configure without any alterations, orginially (I got confused 'cause I messed around with my compile of ffmpeg), so I doubt pibkac is quite fair :P. Just for the record:
<br><br>changing config.mak to have your options gives me:<br><br>rm -f .depend<br>( echo -n "`dirname common/mc.c`/" && gcc gcc -arch ppc -O4 -ffast-math -Wall -I. -D__X264__ -falign-loops=16 -faltivec -fastf -mcpu=G4 -DARCH_PPC -DSYS_MACOSX -DHAVE_PTHREAD -s -fomit-frame-pointer -arch ppc -c -o common/ppc/quant.o common/ppc/quant.c common/mc.c -MM -g0 ) 1>> .depend; ( echo -n "`dirname common/predict.c`/" && gcc gcc -arch ppc -O4 -ffast-math -Wall -I. -D__X264__ -falign-loops=16 -faltivec -fastf -mcpu=G4 -DARCH_PPC -DSYS_MACOSX -DHAVE_PTHREAD -s -fomit-frame-pointer -arch ppc -c -o common/ppc/quant.o common/ppc/quant.c common/predict.c -MM -g0 ) 1>> .depend; ( echo -n "`dirname common/pixel.c`/" && gcc gcc -arch ppc -O4 -ffast-math -Wall -I. -D__X264__ -falign-loops=16 -faltivec -fastf -mcpu=G4 -DARCH_PPC -DSYS_MACOSX -DHAVE_PTHREAD -s -fomit-frame-pointer -arch ppc -c -o common/ppc/quant.o common/ppc/quant.c common/pixel.c -MM -g0 ) 1>> .depend; ( echo -n "`dirname common/macroblock.c`/" && gcc gcc -arch ppc -O4 -ffast-math -Wall -I. -D__X264__ -falign-loops=16 -faltivec -fastf -mcpu=G4 -DARCH_PPC -DSYS_MACOSX -DHAVE_PTHREAD -s -fomit-frame-pointer -arch ppc -c -o common/ppc/quant.o common/ppc/quant.c common/macroblock.c -MM -g0 ) 1>> .depend; ( echo -n "`dirname common/frame.c`/" && gcc gcc -arch ppc -O4 -ffast-math -Wall -I. -D__X264__ -falign-loops=16 -faltivec -fastf -mcpu=G4 -DARCH_PPC -DSYS_MACOSX -DHAVE_PTHREAD -s -fomit-frame-pointer -arch ppc -c -o common/ppc/quant.o common/ppc/quant.c common/frame.c -MM -g0 ) 1>> .depend; ( echo -n "`dirname common/dct.c`/" && gcc gcc -arch ppc -O4 -ffast-math -Wall -I. -D__X264__ -falign-loops=16 -faltivec -fastf -mcpu=G4 -DARCH_PPC -DSYS_MACOSX -DHAVE_PTHREAD -s -fomit-frame-pointer -arch ppc -c -o common/ppc/quant.o common/ppc/quant.c common/dct.c -MM -g0 ) 1>> .depend; ( echo -n "`dirname common/cpu.c`/" && gcc gcc -arch ppc -O4 -ffast-math -Wall -I. -D__X264__ -falign-loops=16 -faltivec -fastf -mcpu=G4 -DARCH_PPC -DSYS_MACOSX -DHAVE_PTHREAD -s -fomit-frame-pointer -arch ppc -c -o common/ppc/quant.o common/ppc/quant.c common/cpu.c -MM -g0 ) 1>> .depend; ( echo -n "`dirname common/cabac.c`/" && gcc gcc -arch ppc -O4 -ffast-math -Wall -I. -D__X264__ -falign-loops=16 -faltivec -fastf -mcpu=G4 -DARCH_PPC -DSYS_MACOSX -DHAVE_PTHREAD -s -fomit-frame-pointer -arch ppc -c -o common/ppc/quant.o common/ppc/quant.c common/cabac.c -MM -g0 ) 1>> .depend; ( echo -n "`dirname common/common.c`/" && gcc gcc -arch ppc -O4 -ffast-math -Wall -I. -D__X264__ -falign-loops=16 -faltivec -fastf -mcpu=G4 -DARCH_PPC -DSYS_MACOSX -DHAVE_PTHREAD -s -fomit-frame-pointer -arch ppc -c -o common/ppc/quant.o common/ppc/quant.c common/common.c -MM -g0 ) 1>> .depend; ( echo -n "`dirname common/mdate.c`/" && gcc gcc -arch ppc -O4 -ffast-math -Wall -I. -D__X264__ -falign-loops=16 -faltivec -fastf -mcpu=G4 -DARCH_PPC -DSYS_MACOSX -DHAVE_PTHREAD -s -fomit-frame-pointer -arch ppc -c -o common/ppc/quant.o common/ppc/quant.c common/mdate.c -MM -g0 ) 1>> .depend; ( echo -n "`dirname common/csp.c`/" && gcc gcc -arch ppc -O4 -ffast-math -Wall -I. -D__X264__ -falign-loops=16 -faltivec -fastf -mcpu=G4 -DARCH_PPC -DSYS_MACOSX -DHAVE_PTHREAD -s -fomit-frame-pointer -arch ppc -c -o common/ppc/quant.o common/ppc/quant.c common/csp.c -MM -g0 ) 1>> .depend; ( echo -n "`dirname common/set.c`/" && gcc gcc -arch ppc -O4 -ffast-math -Wall -I. -D__X264__ -falign-loops=16 -faltivec -fastf -mcpu=G4 -DARCH_PPC -DSYS_MACOSX -DHAVE_PTHREAD -s -fomit-frame-pointer -arch ppc -c -o common/ppc/quant.o common/ppc/quant.c common/set.c -MM -g0 ) 1>> .depend; ( echo -n "`dirname common/quant.c`/" && gcc gcc -arch ppc -O4 -ffast-math -Wall -I. -D__X264__ -falign-loops=16 -faltivec -fastf -mcpu=G4 -DARCH_PPC -DSYS_MACOSX -DHAVE_PTHREAD -s -fomit-frame-pointer -arch ppc -c -o common/ppc/quant.o common/ppc/quant.c common/quant.c -MM -g0 ) 1>> .depend; ( echo -n "`dirname encoder/analyse.c`/" && gcc gcc -arch ppc -O4 -ffast-math -Wall -I. -D__X264__ -falign-loops=16 -faltivec -fastf -mcpu=G4 -DARCH_PPC -DSYS_MACOSX -DHAVE_PTHREAD -s -fomit-frame-pointer -arch ppc -c -o common/ppc/quant.o common/ppc/quant.c encoder/analyse.c -MM -g0 ) 1>> .depend; ( echo -n "`dirname encoder/me.c`/" && gcc gcc -arch ppc -O4 -ffast-math -Wall -I. -D__X264__ -falign-loops=16 -faltivec -fastf -mcpu=G4 -DARCH_PPC -DSYS_MACOSX -DHAVE_PTHREAD -s -fomit-frame-pointer -arch ppc -c -o common/ppc/quant.o common/ppc/quant.c encoder/me.c -MM -g0 ) 1>> .depend; ( echo -n "`dirname encoder/ratecontrol.c`/" && gcc gcc -arch ppc -O4 -ffast-math -Wall -I. -D__X264__ -falign-loops=16 -faltivec -fastf -mcpu=G4 -DARCH_PPC -DSYS_MACOSX -DHAVE_PTHREAD -s -fomit-frame-pointer -arch ppc -c -o common/ppc/quant.o common/ppc/quant.c encoder/ratecontrol.c -MM -g0 ) 1>> .depend; ( echo -n "`dirname encoder/set.c`/" && gcc gcc -arch ppc -O4 -ffast-math -Wall -I. -D__X264__ -falign-loops=16 -faltivec -fastf -mcpu=G4 -DARCH_PPC -DSYS_MACOSX -DHAVE_PTHREAD -s -fomit-frame-pointer -arch ppc -c -o common/ppc/quant.o common/ppc/quant.c encoder/set.c -MM -g0 ) 1>> .depend; ( echo -n "`dirname encoder/macroblock.c`/" && gcc gcc -arch ppc -O4 -ffast-math -Wall -I. -D__X264__ -falign-loops=16 -faltivec -fastf -mcpu=G4 -DARCH_PPC -DSYS_MACOSX -DHAVE_PTHREAD -s -fomit-frame-pointer -arch ppc -c -o common/ppc/quant.o common/ppc/quant.c encoder/macroblock.c -MM -g0 ) 1>> .depend; ( echo -n "`dirname encoder/cabac.c`/" && gcc gcc -arch ppc -O4 -ffast-math -Wall -I. -D__X264__ -falign-loops=16 -faltivec -fastf -mcpu=G4 -DARCH_PPC -DSYS_MACOSX -DHAVE_PTHREAD -s -fomit-frame-pointer -arch ppc -c -o common/ppc/quant.o common/ppc/quant.c encoder/cabac.c -MM -g0 ) 1>> .depend; ( echo -n "`dirname encoder/cavlc.c`/" && gcc gcc -arch ppc -O4 -ffast-math -Wall -I. -D__X264__ -falign-loops=16 -faltivec -fastf -mcpu=G4 -DARCH_PPC -DSYS_MACOSX -DHAVE_PTHREAD -s -fomit-frame-pointer -arch ppc -c -o common/ppc/quant.o common/ppc/quant.c encoder/cavlc.c -MM -g0 ) 1>> .depend; ( echo -n "`dirname encoder/encoder.c`/" && gcc gcc -arch ppc -O4 -ffast-math -Wall -I. -D__X264__ -falign-loops=16 -faltivec -fastf -mcpu=G4 -DARCH_PPC -DSYS_MACOSX -DHAVE_PTHREAD -s -fomit-frame-pointer -arch ppc -c -o common/ppc/quant.o common/ppc/quant.c encoder/encoder.c -MM -g0 ) 1>> .depend; ( echo -n "`dirname encoder/eval.c`/" && gcc gcc -arch ppc -O4 -ffast-math -Wall -I. -D__X264__ -falign-loops=16 -faltivec -fastf -mcpu=G4 -DARCH_PPC -DSYS_MACOSX -DHAVE_PTHREAD -s -fomit-frame-pointer -arch ppc -c -o common/ppc/quant.o common/ppc/quant.c encoder/eval.c -MM -g0 ) 1>> .depend; ( echo -n "`dirname common/ppc/mc.c`/" && gcc gcc -arch ppc -O4 -ffast-math -Wall -I. -D__X264__ -falign-loops=16 -faltivec -fastf -mcpu=G4 -DARCH_PPC -DSYS_MACOSX -DHAVE_PTHREAD -s -fomit-frame-pointer -arch ppc -c -o common/ppc/quant.o common/ppc/quant.c common/ppc/mc.c -MM -g0 ) 1>> .depend; ( echo -n "`dirname common/ppc/pixel.c`/" && gcc gcc -arch ppc -O4 -ffast-math -Wall -I. -D__X264__ -falign-loops=16 -faltivec -fastf -mcpu=G4 -DARCH_PPC -DSYS_MACOSX -DHAVE_PTHREAD -s -fomit-frame-pointer -arch ppc -c -o common/ppc/quant.o common/ppc/quant.c common/ppc/pixel.c -MM -g0 ) 1>> .depend; ( echo -n "`dirname common/ppc/dct.c`/" && gcc gcc -arch ppc -O4 -ffast-math -Wall -I. -D__X264__ -falign-loops=16 -faltivec -fastf -mcpu=G4 -DARCH_PPC -DSYS_MACOSX -DHAVE_PTHREAD -s -fomit-frame-pointer -arch ppc -c -o common/ppc/quant.o common/ppc/quant.c common/ppc/dct.c -MM -g0 ) 1>> .depend; ( echo -n "`dirname common/ppc/quant.c`/" && gcc gcc -arch ppc -O4 -ffast-math -Wall -I. -D__X264__ -falign-loops=16 -faltivec -fastf -mcpu=G4 -DARCH_PPC -DSYS_MACOSX -DHAVE_PTHREAD -s -fomit-frame-pointer -arch ppc -c -o common/ppc/quant.o common/ppc/quant.c common/ppc/quant.c -MM -g0 ) 1>> .depend; ( echo -n "`dirname
x264.c`/" && gcc gcc -arch ppc -O4 -ffast-math -Wall -I. -D__X264__ -falign-loops=16 -faltivec -fastf -mcpu=G4 -DARCH_PPC -DSYS_MACOSX -DHAVE_PTHREAD -s -fomit-frame-pointer -arch ppc -c -o common/ppc/quant.o common/ppc/quant.c
x264.c -MM -g0 ) 1>> .depend; ( echo -n "`dirname matroska.c`/" && gcc gcc -arch ppc -O4 -ffast-math -Wall -I. -D__X264__ -falign-loops=16 -faltivec -fastf -mcpu=G4 -DARCH_PPC -DSYS_MACOSX -DHAVE_PTHREAD -s -fomit-frame-pointer -arch ppc -c -o common/ppc/quant.o common/ppc/quant.c
matroska.c -MM -g0 ) 1>> .depend; ( echo -n "`dirname muxers.c`/" && gcc gcc -arch ppc -O4 -ffast-math -Wall -I. -D__X264__ -falign-loops=16 -faltivec -fastf -mcpu=G4 -DARCH_PPC -DSYS_MACOSX -DHAVE_PTHREAD -s -fomit-frame-pointer -arch ppc -c -o common/ppc/quant.o common/ppc/quant.c
muxers.c -MM -g0 ) 1>> .depend;<br>gcc: gcc: No such file or directory<br>gcc: ppc: No such file or directory<br>gcc: ppc: No such file or directory<br>gcc: cannot specify -o with -c or -S with multiple files<br>gcc: gcc: No such file or directory
<br>gcc: ppc: No such file or directory<br>gcc: ppc: No such file or directory<br>gcc: cannot specify -o with -c or -S with multiple files<br>gcc: gcc: No such file or directory<br>gcc: ppc: No such file or directory<br>gcc: ppc: No such file or directory
<br>gcc: cannot specify -o with -c or -S with multiple files<br>gcc: gcc: No such file or directory<br>gcc: ppc: No such file or directory<br>gcc: ppc: No such file or directory<br>gcc: cannot specify -o with -c or -S with multiple files
<br>gcc: gcc: No such file or directory<br>gcc: ppc: No such file or directory<br>gcc: ppc: No such file or directory<br>gcc: cannot specify -o with -c or -S with multiple files<br>gcc: gcc: No such file or directory<br>gcc: ppc: No such file or directory
<br>gcc: ppc: No such file or directory<br>gcc: cannot specify -o with -c or -S with multiple files<br>gcc: gcc: No such file or directory<br>gcc: ppc: No such file or directory<br>gcc: ppc: No such file or directory<br>gcc: cannot specify -o with -c or -S with multiple files
<br>gcc: gcc: No such file or directory<br>gcc: ppc: No such file or directory<br>gcc: ppc: No such file or directory<br>gcc: cannot specify -o with -c or -S with multiple files<br>gcc: gcc: No such file or directory<br>gcc: ppc: No such file or directory
<br>gcc: ppc: No such file or directory<br>gcc: cannot specify -o with -c or -S with multiple files<br>gcc: gcc: No such file or directory<br>gcc: ppc: No such file or directory<br>gcc: ppc: No such file or directory<br>gcc: cannot specify -o with -c or -S with multiple files
<br>gcc: gcc: No such file or directory<br>gcc: ppc: No such file or directory<br>gcc: ppc: No such file or directory<br>gcc: cannot specify -o with -c or -S with multiple files<br>gcc: gcc: No such file or directory<br>gcc: ppc: No such file or directory
<br>gcc: ppc: No such file or directory<br>gcc: cannot specify -o with -c or -S with multiple files<br>gcc: gcc: No such file or directory<br>gcc: ppc: No such file or directory<br>gcc: ppc: No such file or directory<br>gcc: cannot specify -o with -c or -S with multiple files
<br>gcc: gcc: No such file or directory<br>gcc: ppc: No such file or directory<br>gcc: ppc: No such file or directory<br>gcc: cannot specify -o with -c or -S with multiple files<br>gcc: gcc: No such file or directory<br>gcc: ppc: No such file or directory
<br>gcc: ppc: No such file or directory<br>gcc: cannot specify -o with -c or -S with multiple files<br>gcc: gcc: No such file or directory<br>gcc: ppc: No such file or directory<br>gcc: ppc: No such file or directory<br>gcc: cannot specify -o with -c or -S with multiple files
<br>gcc: gcc: No such file or directory<br>gcc: ppc: No such file or directory<br>gcc: ppc: No such file or directory<br>gcc: cannot specify -o with -c or -S with multiple files<br>gcc: gcc: No such file or directory<br>gcc: ppc: No such file or directory
<br>gcc: ppc: No such file or directory<br>gcc: cannot specify -o with -c or -S with multiple files<br>gcc: gcc: No such file or directory<br>gcc: ppc: No such file or directory<br>gcc: ppc: No such file or directory<br>gcc: cannot specify -o with -c or -S with multiple files
<br>gcc: gcc: No such file or directory<br>gcc: ppc: No such file or directory<br>gcc: ppc: No such file or directory<br>gcc: cannot specify -o with -c or -S with multiple files<br>gcc: gcc: No such file or directory<br>gcc: ppc: No such file or directory
<br>gcc: ppc: No such file or directory<br>gcc: cannot specify -o with -c or -S with multiple files<br>gcc: gcc: No such file or directory<br>gcc: ppc: No such file or directory<br>gcc: ppc: No such file or directory<br>gcc: cannot specify -o with -c or -S with multiple files
<br>gcc: gcc: No such file or directory<br>gcc: ppc: No such file or directory<br>gcc: ppc: No such file or directory<br>gcc: cannot specify -o with -c or -S with multiple files<br>gcc: gcc: No such file or directory<br>gcc: ppc: No such file or directory
<br>gcc: ppc: No such file or directory<br>gcc: cannot specify -o with -c or -S with multiple files<br>gcc: gcc: No such file or directory<br>gcc: ppc: No such file or directory<br>gcc: ppc: No such file or directory<br>gcc: cannot specify -o with -c or -S with multiple files
<br>gcc: gcc: No such file or directory<br>gcc: ppc: No such file or directory<br>gcc: ppc: No such file or directory<br>gcc: cannot specify -o with -c or -S with multiple files<br>gcc: gcc: No such file or directory<br>gcc: ppc: No such file or directory
<br>gcc: ppc: No such file or directory<br>gcc: cannot specify -o with -c or -S with multiple files<br>gcc: gcc: No such file or directory<br>gcc: ppc: No such file or directory<br>gcc: ppc: No such file or directory<br>gcc: cannot specify -o with -c or -S with multiple files
<br>gcc: gcc: No such file or directory<br>gcc: ppc: No such file or directory<br>gcc: ppc: No such file or directory<br>gcc: cannot specify -o with -c or -S with multiple files<br>make: *** [.depend] Error 1<br><br>Also, my .depend becomes sorta weird:
<br><br>common/common/common/common/common/common/common/common/common/common/common/common/common/encoder/encoder/encoder/encoder/encoder/encoder/encoder/encoder/encoder/common/ppc/common/ppc/common/ppc/common/ppc/./././
<br><br><br><br><div><span class="gmail_quote">On 1/16/07, <b class="gmail_sendername">Griffith Rees</b> <<a href="mailto:griff.rees@gmail.com">griff.rees@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Ah. ok. yeah, I might have added maltivec rather than faltivec. What's the difference (besides one clearly not working)? I think I just remember maltivec from my global clfags on a gentoo install I used to have, but I (foolishly) never quite understood all that. What's the difference (if you care to enlighten me)? I think I remember faltivec being an older G3 extension that didn't apply, but that's pretty hazy.
<br><br>TBH I can't remember what I passed into ./configure. I'm in os x right now (due to bcm43xx linux driver frustration) but I'll try out your suggestion and report back asap.<br><br>Oh and while I certainly support linux on ppc, I would hate to make you feel like you had to install it just for me. Hopefully this will fix it.
<br><br>Thanks very much for your help. Attentive devs are a wonderful thing :).<br><br>-griff<br><br><br><div><span class="q"><span class="gmail_quote">On 1/16/07, <b class="gmail_sendername">Guillaume POIRIER</b> <<a href="mailto:poirierg@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
poirierg@gmail.com</a>> wrote:</span></span><div><span class="e" id="q_1102b375dcceded4_2"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>On 1/16/07, Griffith Rees <<a href="mailto:griff.rees@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
griff.rees@gmail.com</a>> wrote:<br>> Hello. I'm having trouble building x264 svn.<br>><br>> gcc -O4 -ffast-math -Wall -I. -D__X264__ -DHAVE_MALLOC_H -maltivec<br>> -mabi=altivec -DARCH_PPC -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer
<br>> -c -o common/quant.o common/quant.c<br>> In file included from common/quant.c:29:<br>> common/ppc/quant.h:26: error: expected specifier-qualifier-list before<br>> 'vector'<br>> common/ppc/quant.h:31: error: expected specifier-qualifier-list before
<br>> 'vector'<br>> make: *** [common/quant.o] Error 1<br><br>Mmmm.... I just cleanned my glasses, and saw the obvious problem.<br><br>Your compiler flags do no seem right.<br>They should look like that:<br>
<br>gcc -arch ppc -O4 -ffast-math -Wall -I. -D__X264__ -falign-loops=16<br>-faltivec -fastf -mcpu=G4 -DARCH_PPC -DSYS_MACOSX -DHAVE_PTHREAD -s<br>-fomit-frame-pointer -arch ppc -c -o common/ppc/quant.o<br>common/ppc/quant.c
<br><br>Did you mess around with CFLAGS by any chance? Looks like a pibkac. ;-)<br><br>Guillaume<br><br>--<br>This is the x264-devel mailing-list<br>To unsubscribe, go to: <a href="http://developers.videolan.org/lists.html" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://developers.videolan.org/lists.html</a><br><br></blockquote></span></div></div><br>
</blockquote></div><br>