>From the GNU doc, it sounds like a standard extension of gcc - beats me why it's not there in FreeBSD.
However, it sounds like ./configure isn't working properly. Can you find the lines in config.h and config.log regarding the test and post them... For me it's: /* Define if you have backtrace */ #define HAVE_BACKTRACE 1 and configure:4213: checking for backtrace in -lc configure:4232: gcc -o conftest -g -O2 -pipe -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissi ng-declarations -Wnested-externs -fPIC conftest.c -lc -ldl 1>&5 If backtrace doesn't work, then running under gdb is probably the only option. -----Burton -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Stanley Hopcroft Sent: Friday, September 20, 2002 7:56 AM To: [EMAIL PROTECTED] Subject: Re: [Ntop-dev] Re: FreeBSD SIGBUS when dumping data -- backtrace Dear Sir, backtrace _isn't_ found by configure .. even with -lc configure:4127: checking for backtrace in -lc configure:4146: gcc -o conftest -g -O2 -pipe conftest.c -lc 1>&5 /tmp/cc475FVO.o: In function `main': /home/anwsmh/build/ntop-2.1.2/ntop/configure(.text+0x7): undefined reference to `backtrace' configure: failed program was: #line 4135 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char backtrace(); int main() { backtrace() ; return 0; } Not in libc.a ? stan> nm -s /usr/lib/libc.a | grep -i backtrace stan> Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. _______________________________________________ Ntop-dev mailing list [EMAIL PROTECTED] http://lists.ntop.org/mailman/listinfo/ntop-dev _______________________________________________ Ntop-dev mailing list [EMAIL PROTECTED] http://lists.ntop.org/mailman/listinfo/ntop-dev
