On 24.02.20 12:34, Wanderlei Huttel wrote: > I've tried to to compile, bu I've receiving an error message in console.c. > ================================================= > Compiling console.c > /usr/src/bacula/bacula/libtool --silent --tag=CXX --mode=link > /usr/bin/g++ -L/usr/include/readline -L../lib -L../cats -o bbconsjson > bbconsjson.o console_conf.o \ > -lreadline -lhistory -lbaccfg -lbac -lm -lpthread -ldl -ldl \ > -lssl -lcrypto > In file included from ../bacula.h:165:0, > from console.c:27: > console.c: In function ‘int console_update_history(const char*)’: > console.c:948:21: error: ‘histfile_size’ was not declared in this scope > int nlines = MAX(histfile_size - history_lines_added, 0); > ^ > ../bc_types.h:246:21: note: in definition of macro ‘MAX’ > #define MAX(a, b) ((a) > (b) ? (a) : (b)) > ^ > Makefile:144: recipe for target 'console.o' failed > make[1]: *** [console.o] Error 1 > make[1]: Leaving directory '/usr/src/bacula/bacula/src/console' > > > ====== Error in /usr/src/bacula/bacula/src/console ====== > =================================================
I confirm the error, I see the same in my Debian buildroots. https://salsa.debian.org/bacula-team/bacula/-/jobs/578812#L2750 Grüße, Sven.
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Bacula-devel mailing list Bacula-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-devel