On Sunday 29 March 2009 04:49:35 James Harper wrote:
> This patch was required for win32 to compile after commit 8626. I was
> under the impression that the .def files were automatically generated
> for windows, but obviously not.

Thanks.  No, unfortunately, Windows requires manual creation of the def files.  
We have a few tools (documented in the README) that make it easier, but it is 
always a pain.  In addition, you must explicitly mark the source for 
variables that are to be exported.  :-(

>
> Index: lib/bacula32.def
> ===================================================================
> --- lib/bacula32.def    (revision 8634)
> +++ lib/bacula32.def    (working copy)
> @@ -68,7 +68,7 @@
>
>  ; plugins.o
>  _Z10new_pluginv
> -_Z12load_pluginsPvS_PKcS1_
> +_Z12load_pluginsPvS_PKcS1_PFbP6PluginE
>  _Z14unload_pluginsv
>  _Z19dbg_plugin_add_hookPFvP6PluginP6_iobufE
>
> ---------------------------------------------------------------------------
>--- _______________________________________________
> Bacula-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bacula-devel



------------------------------------------------------------------------------
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to