[x264-devel] [Griffith Rees <griff.rees at gmail.com>] Re: Re: Problems compiling xubuntu ppc
Lists administration
videolan at lists.videolan.org
Fri Jan 19 11:07:13 CET 2007
The deleted attachment is at:
<http://lists.videolan.org/attachs/20070119/makeClean.error>
The deleted attachment is at:
<http://lists.videolan.org/attachs/20070119/make-mpim-altivec.error>
----- Forwarded message from Griffith Rees <griff.rees at gmail.com> -----
Date: Thu, 18 Jan 2007 18:33:15 +0000
From: Griffith Rees <griff.rees at gmail.com>
To: x264-devel at videolan.org
Subject: Re: [x264-devel] Re: Problems compiling xubuntu ppc
X-Spam-Status: No, score=-3.9 required=5.0 tests=HTML_20_30,HTML_MESSAGE,
IN_REP_TO,MAILTO_LINK,RCVD_BY_IP,SPF_HELO_PASS autolearn=failed
version=3.0.3
Sorry for the wait. Neither worked. -mpmi-altivec was not recognized (see
attached error log) and make clean; ./configure; make returned the same error I
had before (as one would expect).
Hopefully, giving you the full error log will make a difference. Thanks again,
-griff
On 1/17/07, Guillaume POIRIER <poirierg at gmail.com> wrote:
Hi,
(replies re-ordered to interleaved quoting)
On 1/16/07, Griffith Rees <griff.rees at gmail.com> wrote:
> On 1/16/07, Guillaume POIRIER < poirierg at gmail.com> wrote:
> >
> > 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
> >
> > Mmmm.... I just cleanned my glasses, and saw the obvious problem.
> >
> > Your compiler flags do no seem right.
> > They should look like that:
> >
> > 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
> >
> > Did you mess around with CFLAGS by any chance? Looks like a pibkac. ;-)
> >
> > Guillaume
> 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.
After having a closer look at the configure script, it looks like the
compiler options you're using are the vanilla options obtained by a
simple ./configure.
Now, maybe you could add "-mpim-altivec" to your config.mak, that may
do the trick.
If it doesn't do the trick, please run "make clean ; ./configure ; make"
and post the content of your console
> Thanks very much for your help. Attentive devs are a wonderful thing :).
:-))
Guillaume
--
This is the x264-devel mailing-list
To unsubscribe, go to: http://developers.videolan.org/lists.html
----- End forwarded message -----
--
Lists administration <videolan at lists.videolan.org>
--
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