[MPlayer-users] build failure on MacOS 10.5.8

Guillaume POIRIER poirierg at gmail.com
Wed Sep 22 10:50:55 CEST 2010


On Wed, Sep 22, 2010 at 1:31 AM, Christian Ebert <blacktrash at gmx.net> wrote:

> Hi,
> svn r32341 fails to build on:
> $ sw_vers
> ProductName:    Mac OS X
> ProductVersion: 10.5.8
> BuildVersion:   9L30
> like so:
> In file included from libmpcodecs/ad_faad.c:46:
> ./libfaad2/faad.h:29: warning: ignoring #pragma message
> cc -MMD -MF libfaad2/bits.d -MT libfaad2/bits.o -Ilibfaad2 -D_GNU_SOURCE
> -DHAVE_CONFIG_H  -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith
> -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes
> -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement
> -std=gnu99  -O4 -march=pentium-m -mtune=pentium-m -pipe -ffast-math
> -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -D_LARGEFILE64_SOURCE -falign-loops=16 -shared-libgcc -mdynamic-no-pic -I.
> -I/usr/local/include -I/sw/include  -I/usr/X11/include -I/sw/include/SDL
> -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/usr/local/include -I/sw/include/freetype2
> -I/sw/include  -I/sw/include   -I/usr/local/include
> -I/usr/local/include/libdvdread -c -o libfaad2/bits.o libfaad2/bits.c
> In file included from /usr/include/math.h:28,
>                 from libfaad2/common.h:349,
>                 from libfaad2/bits.c:28:
> /usr/include/architecture/i386/math.h:383: error: conflicting types for
> 'lrintf'
> libfaad2/common.h:324: error: previous definition of 'lrintf' was here

For me, this compilation error reads that there's a conflict in the
declaration of "lrintf" in FAAD's version and OSX's version. To put it in a
nutshell, it means that the problem is in FAAD, not in MPlayer.

BTW, you can safely uninstall FAAD since now libavcodec is able to decode
all flavors of AAC.

Best regards,


"I am the Jesus Christ of politics. I sacrifice myself for everyone."

 -- Silvio Berlusconi

More information about the MPlayer-users mailing list