[MPlayer-users] mplayer.o:(.data+0x1618): undefined reference to `rtspStreamOverTCP'

Guillaume POIRIER poirierg at gmail.com
Sun Jun 18 17:48:04 CEST 2006


Hi,

On 6/18/06, power at abwesend.de <power at abwesend.de> wrote:
> Hello,
>
> I'm trying to install MPlayer on Suse 10.0.
> Because I want to use RTSP I've installed Live.

live isn't sufficient by itself, you need to also install dev headers.


> Executing ./configure --enable-live should work normal I think
> Checking for LIVE555 Streaming Media libraries ... yes (using /usr/local/live)
>
> Now I start make and then the installation always abort with follow
> message:
>
> mplayer.o:(.data+0x1618): undefined reference to `rtspStreamOverTCP'
> mplayer.o:(.data+0x163c): undefined reference to `rtsp_port'
>
> These parameters are used in cfg-common.h
>
> #ifdef STREAMING_LIVE555
> extern int rtspStreamOverTCP;
> extern int rtsp_port;
> #endif
>
> and
>
> #ifdef STREAMING_LIVE555
>         {"sdp", "-sdp is obsolete, use sdp://file instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
>         // -rtsp-stream-over-tcp option, specifying TCP streaming of RTP/RTCP
>         {"rtsp-stream-over-tcp", &rtspStreamOverTCP, CONF_TYPE_FLAG, 0, 0, 1, NULL},
>         {"rtsp-port", &rtsp_port, CONF_TYPE_INT, CONF_RANGE, -1, 65535, NULL},
> #else
>         {"rtsp-stream-over-tcp", "RTSP support requires the \"LIVE555 Streaming Media\" libraries.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
>         {"rtsp-port", "RTSP support requires the \"LIVE555 Streaming Media\" libraries.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
> #endif
>
> is there a bug? can someone help me?

When you enable a module with an option such as --enable-xx with
MPlayer's configure, what you are really doing is forcing the
compilation of the module, so if you don't have the necessary dev
headers, compilation will fail.
Please install live555 dev headers and things should go well.

Guillaume

-- 
"Success consists of going from failure to failure without loss of enthusiasm."
 -- Winston Churchill



More information about the MPlayer-users mailing list