On Wed, Sep 19, 2012 at 1:56 PM, Ryan Mansfield <rmansfi...@qnx.com> wrote: > > I'm hitting the following build issue > > /bin/sh ./libtool --tag=CC --mode=compile i686-unknown-linux-gnu-gcc > -DHAVE_CONFIG_H -I. -I../../libbacktrace -I ../../libbacktrace/../include > -I ../../libbacktrace/../libgcc -I ../libgcc -I ../gcc/include -I > ../../gcc/include -W -Wall -Wwrite-strings -Wstrict-prototypes > -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute > -Wcast-qual -Werror -g -O2 -MT backtrace.lo -MD -MP -MF .deps/backtrace.Tpo > -c -o backtrace.lo ../../libbacktrace/backtrace.c > libtool: compile: i686-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. > -I../../libbacktrace -I ../../libbacktrace/../include -I > ../../libbacktrace/../libgcc -I ../libgcc -I ../gcc/include -I > ../../gcc/include -W -Wall -Wwrite-strings -Wstrict-prototypes > -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute > -Wcast-qual -Werror -g -O2 -MT backtrace.lo -MD -MP -MF .deps/backtrace.Tpo > -c ../../libbacktrace/backtrace.c -o backtrace.o > > cc1: warnings being treated as errors > ../../libbacktrace/backtrace.c: In function 'unwind': > ../../libbacktrace/backtrace.c:69: warning: implicit declaration of function > '_Unwind_GetIPInfo' > make[3]: *** [backtrace.lo] Error 1
Don't omit the details: How precisely did you run configure? In what directory is this error occurring? Please check HAVE_GETIPINFO in libbacktrace/config.h. I assume it is 1. It looks like you may be doing some sort of Canadian Cross build. What version of GCC is i686-unknown-linux-gnu-gcc? Does that version of gcc declare _Unwind_GetIPInfo in its unwind.h? Does it provide _Unwind_GetIPInfo in its libgcc? Ian