From: Joubert N. <jo...@jo...> - 2007-06-23 19:56:27
|
Hi Juho, On Sat, 2007-06-23 at 06:41 +0300, Juho Snellman wrote: > Joubert Nel <jo...@jo...> writes: > > backtrace.c:579: error: conflicting types for 'backtrace' > > /usr/include/execinfo.h:41: error: previous declaration of 'backtrace' > > was here > > Looks like there's a system function with the same name as an sbcl > runtime function. You could try renaming the backtrace() function in > the sbcl source to something else, for example: > > perl -i -pe 's{backtrace(?=\()}{sb_backtrace}ge' src/runtime/*.[ch] > thanks for the response. This renaming allows the compile to finish, however, I'm curious as to why this isn't also a problem on Linux builds, since this is a function in the GNU C Library - see http://www.gnu.org/software/libc/manual/html_mono/libc.html#Backtraces Joubert |