[MPlayer-dev-eng] mplayer -pie and libbluray

Reimar Döffinger Reimar.Doeffinger at gmx.de
Wed Aug 15 22:02:06 CEST 2012


On Wed, Aug 15, 2012 at 09:55:49PM +0200, Alexander Roalter wrote:
> On 08/15/2012 09:46 PM, Reimar Döffinger wrote:
> >>
> >>On one hand you're right:
> >>
> >>libbluray/bluray.c:1008:13: warning: implicit declaration of
> >>function ‘strdup’
> >>
> >>But string.h is included, but only if one of the following is
> >>defined: __USE_SVID, __USE_BSD or __USE_XOPEN_EXTENDED
> >
> >Oh, do you have some ancient libc?
> >strdup is supposed to be defined also if _POSIX_C_SOURCE >= 200809L,
> >which is probably what they are using. On the other hand, that's also
> >what MPlayer uses, so MPlayer shouldn't compile for you if that was
> >the issue...
> >_______________________________________________
> >MPlayer-dev-eng mailing list
> >MPlayer-dev-eng at mplayerhq.hu
> >https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
> >
> I'm not so sure about my libc, it's my opensuse (11.4 to be exact),
> and my packet management says it's version 2.11.3-12.59.1, installed
> on July 18th, and built on July 9th 2012...
> So I really don't know how that can happen.

Maybe I am exaggerating with ancient.
According to my man-page this is: /* Since glibc 2.12: */
And 2.12 is quite some time old:
2010-05-13: Trunk tagged for 2.12 release.
I'd say expect some issues with that, though MPlayer
and FFmpeg at least should just fail to compile
instead of failing randomly at runtime.


More information about the MPlayer-dev-eng mailing list