[MPlayer-cygwin] Current issues

Thomas Plank tplank at gmx.at
Wed Jan 31 15:59:31 CET 2007


Reimar Döffinger (Reimar.Doeffinger at stud.uni-karlsruhe.de) wrote:

> Hello,
> On Tue, Jan 30, 2007 at 03:07:59PM +0100, Diego Biurrun wrote:
>> On Sat, Jan 06, 2007 at 02:38:30PM -0500, Erik Lunchpail wrote:
>>>
>>> The second is failed checks after live555. In a nutshell live555 needs
>>> to link against -lwsock32 in it's configure check, or it gets undefined
>>> references and xvid, x264, nut, and mp3lame all fail afterwards. My
>>> configure.log is here http://vayne.fdns.net/configure.log
>>
>> Maybe you need to enable winsock2?  This adds -lws2_32 to the linker
>> flags.  Does that solve your problem?

> I have a patch in my local tree that was supposed to fix it, but since I
> was told it didn't work I didn't propose it...
> Check if it might be a good idea to apply anyway though.

I don't get mplayer compiled with LIVE555 for some time.
I tried your patch, but it seems not to work for me.

Of course I include the live directory via
--with-extraincdir=
--with-extralibdir=

-- 
mfg Thomas
-------------- next part --------------
make -C libvo libvo.a
make[1]: Entering directory `/cygdrive/d/cdrtools/mplayer/mplayer/libvo'
make[1]: `libvo.a' is up to date.
make[1]: Leaving directory `/cygdrive/d/cdrtools/mplayer/mplayer/libvo'
make -C libao2
make[1]: Entering directory `/cygdrive/d/cdrtools/mplayer/mplayer/libao2'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/cygdrive/d/cdrtools/mplayer/mplayer/libao2'
make -C input
make[1]: Entering directory `/cygdrive/d/cdrtools/mplayer/mplayer/input'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/cygdrive/d/cdrtools/mplayer/mplayer/input'
make -C libdha
make[1]: Entering directory `/cygdrive/d/cdrtools/mplayer/mplayer/libdha'
make[1]: `libdha.a' is up to date.
make[1]: Leaving directory `/cygdrive/d/cdrtools/mplayer/mplayer/libdha'
make -C vidix
make[1]: Entering directory `/cygdrive/d/cdrtools/mplayer/mplayer/vidix'
make -C drivers
make[2]: Entering directory `/cygdrive/d/cdrtools/mplayer/mplayer/vidix/drivers'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/cygdrive/d/cdrtools/mplayer/mplayer/vidix/drivers'
make[1]: Leaving directory `/cygdrive/d/cdrtools/mplayer/mplayer/vidix'
make -C libmenu
make[1]: Entering directory `/cygdrive/d/cdrtools/mplayer/mplayer/libmenu'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/cygdrive/d/cdrtools/mplayer/mplayer/libmenu'
make -C libmpcodecs
make[1]: Entering directory `/cygdrive/d/cdrtools/mplayer/mplayer/libmpcodecs'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/cygdrive/d/cdrtools/mplayer/mplayer/libmpcodecs'
make -C libaf
make[1]: Entering directory `/cygdrive/d/cdrtools/mplayer/mplayer/libaf'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/cygdrive/d/cdrtools/mplayer/mplayer/libaf'
make -C libmpdemux libmpdemux.a
make[1]: Entering directory `/cygdrive/d/cdrtools/mplayer/mplayer/libmpdemux'
g++ -I../stream -I../loader -I../libavutil -I../libavcodec -I../libavformat -I. -I.. -O4 -march=pentium4 -mtune=pentium4 -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D__CYGWIN__ -I/cygdrive/d/cdrtools/mplayer/live/ -I/usr/local/include/freetype2 -I/usr/local/include -I/liveMedia/include              -I/UsageEnvironment/include              -I/BasicUsageEnvironment/include              -I/groupsock/include -D__STDC_LIMIT_MACROS   -c -o demux_rtp.o demux_rtp.cpp
In file included from demux_rtp.cpp:12:
demux_rtp_internal.h:17:24: error: liveMedia.hh: No such file or directory
demux_rtp.cpp:14:36: error: BasicUsageEnvironment.hh: No such file or directory
demux_rtp.cpp:16:30: error: GroupsockHelper.hh: No such file or directory
demux_rtp_internal.h:22: error: 'MediaSubsession' has not been declared
demux_rtp_internal.h:24: error: 'MediaSubsession' has not been declared
demux_rtp_internal.h:33: error: 'Boolean' does not name a type
demux_rtp_internal.h:40: error: 'Boolean' does not name a type
demux_rtp.cpp:22: error: expected `)' before '*' token
demux_rtp.cpp:26: error: ISO C++ forbids declaration of 'FramedSource' with no type
demux_rtp.cpp:26: error: expected ';' before '*' token
demux_rtp.cpp:27: error: expected `;' before 'RTPSource'
demux_rtp.cpp:27: error: ISO C++ forbids declaration of 'RTPSource' with no type
demux_rtp.cpp:27: error: expected ';' before '*' token
demux_rtp.cpp:28: error: expected `;' before 'demuxer_t'
demux_rtp.cpp:34: error: 'Boolean' does not name a type
demux_rtp.cpp:51: error: ISO C++ forbids declaration of 'FramedSource' with no type
demux_rtp.cpp:51: error: expected ';' before '*' token
demux_rtp.cpp:52: error: ISO C++ forbids declaration of 'RTPSource' with no type
demux_rtp.cpp:52: error: expected ';' before '*' token
demux_rtp.cpp:61: error: ISO C++ forbids declaration of 'RTSPClient' with no type
demux_rtp.cpp:61: error: expected ';' before '*' token
demux_rtp.cpp:62: error: ISO C++ forbids declaration of 'SIPClient' with no type
demux_rtp.cpp:62: error: expected ';' before '*' token
demux_rtp.cpp:63: error: ISO C++ forbids declaration of 'MediaSession' with no type
demux_rtp.cpp:63: error: expected ';' before '*' token
demux_rtp.cpp:72: error: 'RTSPClient' was not declared in this scope
demux_rtp.cpp:72: error: 'client' was not declared in this scope
demux_rtp.cpp:72: error: expected primary-expression before 'char'
demux_rtp.cpp:72: error: initializer expression list treated as compound expression
demux_rtp.cpp:72: error: expected ',' or ';' before '{' token
demux_rtp.cpp:82: error: 'SIPClient' was not declared in this scope
demux_rtp.cpp:82: error: 'client' was not declared in this scope
demux_rtp.cpp:82: error: expected primary-expression before 'char'
demux_rtp.cpp:82: error: initializer expression list treated as compound expression
demux_rtp.cpp:82: error: expected ',' or ';' before '{' token
demux_rtp.cpp: In function 'demuxer_t* demux_open_rtp(demuxer_t*)':
demux_rtp.cpp:97: error: 'Boolean' was not declared in this scope
demux_rtp.cpp:97: error: expected `;' before 'success'
demux_rtp.cpp:99: error: 'TaskScheduler' was not declared in this scope
demux_rtp.cpp:99: error: 'scheduler' was not declared in this scope
demux_rtp.cpp:99: error: 'BasicTaskScheduler' has not been declared
demux_rtp.cpp:101: error: 'UsageEnvironment' was not declared in this scope
demux_rtp.cpp:101: error: 'env' was not declared in this scope
demux_rtp.cpp:101: error: 'BasicUsageEnvironment' has not been declared
demux_rtp.cpp:104: error: 'RTSPClient' was not declared in this scope
demux_rtp.cpp:104: error: 'rtspClient' was not declared in this scope
demux_rtp.cpp:105: error: 'SIPClient' was not declared in this scope
demux_rtp.cpp:105: error: 'sipClient' was not declared in this scope
demux_rtp.cpp:120: error: 'RTSPClient' is not a class or namespace
demux_rtp.cpp:126: error: 'openURL_rtsp' cannot be used as a function
demux_rtp.cpp:129: error: 'SIPClient' is not a class or namespace
demux_rtp.cpp:137: error: 'openURL_sip' cannot be used as a function
demux_rtp.cpp:148: error: 'MediaSession' was not declared in this scope
demux_rtp.cpp:148: error: 'mediaSession' was not declared in this scope
demux_rtp.cpp:148: error: 'MediaSession' is not a class or namespace
demux_rtp.cpp:156: error: 'struct RTPState' has no member named 'rtspClient'
demux_rtp.cpp:157: error: 'struct RTPState' has no member named 'sipClient'
demux_rtp.cpp:158: error: 'struct RTPState' has no member named 'mediaSession'
demux_rtp.cpp:165: error: 'MediaSubsessionIterator' was not declared in this scope
demux_rtp.cpp:165: error: expected `;' before 'iter'
demux_rtp.cpp:166: error: 'MediaSubsession' was not declared in this scope
demux_rtp.cpp:166: error: 'subsession' was not declared in this scope
demux_rtp.cpp:168: error: 'iter' was not declared in this scope
demux_rtp.cpp:193: error: 'increaseReceiveBufferTo' was not declared in this scope
demux_rtp.cpp:201: error: 'False' was not declared in this scope
demux_rtp.cpp:216: error: 'iter' was not declared in this scope
demux_rtp.cpp:234: error: 'success' was not declared in this scope
demux_rtp.cpp:234: error: 'True' was not declared in this scope
demux_rtp.cpp:236: error: 'success' was not declared in this scope
demux_rtp.cpp: At global scope:
demux_rtp.cpp:266: error: 'Boolean' has not been declared
demux_rtp.cpp: In function 'int demux_rtp_fill_buffer(demuxer_t*, demux_stream_t*)':
demux_rtp.cpp:277: error: 'False' was not declared in this scope
demux_rtp.cpp: At global scope:
demux_rtp.cpp:312: error: 'Boolean' does not name a type
demux_rtp.cpp:328: error: 'Boolean' does not name a type
demux_rtp.cpp: In function 'void demux_close_rtp(demuxer_t*)':
demux_rtp.cpp:368: error: 'UsageEnvironment' was not declared in this scope
demux_rtp.cpp:368: error: 'env' was not declared in this scope
demux_rtp.cpp:369: error: 'TaskScheduler' was not declared in this scope
demux_rtp.cpp:369: error: 'scheduler' was not declared in this scope
demux_rtp.cpp:370: error: 'struct RTPState' has no member named 'mediaSession'
demux_rtp.cpp:371: error: 'struct RTPState' has no member named 'mediaSession'
demux_rtp.cpp:374: error: 'Medium' has not been declared
demux_rtp.cpp:374: error: invalid type in declaration before '(' token
demux_rtp.cpp:374: error: 'struct RTPState' has no member named 'mediaSession'
demux_rtp.cpp:375: error: 'Medium' has not been declared
demux_rtp.cpp:375: error: invalid type in declaration before '(' token
demux_rtp.cpp:375: error: redeclaration of 'int close'
demux_rtp.cpp:374: error: 'int close' previously declared here
demux_rtp.cpp:375: error: 'struct RTPState' has no member named 'rtspClient'
demux_rtp.cpp:376: error: 'Medium' has not been declared
demux_rtp.cpp:376: error: invalid type in declaration before '(' token
demux_rtp.cpp:376: error: redeclaration of 'int close'
demux_rtp.cpp:374: error: 'int close' previously declared here
demux_rtp.cpp:376: error: 'struct RTPState' has no member named 'sipClient'
demux_rtp.cpp:382: error: type '<type error>' argument given to 'delete', expected pointer
demux_rtp.cpp: In function 'void afterReading(void*, unsigned int, unsigned int, timeval, unsigned int)':
demux_rtp.cpp:409: error: 'Boolean' was not declared in this scope
demux_rtp.cpp:409: error: expected `;' before 'hasBeenSynchronized'
demux_rtp.cpp:411: error: 'hasBeenSynchronized' was not declared in this scope
demux_rtp.cpp:412: error: 'class ReadBufferQueue' has no member named 'prevPacketWasSynchronized'
demux_rtp.cpp:429: error: 'class ReadBufferQueue' has no member named 'prevPacketWasSynchronized'
demux_rtp.cpp:437: error: 'class ReadBufferQueue' has no member named 'prevPacketWasSynchronized'
demux_rtp.cpp:437: error: 'hasBeenSynchronized' was not declared in this scope
demux_rtp.cpp: At global scope:
demux_rtp.cpp:457: error: 'Boolean' has not been declared
demux_rtp.cpp: In function 'demux_packet_t* getBuffer(demuxer_t*, demux_stream_t*, int, float&)':
demux_rtp.cpp:473: error: 'class ReadBufferQueue' has no member named 'readSource'
demux_rtp.cpp:495: error: 'class ReadBufferQueue' has no member named 'readSource'
demux_rtp.cpp:499: error: 'TaskScheduler' was not declared in this scope
demux_rtp.cpp:499: error: 'scheduler' was not declared in this scope
demux_rtp.cpp:500: error: 'class ReadBufferQueue' has no member named 'readSource'
demux_rtp.cpp:505: error: 'class ReadBufferQueue' has no member named 'prevPacketWasSynchronized'
demux_rtp.cpp:508: error: 'class ReadBufferQueue' has no member named 'prevPacketWasSynchronized'
demux_rtp.cpp: In function 'void teardownRTSPorSIPSession(RTPState*)':
demux_rtp.cpp:524: error: 'MediaSession' was not declared in this scope
demux_rtp.cpp:524: error: 'mediaSession' was not declared in this scope
demux_rtp.cpp:524: error: 'struct RTPState' has no member named 'mediaSession'
demux_rtp.cpp:526: error: 'struct RTPState' has no member named 'rtspClient'
demux_rtp.cpp:527: error: 'MediaSubsessionIterator' was not declared in this scope
demux_rtp.cpp:527: error: expected `;' before 'iter'
demux_rtp.cpp:528: error: 'MediaSubsession' was not declared in this scope
demux_rtp.cpp:528: error: 'subsession' was not declared in this scope
demux_rtp.cpp:530: error: 'iter' was not declared in this scope
demux_rtp.cpp:531: error: 'struct RTPState' has no member named 'rtspClient'
demux_rtp.cpp:533: error: 'struct RTPState' has no member named 'sipClient'
demux_rtp.cpp:534: error: 'struct RTPState' has no member named 'sipClient'
demux_rtp.cpp: At global scope:
demux_rtp.cpp:540: error: expected `)' before '*' token
make[1]: *** [demux_rtp.o] Error 1
make[1]: Leaving directory `/cygdrive/d/cdrtools/mplayer/mplayer/libmpdemux'
make: *** [libmpdemux/libmpdemux.a] Error 2


More information about the MPlayer-cygwin mailing list