<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7652.24">
<TITLE>RE: [vlc-devel] repost : symbol not found : vlc exits.</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>
<BR>
<BR>
<P><FONT SIZE=2>-----Original Message-----<BR>
From: vlc-devel-bounces@videolan.org on behalf of Sourav Pal<BR>
Sent: Sun 7/8/2007 8:38 AM<BR>
To: vlc-devel@videolan.org<BR>
Subject: [vlc-devel] repost : symbol not found : vlc exits.<BR>
<BR>
Hi ,<BR>
I am sorry , I am not sure whether it went through the<BR>
vlc-developer mailing list the first time. I am posting it for the<BR>
second time. Please bear.<BR>
<BR>
Regards<BR>
Sourav<BR>
******************************************************************************************<BR>
Hello ,<BR>
I need some help. I have created a vlc_rtsp.h in the include<BR>
directory which<BR>
contains the struct rtsp_server_t with the following function :<BR>
<BR>
VLC_EXPORT( rtsp_server_t *, rtsp_SERVER, ( vlc_object_t *, const char<BR>
*psz_host, int i_port ) );<BR>
<BR>
Now I have included the relevant function and structure in the<BR>
vlc_symbols.h and vlc_common.h.<BR>
<BR>
I am trying to access the rtsp_SERVER from modules/misc/rtsp.c which contains<BR>
the interfaces with the VOD server.<BR>
<BR>
struct vod_sys_t<BR>
{<BR>
/* RTSP server */<BR>
#if SOC_2007<BR>
struct rtsp_server_t *p_rtsp_soc_host;<BR>
#endif<BR>
.......<BR>
<BR>
}<BR>
When it Opens am trying to associate it as follows :<BR>
<BR>
p_sys->p_rtsp_soc_host = rtsp_SERVER(VLC_OBJECT(p_vod),<BR>
url.psz_host,url.i_port);<BR>
<BR>
Also, as of now , I have implemented the function rtsp_SERVER in<BR>
/src/network/rtsp.c<BR>
which basically runs as a server waiting for client request to arrive.<BR>
<BR>
It compiles , but when I run it , the vlc terminates as shown below:<BR>
<BR>
So my question , why is it not finding the symbol rtsp_SERVER. Do I<BR>
need to change<BR>
anywhere else.<BR>
<BR>
Any pointers will be greatly appreciated.<BR>
<BR>
/*****************************<BR>
***************************************************************************/<BR>
vlc --ttl 12 -vvv --color -I telnet --telnet-password videolan<BR>
--rtsp-host 129.107.98.99:5554<BR>
VLC media player 0.9.0-svn Grishenko<BR>
[00000001] main libvlc debug: checking builtin modules<BR>
[00000001] main libvlc debug: checking plugin modules<BR>
[00000001] main libvlc debug: loading plugins cache file<BR>
/home/click/.vlc/cache/plugins-04041e.dat<BR>
[00000001] main libvlc debug: recursively browsing `modules'<BR>
[00000001] main libvlc warning: cannot load module<BR>
`modules/misc/.libs/libvod_rtsp_plugin.so'<BR>
(modules/misc/.libs/libvod_rtsp_plugin.so: undefined symbol:<BR>
rtsp_SERVER)<BR>
[00000001] main libvlc warning: cannot load module<BR>
`modules/codec/ffmpeg/.libs/libffmpeg_plugin.so'<BR>
(modules/codec/ffmpeg/.libs/libffmpeg_plugin.so: undefined symbol:<BR>
av_base64_encode)<BR>
[00000001] main libvlc debug: recursively browsing `/usr/local/lib/vlc'<BR>
[00000001] main libvlc debug: recursively browsing `plugins'<BR>
[00000001] main libvlc debug: module bank initialized, found 203 modules<BR>
[00000001] main libvlc debug: opening config file (/home/click/.vlc/vlcrc)<BR>
lt-vlc: unknown option or missing mandatory argument `--rtsp-host'<BR>
Try `lt-vlc --help' for more information.<BR>
[00000001] main libvlc debug: opening config file (/home/click/.vlc/vlcrc)<BR>
[00000001] main libvlc debug: opening config file (/home/click/.vlc/vlcrc)<BR>
[00000001] main libvlc debug: saving plugins cache file<BR>
/home/click/.vlc/cache/plugins-04041e.dat<BR>
<BR>
/********************************************************************************************************/<BR>
<BR>
Regards,<BR>
Sourav<BR>
_______________________________________________<BR>
vlc-devel mailing list<BR>
vlc-devel@videolan.org<BR>
<A HREF="http://mailman.videolan.org/listinfo/vlc-devel">http://mailman.videolan.org/listinfo/vlc-devel</A><BR>
<BR>
</FONT>
</P>
</BODY>
</HTML>