[vlc-devel] Re: undefined symbol: dbus_connection_disconnect

Stone syphyr at gmail.com
Sat Sep 16 04:08:44 CEST 2006


On 9/14/06, Stone <syphyr at gmail.com> wrote:
>
> After a recent update, I am seeing the following undefined symbol error.
> Did the api change?
>
> [00000001] main vlc warning: cannot load module
> `/usr/lib/vlc/misc/libscreensaver_plugin.so'
> (/usr/lib/vlc/misc/libscreensaver_plugin.so: undefined symbol:
> dbus_connection_disconnect)



Aparently the API did change in dbus 0.92. The following change fixes the
problem with the new dbus lib (although this is not really a true fix
because it does not support previous versions):

--- vlc-trunk/modules/misc/screensaver.c.orig  2006-09-15
19:00:20.000000000-0700
+++ vlc-trunk/modules/misc/screensaver.c       2006-09-15
19:01:00.000000000-0700
@@ -110,7 +110,7 @@

     if( p_intf->p_sys->p_connection )
     {
-        dbus_connection_disconnect( p_intf->p_sys->p_connection );
+        dbus_connection_close( p_intf->p_sys->p_connection );
     }

     if( p_intf->p_sys )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20060915/3381f443/attachment.html>


More information about the vlc-devel mailing list