Hi:
I have upgrade Debian 9 Stretch from a Debian 8.10 with bacula-fd 9.0.5. I
want to check the compilation of bacula in the new Debian System, using
bacula 9.0.6. The command "configure" seem go fine, but when I run "make",
return the next warnings:
plugins.c: In function 'bool load_plugins(void*, void*, const char*, const
> char*, bool (*)(Plugin*))':
> plugins.c:123:12: warning: 'int readdir_r(DIR*, dirent*, dirent**)' is
> deprecated [-Wdeprecated-declarations]
> if ((readdir_r(dp, entry, &result) != 0) || (result == NULL)) {
> ^~~~~~~~~
> In file included from /usr/include/features.h:364:0,
> from /usr/include/stdint.h:25,
> from /usr/lib/gcc/x86_64-linux-gnu/6/include/stdint.h:9,
> from ../bacula.h:60,
> from plugins.c:25:
> /usr/include/dirent.h:189:12: note: declared here
> extern int __REDIRECT (readdir_r,
> ^
> plugins.c:123:40: warning: 'int readdir_r(DIR*, dirent*, dirent**)' is
> deprecated [-Wdeprecated-declarations]
> if ((readdir_r(dp, entry, &result) != 0) || (result == NULL)) {
> ^
> In file included from /usr/include/features.h:364:0,
> from /usr/include/stdint.h:25,
> from /usr/lib/gcc/x86_64-linux-gnu/6/include/stdint.h:9,
> from ../bacula.h:60,
> from plugins.c:25:
> /usr/include/dirent.h:189:12: note: declared here
> extern int __REDIRECT (readdir_r,
> ^
> find_one.c: In function 'int find_one_file(JCR*, FF_PKT*, int (*)(JCR*,
> FF_PKT*, bool), char*, dev_t, bool)':
> find_one.c:708:20: warning: 'int readdir_r(DIR*, dirent*, dirent**)' is
> deprecated [-Wdeprecated-declarations]
> status = readdir_r(directory, entry, &result);
> ^~~~~~~~~
> In file included from /usr/include/features.h:364:0,
> from /usr/include/stdint.h:25,
> from /usr/lib/gcc/x86_64-linux-gnu/6/include/stdint.h:9,
> from ../bacula.h:60,
> from find_one.c:30:
> /usr/include/dirent.h:189:12: note: declared here
> extern int __REDIRECT (readdir_r,
> ^
> find_one.c:708:55: warning: 'int readdir_r(DIR*, dirent*, dirent**)' is
> deprecated [-Wdeprecated-declarations]
> status = readdir_r(directory, entry, &result);
> ^
> In file included from /usr/include/features.h:364:0,
> from /usr/include/stdint.h:25,
> from /usr/lib/gcc/x86_64-linux-gnu/6/include/stdint.h:9,
> from ../bacula.h:60,
> from find_one.c:30:
> /usr/include/dirent.h:189:12: note: declared here
> extern int __REDIRECT (readdir_r,
> ^
> backup.c: In function ‘bool setup_compression(bctx_t&)’:
> backup.c:1039:9: warning: unused variable ‘jcr’ [-Wunused-variable]
> JCR *jcr = bctx.jcr;
> ^~~
>
The step "make install" seem go fine.
If I run "status client" in the director, it return:
srvDebian9-fd Version: 9.0.6 (20 November 2017)
>
Everything is Ok?
Regards.
Jesús Moreno.
--
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users