Hi! fish-1.23.1 doesn't compile on NetBSD-6.99.11/amd64. The error is: In file included from common.c:89:0: fallback.c:1159:5: error: conflicting types for 'backtrace' /usr/include/execinfo.h:37:8: note: previous declaration of 'backtrace' was here fallback.c:1166:9: error: conflicting types for 'backtrace_symbols' /usr/include/execinfo.h:38:8: note: previous declaration of 'backtrace_symbols' was here
The problem is that configure doesn't detect the existence of backtrace and backtrace_symbols, the config.log says: configure:6108: checking for backtrace configure:6164: gcc -o conftest -O2 -I/usr/include -I/usr/pkg/include/ -std=c99 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-optimize-sibling-calls -Wall -I/usr/include -I/usr/pkg/include/ -std=c99 -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib/ -R/usr/pkg/lib/ conftest.c >&5 /var/tmp//ccsZ3vEq.o: In function `main': conftest.c:(.text+0x7): undefined reference to `backtrace' (and similarly for the other function) The issue is that both functions are defined in execinfo.h, but live in libexecinfo, not in libc; so proper detection needs to look for the symbols there as well (and link the library in when using the functions). Please fix :) Thank you, Thomas ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users