Greetings! I've been tasked with backing up two older FreeBSD machines - one's running 2.2.8 and the other is 3.4. I'm having some troubles getting Bacula 1.36.3 to compile on these two machines and was hoping someone here may be able to shed some light on the problem. My configure line is:
./configure --enable-client-only The make output is below. Any insight anyone could provide would be greatly appreciated. Also, to get it out of the way: Yes, I know these boxes should have been upgraded long ago. No, it's not my decision to make. =) /usr/local/src/bacula-1.36.3>make ==>Entering directory /usr/local/src/bacula-1.36.3/src make[1]: Entering directory `/usr/local/src/bacula-1.36.3/src' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/local/src/bacula-1.36.3/src' ==>Entering directory /usr/local/src/bacula-1.36.3/scripts make[1]: Entering directory `/usr/local/src/bacula-1.36.3/scripts' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/local/src/bacula-1.36.3/scripts' ==>Entering directory /usr/local/src/bacula-1.36.3/doc make[1]: Entering directory `/usr/local/src/bacula-1.36.3/doc' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/local/src/bacula-1.36.3/doc' ==>Entering directory /usr/local/src/bacula-1.36.3/src/lib make[1]: Entering directory `/usr/local/src/bacula-1.36.3/src/lib' g++ -c -I. -I.. -g -O2 -Wall alloc.c g++ -c -I. -I.. -g -O2 -Wall attr.c In file included from ../lib/lib.h:31, from ../bacula.h:118, from attr.c:29: ../lib/smartall.h:121: second argument to `operator delete' must be of type `size_t' ../lib/smartall.h:121: `...' invalid in specification of `operator delete' ../lib/smartall.h:125: too many arguments in declaration of `operator delete' ../lib/smartall.h:125: `...' invalid in specification of `operator delete' ../lib/smartall.h:131: warning: `catch', `throw', and `try' are all C++ reserved words ../lib/smartall.h:131: parse error before `{' ../lib/smartall.h:121: `SMARTALLOC::operator delete(void *, unsigned int ...)' overloaded ../lib/smartall.h:112: previous declaration as `SMARTALLOC::operator delete(void *)' here ../lib/smartall.h:125: `SMARTALLOC::operator delete [](void *, unsigned int ...)' overloaded ../lib/smartall.h:116: previous declaration as `SMARTALLOC::operator delete [](void *, unsigned int)' here ../lib/smartall.h:132: semicolon missing after declaration of `SMARTALLOC' ../lib/smartall.h:132: two or more data types in declaration of `new []' ../lib/smartall.h:132: `operator new' must return type `void *' ../lib/smartall.h: In function `void * operator new [](unsigned int)': ../lib/smartall.h:132: warning: unused parameter `unsigned int s' ../lib/smartall.h: In function `static void SMARTALLOC::operator delete [](void *, unsigned int)': ../lib/smartall.h:116: warning: unused parameter `unsigned int i' ../lib/smartall.h: In function `static void SMARTALLOC::operator delete(void *, unsigned int ...)': ../lib/smartall.h:121: warning: unused parameter `const char * fname' ../lib/smartall.h:121: warning: unused parameter `int line' ../lib/smartall.h: In function `static void SMARTALLOC::operator delete [](void *, unsigned int ...)': ../lib/smartall.h:125: warning: unused parameter `unsigned int i' ../lib/smartall.h:125: warning: unused parameter `const char * fname' ../lib/smartall.h:125: warning: unused parameter `int line' ../lib/smartall.h: At top level: ../lib/smartall.h:133: parse error before `}' make[1]: *** [attr.o] Error 1 make[1]: Leaving directory `/usr/local/src/bacula-1.36.3/src/lib' \a\a ====== Error in /usr/local/src/bacula-1.36.3/src/lib ======\a\a Thanks in advance! -Brian -- I live in the United States of America, where we are gradually coming to understand that nothing we do is ever our fault, especially if it is really stupid. --Dave Barry, "The Tide is high and other household problems" ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users