It looks to me like you are using a g++ that is too old.  Anything before 2.95 
is likely to be unusable.

Bacula has never been built or run on a pre-4.x FreeBSD to the best of my 
knowledge.

On Tuesday 13 September 2005 16:24, Brian Keifer wrote:
> 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

-- 
Best regards,

Kern

  (">
  /\
  V_V


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to