[MPlayer-cvslog] r27240 - trunk/configure

Michael Niedermayer michaelni at gmx.at
Tue Jul 15 15:07:28 CEST 2008


On Tue, Jul 15, 2008 at 12:35:28PM +0200, Dominik 'Rathann' Mierzejewski wrote:
> On Tuesday, 15 July 2008 at 00:35, Michael Niedermayer wrote:
> [...]
> > > On Mon, 2008-07-14 at 22:58 +0200, Michael Niedermayer wrote:
> [...]
> > > > ffmpeg compiles fine and passes the regression tests if i add
> > > > 
> > > > -std=c99 -fasm -D_BSD_SOURCE -D_POSIX_C_SOURCE=200112L
> [...]
> > -std=c99 -fasm -fms-extensions -D_BSD_SOURCE -D_POSIX_C_SOURCE=200112L -Dlinux
> > 
> > IS enough to compile mplayer here
> [...]
> 
> Out of curiosity, why is -D_BSD_SOURCE necessary for both MPlayer and FFmpeg?

ffserver.c: In function ‘extract_rates’:
ffserver.c:1004: warning: implicit declaration of function ‘strncasecmp’
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ffserver.c: In function ‘http_parse_request’:
ffserver.c:1363: warning: format ‘%lld’ expects type ‘long long int’, but argument 4 has type ‘uint64_t’
ffserver.c:1363: warning: format ‘%lld’ expects type ‘long long int’, but argument 5 has type ‘uint64_t’
ffserver.c:1363: warning: format ‘%lld’ expects type ‘long long int’, but argument 4 has type ‘uint64_t’
ffserver.c:1363: warning: format ‘%lld’ expects type ‘long long int’, but argument 5 has type ‘uint64_t’
ffserver.c: In function ‘compute_status’:
ffserver.c:1858: warning: format ‘%lld’ expects type ‘long long int’, but argument 3 has type ‘uint64_t’
ffserver.c:1858: warning: format ‘%lld’ expects type ‘long long int’, but argument 4 has type ‘uint64_t’
ffserver.c: In function ‘parse_ffconfig’:
ffserver.c:3783: warning: implicit declaration of function ‘strcasecmp’
ffserver.c: In function ‘main’:
ffserver.c:4475: error: ‘SA_RESTART’ undeclared (first use in this function)
ffserver.c:4475: error: (Each undeclared identifier is reported only once
ffserver.c:4475: error: for each function it appears in.)
make: *** [ffserver.o] Error 1

the underlines as well as the error

libavformat/rtpproto.c: In function ‘rtp_read’:
libavformat/rtpproto.c:191: error: ‘fd_set’ undeclared (first use in this function)
libavformat/rtpproto.c:191: error: (Each undeclared identifier is reported only once
libavformat/rtpproto.c:191: error: for each function it appears in.)
libavformat/rtpproto.c:191: error: expected ‘;’ before ‘rfds’
libavformat/rtpproto.c:208: warning: implicit declaration of function ‘FD_ZERO’
libavformat/rtpproto.c:208: error: ‘rfds’ undeclared (first use in this function)
libavformat/rtpproto.c:210: warning: implicit declaration of function ‘FD_SET’
libavformat/rtpproto.c:214: warning: implicit declaration of function ‘select’
libavformat/rtpproto.c:217: warning: implicit declaration of function ‘FD_ISSET’

and there might be others ...

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The misfortune of the wise is better than the prosperity of the fool.
-- Epicurus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-cvslog/attachments/20080715/f51025b4/attachment.pgp>


More information about the MPlayer-cvslog mailing list