QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 707|回复: 1

在安装mplayer时使支持rstp时候遇到麻烦

[复制链接]
发表于 2005-4-19 12:18:35 | 显示全部楼层 |阅读模式
In file included from demux_rtp.cpp:12:
demux_rtp_internal.h:17:24: liveMedia.hh: No such file or directory
In file included from demux_rtp.cpp:12:
demux_rtp_internal.h:22: error: `MediaSubsession' has not been declared
demux_rtp_internal.h:22: error: ISO C++ forbids declaration of `subsession' with no type
demux_rtp_internal.h:24: error: `MediaSubsession' has not been declared
demux_rtp_internal.h:24: error: ISO C++ forbids declaration of `subsession' with no type
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:14:36: BasicUsageEnvironment.hh: No such file or directory
demux_rtp.cpp:16:30: GroupsockHelper.hh: No such file or directory
demux_rtp.cpp:54: error: expected `)' before '*' token
demux_rtp.cpp:58: error: ISO C++ forbids declaration of `FramedSource' with no type
demux_rtp.cpp:58: error: expected `;' before '*' token
demux_rtp.cpp:59: error: expected `;' before "RTPSource"
demux_rtp.cpp:59: error: ISO C++ forbids declaration of `RTPSource' with no type
demux_rtp.cpp:59: error: expected `;' before '*' token
demux_rtp.cpp:60: error: expected `;' before "demuxer_t"
demux_rtp.cpp:66: error: `Boolean' does not name a type
demux_rtp.cpp:83: error: ISO C++ forbids declaration of `FramedSource' with no type
demux_rtp.cpp:83: error: expected `;' before '*' token
demux_rtp.cpp:84: error: ISO C++ forbids declaration of `RTPSource' with no type
demux_rtp.cpp:84: error: expected `;' before '*' token
demux_rtp.cpp:93: error: ISO C++ forbids declaration of `RTSPClient' with no type
demux_rtp.cpp:93: error: expected `;' before '*' token
demux_rtp.cpp:94: error: ISO C++ forbids declaration of `SIPClient' with no type
demux_rtp.cpp:94: error: expected `;' before '*' token
demux_rtp.cpp:95: error: ISO C++ forbids declaration of `MediaSession' with no type
demux_rtp.cpp:95: error: expected `;' before '*' token
demux_rtp.cpp:104: error: `RTSPClient' was not declared in this scope
demux_rtp.cpp:104: error: `client' was not declared in this scope
demux_rtp.cpp:104: error: expected primary-expression before "char"
demux_rtp.cpp:104: error: initializer expression list treated as compound expression
demux_rtp.cpp:104: error: expected `,' or `;' before '{' token
demux_rtp.cpp:114: error: `SIPClient' was not declared in this scope
demux_rtp.cpp:114: error: `client' was not declared in this scope
demux_rtp.cpp:114: error: expected primary-expression before "char"
demux_rtp.cpp:114: error: initializer expression list treated as compound expression
demux_rtp.cpp:114: error: expected `,' or `;' before '{' token
demux_rtp.cpp: In function `demuxer_t* demux_open_rtp(demuxer_t*)':
demux_rtp.cpp:128: error: `Boolean' undeclared (first use this function)
demux_rtp.cpp:128: error: (Each undeclared identifier is reported only once for each function it appears in.)
demux_rtp.cpp:128: error: expected `;' before "success"
demux_rtp.cpp:130: error: `TaskScheduler' undeclared (first use this function)
demux_rtp.cpp:130: error: `scheduler' undeclared (first use this function)
demux_rtp.cpp:130: error: `BasicTaskScheduler' has not been declared
demux_rtp.cpp:130: error: `createNew' undeclared (first use this function)
demux_rtp.cpp:132: error: `UsageEnvironment' undeclared (first use this function)
demux_rtp.cpp:132: error: `env' undeclared (first use this function)
demux_rtp.cpp:132: error: `BasicUsageEnvironment' has not been declared
demux_rtp.cpp:135: error: `RTSPClient' undeclared (first use this function)
demux_rtp.cpp:135: error: `rtspClient' undeclared (first use this function)
demux_rtp.cpp:136: error: `SIPClient' undeclared (first use this function)
demux_rtp.cpp:136: error: `sipClient' undeclared (first use this function)
demux_rtp.cpp:151: error: `RTSPClient' has not been declared
demux_rtp.cpp:157: error: `openURL_rtsp' cannot be used as a function
demux_rtp.cpp:160: error: `SIPClient' has not been declared
demux_rtp.cpp:168: error: `openURL_sip' cannot be used as a function
demux_rtp.cpp:179: error: `MediaSession' undeclared (first use this function)
demux_rtp.cpp:179: error: `mediaSession' undeclared (first use this function)
demux_rtp.cpp:179: error: `MediaSession' has not been declared
demux_rtp.cpp:187: error: 'struct RTPState' has no member named 'rtspClient'
demux_rtp.cpp:188: error: 'struct RTPState' has no member named 'sipClient'
demux_rtp.cpp:189: error: 'struct RTPState' has no member named 'mediaSession'
demux_rtp.cpp:196: error: `MediaSubsessionIterator' undeclared (first use this function)
demux_rtp.cpp:196: error: expected `;' before "iter"
demux_rtp.cpp:197: error: `MediaSubsession' undeclared (first use this function)
demux_rtp.cpp:197: error: `subsession' undeclared (first use this function)
demux_rtp.cpp:199: error: `iter' undeclared (first use this function)
demux_rtp.cpp:221: error: `increaseReceiveBufferTo' undeclared (first use this function)
demux_rtp.cpp:229: error: `False' undeclared (first use this function)
demux_rtp.cpp:262: error: `success' undeclared (first use this function)
demux_rtp.cpp:262: error: `True' undeclared (first use this function)
demux_rtp.cpp: At global scope:
demux_rtp.cpp:294: error: `Boolean' has not been declared
demux_rtp.cpp:295: error: ISO C++ forbids declaration of `mustGetNewData' with no type
demux_rtp.cpp: In function `int demux_rtp_fill_buffer(demuxer_t*, demux_stream_t*)':
demux_rtp.cpp:305: error: `False' undeclared (first use this function)
demux_rtp.cpp: At global scope:
demux_rtp.cpp:340: error: `Boolean' does not name a type
demux_rtp.cpp:356: error: `Boolean' does not name a type
demux_rtp.cpp: In function `void demux_close_rtp(demuxer_t*)':
demux_rtp.cpp:396: error: `UsageEnvironment' undeclared (first use this function)
demux_rtp.cpp:396: error: `env' undeclared (first use this function)
demux_rtp.cpp:397: error: `TaskScheduler' undeclared (first use this function)
demux_rtp.cpp:397: error: `scheduler' undeclared (first use this function)
demux_rtp.cpp:398: error: 'struct RTPState' has no member named 'mediaSession'
demux_rtp.cpp:399: error: 'struct RTPState' has no member named 'mediaSession'
demux_rtp.cpp:402: error: `Medium' has not been declared
demux_rtp.cpp:402: error: 'struct RTPState' has no member named 'mediaSession'
demux_rtp.cpp:403: error: `Medium' has not been declared
demux_rtp.cpp:403: error: 'struct RTPState' has no member named 'rtspClient'
demux_rtp.cpp:404: error: `Medium' has not been declared
demux_rtp.cpp:404: error: 'struct RTPState' has no member named 'sipClient'
demux_rtp.cpp: In function `void afterReading(void*, unsigned int, unsigned int, timeval, unsigned int)':
demux_rtp.cpp:437: error: `Boolean' undeclared (first use this function)
demux_rtp.cpp:437: error: expected `;' before "hasBeenSynchronized"
demux_rtp.cpp:439: error: `hasBeenSynchronized' undeclared (first use this function)
demux_rtp.cpp:440: error: 'class ReadBufferQueue' has no member named 'prevPacketWasSynchronized'
demux_rtp.cpp:457: error: 'class ReadBufferQueue' has no member named 'prevPacketWasSynchronized'
demux_rtp.cpp:465: error: 'class ReadBufferQueue' has no member named 'prevPacketWasSynchronized'
demux_rtp.cpp: At global scope:
demux_rtp.cpp:485: error: `Boolean' has not been declared
demux_rtp.cpp:486: error: ISO C++ forbids declaration of `mustGetNewData' with no type
demux_rtp.cpp: In function `demux_packet_t* getBuffer(demuxer_t*, demux_stream_t*, int, float&)':
demux_rtp.cpp:501: error: 'class ReadBufferQueue' has no member named 'readSource'
demux_rtp.cpp:523: error: 'class ReadBufferQueue' has no member named 'readSource'
demux_rtp.cpp:527: error: `TaskScheduler' undeclared (first use this function)
demux_rtp.cpp:528: error: `scheduler' undeclared (first use this function)
demux_rtp.cpp:528: error: 'class ReadBufferQueue' has no member named 'readSource'
demux_rtp.cpp:533: error: 'class ReadBufferQueue' has no member named 'prevPacketWasSynchronized'
demux_rtp.cpp:536: error: 'class ReadBufferQueue' has no member named 'prevPacketWasSynchronized'
demux_rtp.cpp: In function `void teardownRTSPorSIPSession(RTPState*)':
demux_rtp.cpp:552: error: `MediaSession' undeclared (first use this function)
demux_rtp.cpp:552: error: `mediaSession' undeclared (first use this function)
demux_rtp.cpp:552: error: 'struct RTPState' has no member named 'mediaSession'
demux_rtp.cpp:554: error: 'struct RTPState' has no member named 'rtspClient'
demux_rtp.cpp:555: error: `MediaSubsessionIterator' undeclared (first use this function)
demux_rtp.cpp:555: error: expected `;' before "iter"
demux_rtp.cpp:556: error: `MediaSubsession' undeclared (first use this function)
demux_rtp.cpp:556: error: `subsession' undeclared (first use this function)
demux_rtp.cpp:558: error: `iter' undeclared (first use this function)
demux_rtp.cpp:559: error: 'struct RTPState' has no member named 'rtspClient'
demux_rtp.cpp:561: error: 'struct RTPState' has no member named 'sipClient'
demux_rtp.cpp:562: error: 'struct RTPState' has no member named 'sipClient'
demux_rtp.cpp: At global scope:
demux_rtp.cpp:568: error: expected `)' before '*' token
demux_rtp.cpp:568: error: expected `,' or `;' before '*' token
make[1]: *** [demux_rtp.o] Error 1
make[1]: Leaving directory `/home/netwalker/MPlayer-1.0pre7/libmpdemux'

我已经把解开后的live目录cp到/usr/lib下
live下有个livemedia目录,那里面的include有那个hh文件
这个怎么弄?
顺便问问怎么修改使编译器可以查找新的include位置?
发表于 2005-4-19 17:10:23 | 显示全部楼层
我记得似乎live还需要编译的。(编译但不安装)

cd live
genMakefiles linux
make

好像是,很长时间没用mplayer了,谁叫xine们很牛呢。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-30 00:09 , Processed in 0.048649 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表