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

Bernhard Rosenkraenzer bero at arklinux.org
Sun Oct 24 19:04:26 CEST 2004


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.

- 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.

LLaP
bero
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-20041024-compile.patch
Type: text/x-diff
Size: 677 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20041024/51806f4d/attachment.patch>


More information about the MPlayer-dev-eng mailing list