[vlc-devel] Help Needed : symbol not found , vlc exits.
Sourav Pal
souravpal at gmail.com
Sun Jul 8 08:27:46 CEST 2007
Hello ,
I need some help. I have created a vlc_rtsp.h in the include
directory which
contains the struct rtsp_server_t with the following function :
VLC_EXPORT( rtsp_server_t *, rtsp_SERVER, ( vlc_object_t *, const char
*psz_host, int i_port ) );
Now I have included the relevant function and structure in the vlc_symbols.h
and vlc_common.h.
I am trying to access the rtsp_SERVER from modules/misc/rtsp.c which
contains
the interfaces with the VOD server.
struct vod_sys_t
{
/* RTSP server */
#if SOC_2007
struct rtsp_server_t *p_rtsp_soc_host;
#endif
.......
}
When it Opens am trying to associate it as follows :
p_sys->p_rtsp_soc_host = rtsp_SERVER(VLC_OBJECT(p_vod),url.psz_host,
url.i_port);
Also, as of now , I have implemented the function rtsp_SERVER in
/src/network/rtsp.c
which basically runs as a server waiting for client request to arrive.
It compiles , but when I run it , the vlc terminates as shown below:
So my question , why is it not finding the symbol rtsp_SERVER. Do I need to
change
anywhere else.
Any pointers will be greatly appreciated.
/********************************************************************************************************/
vlc --ttl 12 -vvv --color -I telnet --telnet-password videolan --rtsp-host
129.107.98.99:5554
VLC media player 0.9.0-svn Grishenko
[00000001] main libvlc debug: checking builtin modules
[00000001] main libvlc debug: checking plugin modules
[00000001] main libvlc debug: loading plugins cache file
/home/click/.vlc/cache/plugins-04041e.dat
[00000001] main libvlc debug: recursively browsing `modules'
[00000001] main libvlc warning: cannot load module
`modules/misc/.libs/libvod_rtsp_plugin.so'
(modules/misc/.libs/libvod_rtsp_plugin.so: undefined symbol: rtsp_SERVER)
[00000001] main libvlc warning: cannot load module
`modules/codec/ffmpeg/.libs/libffmpeg_plugin.so'
(modules/codec/ffmpeg/.libs/libffmpeg_plugin.so: undefined symbol:
av_base64_encode)
[00000001] main libvlc debug: recursively browsing `/usr/local/lib/vlc'
[00000001] main libvlc debug: recursively browsing `plugins'
[00000001] main libvlc debug: module bank initialized, found 203 modules
[00000001] main libvlc debug: opening config file (/home/click/.vlc/vlcrc)
lt-vlc: unknown option or missing mandatory argument `--rtsp-host'
Try `lt-vlc --help' for more information.
[00000001] main libvlc debug: opening config file (/home/click/.vlc/vlcrc)
[00000001] main libvlc debug: opening config file (/home/click/.vlc/vlcrc)
[00000001] main libvlc debug: saving plugins cache file
/home/click/.vlc/cache/plugins-04041e.dat
/********************************************************************************************************/
Regards,
Sourav
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20070708/900c3e69/attachment.html>
-------------- next part --------------
_______________________________________________
vlc-devel mailing list
vlc-devel at videolan.org
http://mailman.videolan.org/listinfo/vlc-devel
More information about the vlc-devel
mailing list