diff -Naur openttd-1.1.1.orig/src/os/unix/crashlog_unix.cpp openttd-1.1.1/src/os/unix/crashlog_unix.cpp
--- openttd-1.1.1.orig/src/os/unix/crashlog_unix.cpp	2010-07-31 21:02:56.000000000 +0000
+++ openttd-1.1.1/src/os/unix/crashlog_unix.cpp	2011-07-23 23:01:06.000000000 +0000
@@ -21,7 +21,7 @@
 
 #if defined(__GLIBC__)
 /* Execinfo (and thus making stacktraces) is a GNU extension */
-#	include <execinfo.h>
+//#	include <execinfo.h>
 #elif defined(SUNOS)
 #	include <ucontext.h>
 #	include <dlfcn.h>
@@ -108,13 +108,13 @@
 		buffer += seprintf(buffer, last, "Stacktrace:\n");
 #if defined(__GLIBC__)
 		void *trace[64];
-		int trace_size = backtrace(trace, lengthof(trace));
+		/*int trace_size = backtrace(trace, lengthof(trace));
 
 		char **messages = backtrace_symbols(trace, trace_size);
 		for (int i = 0; i < trace_size; i++) {
 			buffer += seprintf(buffer, last, " [%02i] %s\n", i, messages[i]);
 		}
-		free(messages);
+		free(messages); */
 #elif defined(SUNOS)
 		ucontext_t uc;
 		if (getcontext(&uc) != 0) {
