From bug-octave-request at bevo dot che dot wisc dot edu Tue Dec 15 15:33:14 1998 Subject: Re: Compile error -- undefined symbol set_new_handler From: "John W. Eaton" To: Brian Tyrrell Cc: bug-octave at bevo dot che dot wisc dot edu Date: Tue, 15 Dec 1998 15:33:30 -0600 (CST) On 15-Dec-1998, Brian Tyrrell wrote: | Regardless of the -rdynamic flag's existance, the compilation still fails | with the same error. Here is the tail of the log. Why is set_new_handler | undefined? | Undefined first referenced | symbol in file | set_new_handler ../src/liboctinterp.a(sighandlers.o) | ld: fatal: Symbol referencing errors. No output written to octave As far as I know, set_new_handler is still a standard part of the language, I think. In my copies of g++ (egcs 1.1a and gcc 2.7.2.x) it is defined in libgcc.a. However, I notice that in egcs, the name in the library is mangled, but in the gcc 2.7.2 library it is not. I assume that the compiler should be handling this detail though, because I've not had trouble compiling Octave with egcs on Linux systems. jwe