[libvirt] [PATCH] don't make lxc_driver static
Daniel P. Berrange
berrange at redhat.com
Fri Jul 20 09:06:40 UTC 2012
On Fri, Jul 20, 2012 at 02:43:19PM +0800, Gao feng wrote:
> because it will be used in lxc_process.c
>
> below is the error information
> debug : virDriverLoadModule:66 : Module load lxc
> error : virDriverLoadModule:78 : failed to load module
> /usr/local/lib/libvirt/connection-driver/libvirt_driver_lxc.so
> /usr/local/lib/libvirt/connection-driver/libvirt_driver_lxc.so:
> undefined symbol: lxc_driver
>
> Signed-off-by: Gao feng <gaofeng at cn.fujitsu.com>
> ---
> src/lxc/lxc_driver.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/src/lxc/lxc_driver.c b/src/lxc/lxc_driver.c
> index d7f052f..09c64b2 100644
> --- a/src/lxc/lxc_driver.c
> +++ b/src/lxc/lxc_driver.c
> @@ -72,7 +72,7 @@
>
> static int lxcStartup(int privileged);
> static int lxcShutdown(void);
> -static lxc_driver_t *lxc_driver = NULL;
> +lxc_driver_t *lxc_driver = NULL;
>
> /* Functions */
ACK, I had this fixed in my tree, but I guess i fixed it in the wrong
patch in the series
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
More information about the libvir-list
mailing list