[MPlayer-users] build failure on MacOS 10.5.8

Christian Ebert blacktrash at gmx.net
Wed Sep 22 11:29:55 CEST 2010


* Guillaume POIRIER on Wednesday, September 22, 2010 at 10:50:55 +0200
> On Wed, Sep 22, 2010 at 1:31 AM, Christian Ebert <blacktrash at gmx.net> wrote:
>> 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.

No, if you look closely, it's in MPlayer's internal faad:
                from libfaad2/common.h:349,
                from libfaad2/bits.c:28:

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

Yes. FAAD is gone since quite some time from my machine.

c
-- 
  Was heißt hier Dogma, ich bin Underdogma!
[ What the hell do you mean dogma, I am underdogma. ]
free movies       --->>> http://www.blacktrash.org/underdogma
http://itunes.apple.com/podcast/underdogma-movies/id363423596


More information about the MPlayer-users mailing list