[MPlayer-dev-eng] Some bugs (and fixes) in HEAD

Sascha Sommer saschasommer at freenet.de
Sat Oct 30 11:32:57 CEST 2004

On Sunday 24 October 2004 19:04, Bernhard Rosenkraenzer wrote:
> Hi,
> some issues compiling current HEAD:
> - It barfs when compiling libavcodec/dsputil.c, because mplayer's config.h
> has "#define restrict restrict", and apparently gcc 3.4.2 doesn't like
> infinite recursion. Fix attached.

Applied without the typo.

> - I get "Checking for internal FAAD2 (AAC) support ... no (broken gcc)".
> Since I'm stubborn enough to refuse to believe my gcc is broken, I traced
> it down to something completely different - the gcc "breakage" is:
> In file included from /usr/include/math.h:93,
>                  from /usr/src/ark/BUILD/mplayer/libfaad2/common.h:372,
>                  from /tmp/mplayer-conf-22329-23669.c:39:
> /usr/include/bits/mathcalls.h:326: error: conflicting types for 'lrintf'
> /usr/src/ark/BUILD/mplayer/libfaad2/common.h:347: error: previous
> definition of'lrintf' was here
> So as soon as glibc is new enough to have its own lrintf implementation,
> configure will claim gcc is broken. I don't have the time to fix this ATM,
> but simply adding a configure check for lrintf should do.
> Other than that, current CVS is working nicely here.

I think the libfaad2 problem wasn't as simple as that. Afair compiling libfaad
with resulted in internal compiler error.


More information about the MPlayer-dev-eng mailing list