Hello Martin,

On 08/09/2011 03:03 PM, Martin Simmons wrote:
> There is a problem building Bacula 5.2.0 RC1 on FreeBSD 8.0:
>
> Compiling bsys.c
> bsys.c:757:22: error: execinfo.h: No such file or directory
> bsys.c: In function 'void stack_trace()':
> bsys.c:765: error: 'backtrace' was not declared in this scope
> bsys.c:766: error: 'backtrace_symbols' was not declared in this scope
> gmake[1]: *** [bsys.lo] Error 1
> gmake[1]: Leaving directory `/u/ldisk/bacula/tmp/bacula-5.2.0rc1/src/lib'
>
> I have /usr/local/include/execinfo.h, but the Makefile doesn't know that.  It
> would also need to link with libexecinfo from /usr/local/lib, because execinfo
> isn't part of libc on FreeBSD.
>
> Alternatively, the problem may be that configure incorrectly sets
> HAVE_BACKTRACE to 1 because the other header file (cxxabi.h) is found (see the
> documentation for AC_CHECK_HEADERS).

I will just change the CHECK_HEADERS to a CHECK_FUNCS. The backtrace 
call doesn't look to be very portable.

Can you download and try this version of the configure script ?
http://www.bacula.org/downloads/Bacula-5.2.0rc1/configure
md5: 9e9e9a59d0ee3e4e112dc973d1d48fdc

Thanks,

Bye

-- 
Need professional help and support for Bacula ?
Visit http://www.baculasystems.com

------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to