On Friday 14 September 2007 19:02, Dan Langille wrote:
> On 14 Sep 2007 at 18:57, Kern Sibbald wrote:
> > Thanks.
> >
> > It is fixed in trunk SVN rev. 5556.
>
> Can you explain that magic commit? I don't understand how you came
> up with those magic strings.
cd win32
make
(it fails)
cd cats
strings cats_mysql/mysql.o | grep db_escape_string
(find the right one -- a bit more magic)
(insert this new one in bacula_cats.def (see below).
edit bacula_cats.def
replace the old entry for db_escape_string with the new one
it is a mangled C++ name.
cd ..
make
it works
see src/win32/README.mingw32 for additional explanation.
There used to be an easier way using nm, but for some really strange reason,
nm no longer works (something to do with SuSE 10.2 => CentOS 5 switch I
think).
Regards,
Kern
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel