[MPlayer-users] svn r27478 fails to build on MacOS 10.4.11

Guillaume POIRIER poirierg at gmail.com
Sat Aug 23 12:34:30 CEST 2008


Hello,

On Sat, Aug 23, 2008 at 11:42 AM, Christian Ebert <blacktrash at gmx.net> wrote:
> Hi,
>
> mplayer svn HEAD fails to compile on MacOS 10.4.11 (Tiger):
>
>
> cc -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -I. -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -mcpu=7450 -mtune=7450 -pipe -ffast-math -fomit-frame-pointer -maltivec -mabi=altivec -mdynamic-no-pic -falign-loops=16 -shared-libgcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/sw/include -I/usr/local/include -I/usr/X11R6/include -I/sw/include -I/sw/include   -c -o liba52/parse.o liba52/parse.c
> In file included from /usr/include/math.h:26,
>                 from ./libavutil/mathematics.h:25,
>                 from ./libavutil/avutil.h:57,
>                 from liba52/parse.c:40:
> /usr/include/architecture/ppc/math.h:179: error: parse error before '__attribute__'
> /usr/include/architecture/ppc/math.h:179: error: parse error before 'inline'
> /usr/include/architecture/ppc/math.h:180: error: parse error before '__attribute__'
> /usr/include/architecture/ppc/math.h:180: error: parse error before 'inline'
> /usr/include/architecture/ppc/math.h:181: error: parse error before '__attribute__'
> /usr/include/architecture/ppc/math.h:181: error: parse error before 'inline'
> /usr/include/architecture/ppc/math.h:182: error: parse error before '__attribute__'
> /usr/include/architecture/ppc/math.h:182: error: parse error before 'inline'
> /usr/include/architecture/ppc/math.h:183: error: parse error before '__attribute__'
> /usr/include/architecture/ppc/math.h:183: error: parse error before 'inline'
> /usr/include/architecture/ppc/math.h:184: error: parse error before '__attribute__'
> /usr/include/architecture/ppc/math.h:184: error: parse error before 'inline'
> /usr/include/architecture/ppc/math.h:185: error: parse error before '__attribute__'
> /usr/include/architecture/ppc/math.h:185: error: parse error before 'inline'
> /usr/include/architecture/ppc/math.h:186: error: parse error before '__attribute__'
> /usr/include/architecture/ppc/math.h:186: error: parse error before 'inline'
> /usr/include/architecture/ppc/math.h:187: error: parse error before '__attribute__'
> /usr/include/architecture/ppc/math.h:187: error: parse error before 'inline'
> /usr/include/architecture/ppc/math.h:188: error: parse error before '__attribute__'
> /usr/include/architecture/ppc/math.h:188: error: parse error before 'inline'
> /usr/include/architecture/ppc/math.h:189: error: parse error before '__attribute__'
> /usr/include/architecture/ppc/math.h:189: error: parse error before 'inline'
> /usr/include/architecture/ppc/math.h:190: error: parse error before '__attribute__'
> /usr/include/architecture/ppc/math.h:190: error: parse error before 'inline'
> /usr/include/architecture/ppc/math.h:191: error: parse error before '__attribute__'
> /usr/include/architecture/ppc/math.h:191: error: parse error before 'inline'
> /usr/include/architecture/ppc/math.h:192: error: parse error before '__attribute__'
> /usr/include/architecture/ppc/math.h:192: error: parse error before 'inline'
> /usr/include/architecture/ppc/math.h:193: error: parse error before '__attribute__'
> /usr/include/architecture/ppc/math.h:193: error: parse error before 'inline'
> make: *** [liba52/parse.o] Error 1
>
>
> My working version is:
> MPlayer dev-SVN-r27432-4.0.1 (C) 2000-2008 MPlayer Team

Please try the attached patch.

Guillaume
-- 
One should not give up hope on imbeciles. With a little training, you
can make them into soldiers.
 -- Pierre Desproges
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OSX-1.4.44-PPC-fix.diff
Type: application/octet-stream
Size: 314 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20080823/24d46537/attachment.obj>


More information about the MPlayer-users mailing list