> On Apr 27, 2019, at 4:03 PM, Carsten Leonhardt <[email protected]> wrote:
>
> Hi Dan,
>
>> I am setting up regression testing for MySQL 8.0 and getting this error on
>> the build:
>
>> /usr/home/dan/src/bacula/regress/build/libtool --silent --tag=CXX
>> --mode=link /usr/bin/c++ -o libbaccats.la cats_null.lo -export-dynamic
>> -rpath /usr/home/dan/src/bacula/regress/bin -release 9.4.3
>> Compiling mysql.c
>> mysql.c:201:4: error: unknown type name 'my_bool'
>> my_bool reconnect = 1;
>> ^
>> 1 error generated.
>> *** Error code 1
>
> MySQL removed "my_bool" in version 8, a patch is needed. For example:
>
> see https://patches.ubuntu.com/b/bacula/bacula_9.4.2-2ubuntu1.patch
>
> There might be cleverer approaches.
>
> Regards,
>
> Carsten
That got me farther into the compile. Now it's:
cats_test.c:533:75: error: too many arguments provided to function-like macro
invocation
ok(db_get_file_list(jcr, jcr->db_batch, buf, false, false, list_files, &j),
^
../cats/protos.h:224:9: note: macro 'db_get_file_list' defined here
#define db_get_file_list(jcr, mdb, jobids, opts, result_handler, ctx) \
^
1 error generated.
*** Error code 1
—
Dan Langille
http://langille <http://langille/>.org/
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users