Project

General

Profile

Bug #295

Make fails on FreeBSD due to execinfo.h

Added by sph about 16 years ago. Updated almost 16 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
General / Unspecified
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Version:
0.13.1
OS:
Any

Description

Due to: http://www.gnu.org/software/gnulib/manual/html_node/execinfo_002eh.html
The header is missing from the gnu library on non-linux platforms and needs to be linked to.

I've included a patch for CMakeLists.txt, it compiles properly on FreeBSD and it detects the built-in library on Linux (but I couldn't get past the Qt4.4 test there, so it still needs a compilation test).

Also, the following can be replaced in the code:
#if not defined(Q_OS_WIN32) && not defined(MAC_10_4_SDK)
by:
#if defined(HAVE_EXECINFO)

But I haven't done that yet.

CMakeLists.diff (1.68 KB) CMakeLists.diff admin, 08/27/2008 04:03 AM

Associated revisions

Revision a85b57c3 (diff)
Added by Marcus Eggenberger about 16 years ago

Fixing BR #295 - Autobacktraces are limited to Linux now.
Mac OS has it's own crashhandler and BSD seems to lack execinfo.h

Revision 374a9148 (diff)
Added by Marcus Eggenberger about 16 years ago

Fixing BR #295 - Autobacktraces are limited to Linux now.
Mac OS has it's own crashhandler and BSD seems to lack execinfo.h

Also available in: Atom PDF