From help-octave-request at bevo dot che dot wisc dot edu Wed Jan 29 17:17:59 2003 Subject: compilation error From: Jason Rennie To: help-octave at bevo dot che dot wisc dot edu Cc: jrennie at ai dot mit dot edu Date: Wed, 29 Jan 2003 18:17:49 -0500 Hello, I can't compile octave 2.1.43. g++ barfs while trying to compile data.cc in src. I'm using gcc 2.95.4 on an Intel P3 with Debian Linux 3.0. Below is the error (with context information). Any help would be appreciated. Thanks! Jason D. M. Rennie MIT AI Lab jrennie at ai dot mit dot edu (617) 253-5339 http://www.ai.mit.edu/~jrennie/ make[2]: Entering directory `/scratch/tmp/octave-2.1.43/src' making DASPK-opts.cc from ../liboctave/DASPK-opts.in making DASRT-opts.cc from ../liboctave/DASRT-opts.in DASRT-opts.cc is unchanged making DASSL-opts.cc from ../liboctave/DASSL-opts.in DASPK-opts.cc is unchanged making NLEqn-opts.cc from ../liboctave/NLEqn-opts.in DASSL-opts.cc is unchanged NLEqn-opts.cc is unchanged making Quad-opts.cc from ../liboctave/Quad-opts.in Quad-opts.cc is unchanged g++ -c -I. -I.. -I../liboctave -I../src -I../libcruft/misc -I../glob -I../glob -DHAVE_CONFIG_H -mieee-fp -g -O2 -Wall Cell.cc -o Cell.o g++ -c -I. -I.. -I../liboctave -I../src -I../libcruft/misc -I../glob -I../glob -DHAVE_CONFIG_H -mieee-fp -g -O2 -Wall c-file-ptr-stream.cc -o c-file-ptr-strea m.o g++ -c -I. -I.. -I../liboctave -I../src -I../libcruft/misc -I../glob -I../glob -DHAVE_CONFIG_H -mieee-fp -g -O2 -Wall comment-list.cc -o comment-list.o gcc -c -I. -I.. -I../liboctave -I../src -I../libcruft/misc -I../glob -I../glob -DHAVE_CONFIG_H -mieee-fp -g -O2 cutils.c -o cutils.o g++ -c -I. -I.. -I../liboctave -I../src -I../libcruft/misc -I../glob -I../glob -DHAVE_CONFIG_H -mieee-fp -g -O2 -Wall data.cc -o data.o In file included from Cell.h:36, from Cell.cc:31: oct-obj.h: In function `static void octave_value_list::operator delete(void *, v oid *)': oct-obj.h:69: no matching function for call to `operator delete (void *&, void * )' /usr/lib/gcc-lib/i386-linux/2.95.4/include/new:30: candidates are: void operator delete(void *) /usr/lib/gcc-lib/i386-linux/2.95.4/include/new:34: void operator delete(void *, const nothrow_t &) make[2]: *** [Cell.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from ov-mapper.h:32, from defun-int.h:30, from defun.h:30, from data.cc:36: oct-obj.h: In function `static void octave_value_list::operator delete(void *, v oid *)': oct-obj.h:69: no matching function for call to `operator delete (void *&, void * )' /usr/lib/gcc-lib/i386-linux/2.95.4/include/new:30: candidates are: void operator delete(void *) /usr/lib/gcc-lib/i386-linux/2.95.4/include/new:34: void operator delete(void *, const nothrow_t &) make[2]: *** [data.o] Error 1 make[2]: Leaving directory `/scratch/tmp/octave-2.1.43/src' make[1]: *** [src] Error 2 make[1]: Leaving directory `/scratch/tmp/octave-2.1.43' make: *** [all] Error 2 ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------