From bug-octave-request at bevo dot che dot wisc dot edu Fri Jan 18 22:22:10 2002 Subject: Octave-2.1.35-6 compilation error From: Calvin Teague To: bug-octave at bevo dot che dot wisc dot edu Date: Fri, 18 Jan 2002 22:21:49 -0600 I just tried using fink to install octave-2.1.35-6 on a MacOSX 10.1.2 system, and received the following error during the compilation phase. I could just define NULL manually, but I suspect there is a header file which should be included. Any suggestions? The last few lines from the console output are below. A couple of months ago I successfully installed octave-2.1.35-5 on a different machine, and I think I used fink for that, but I don't think the -5 files are still on the fink site. Calvin Teague ------------------- c++ -c -no-cpp-precomp -I/sw/include -I. -I.. -I../liboctave -I../src -I../libcruft/misc -I../glob -I../glob -DHAVE_CONFIG_H -fno-implicit-templates -g -O2 -Wall oct-fftw.cc -o oct-fftw.o oct-fftw.cc: In function `static int octave_fftw::fft2d(Complex *, long unsigned int, long unsigned int)': oct-fftw.cc:157: `NULL' undeclared (first use this function) oct-fftw.cc:157: (Each undeclared identifier is reported only once oct-fftw.cc:157: for each function it appears in.) make[2]: *** [oct-fftw.o] Error 1 make[1]: *** [liboctave] Error 2 make: *** [all] Error 2 ### make failed, exit code 2 Failed: compiling octave-2.1.35-6 failed ------------------------------------------------------------- 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 -------------------------------------------------------------