[MPlayer-users] OS/X Altivec build problem
Magnus Damm
damm at opensource.se
Wed Oct 8 08:45:36 CEST 2003
Hi there,
Have you tried the CVS version of MPlayer?
If that one has the same problem, try applying the attached patch
and re-run configure. The attached patch makes sure Darwin-style
altivec flags are tried before FSF-style.
Let me know how things work out for you.
Thanks for reporting!
/ magnus
On Tue, 7 Oct 2003 21:32:35 -0700 (PDT)
"Steven M. Schultz" <sms at 2BSD.COM> wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> Hi -
>
> Ran into a bit of difficulty building MPlayer on OS/X 10.2.8
> tonight:
>
> gcc -Wall -O4 -maltivec -mabi=altivec -pipe -ffast-math -fomit-frame-pointer -no-cpp-precomp -DSYS_DARWIN -DCONFIG_DARWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o ppc/dsputil_altivec.o ppc/dsputil_altivec.c
> ppc/dsputil_altivec.c: In function `pix_abs16x16_x2_altivec':
> ppc/dsputil_altivec.c:52: syntax error before "unsigned"
> ppc/dsputil_altivec.c:53: `vector' undeclared (first use in this function)
> ppc/dsputil_altivec.c:53: (Each undeclared identifier is reported only once
> ppc/dsputil_altivec.c:53: for each function it appears in.)
> ppc/dsputil_altivec.c:59: `sad' undeclared (first use in this function)
> ppc/dsputil_altivec.c:59: parse error before "unsigned"
> ...
>
> This is with the default/stock gcc 3.1 that came with the G4/Powerbook.
>
> What's puzzling is that ffmpeg/libavcodec builds fine when I build
> ffmpeg. It's only when building MPlayer with a copy of libavcodec
> that the Altivec compilation fails.
>
> Any ideas what the problem is and how to fix it?
>
> Steven Schultz
>
> _______________________________________________
> RTFM!!! http://www.MPlayerHQ.hu/DOCS
> Search: http://www.MPlayerHQ.hu/cgi-bin/htsearch
> http://mplayerhq.hu/mailman/listinfo/mplayer-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-cvs_main_20031008-configure-osx.patch
Type: application/octet-stream
Size: 623 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20031008/d7bffa36/attachment.obj>
More information about the MPlayer-users
mailing list