[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compile error -- undefined symbol set_new_handler
From: |
Brian Tyrrell |
Subject: |
Re: Compile error -- undefined symbol set_new_handler |
Date: |
Wed, 16 Dec 1998 19:39:40 -0500 |
I successfully compiled octave by copying new and std/new.h (from the
g++-include direcory on the system) to another location in /tmp, and
modifying std/new.h as follows:
extern "C" new_handler set_new_handler (new_handler);
was changed to
new_handler set_new_handler (new_handler);
Then I changed the #include in src/sighandlers.cc and
liboctave/oct-alloc.cc to #include "/tmp/{path}/new".
Thank you John Eaton and Joao Cardoso for your help.