From bug-octave-request at bevo dot che dot wisc dot edu Thu May 10 10:32:28 2001 Subject: Problems compiling under Mac OS X From: Marius Schamschula To: bug-octave at bevo dot che dot wisc dot edu Date: Thu, 10 May 2001 10:28:10 -0500 Hi there, I'm trying to compile octave from the current cvs sources under Mac OS X (10.0.0.3) using cc (gcc version 2.95.2) and f2c. Problem 1: The libcruft Makefile For whatever reason I have CRUFT_DIRS = amos blas blas-xtra dassl at FFT_DIR@ lapack \ lapack-xtra linpack minpack misc odepack ordered-qz quadpack \ ranlib slatec-err slatec-fn villad at FFT_DIR@ does not get replaced by fftpack Problem 2: My current show-stopper c++ -c -I. -I.. -I../liboctave -I../src -I../libcruft/misc -I../glob -I../glob -DHAVE_CONFIG_H -fno-implicit-templates -g -O2 -Wall cmd- edit.cc -o cmd-edit.o cmd-edit.cc: In method `class string command_editor::do_decode_prompt_string(const string &)': cmd-edit.cc:826: `NPOS' undeclared (first use this function) cmd-edit.cc:826: (Each undeclared identifier is reported only once cmd-edit.cc:826: for each function it appears in.) cmd-edit.cc:885: implicit declaration of function `int geteuid(...)' make[2]: *** [cmd-edit.o] Error 1 make[1]: *** [liboctave] Error 2 make: *** [all] Error 2 Any ideas? Marius -- Marius Schamschula - optical physicist, mac and network coordinator The Center for Applied Optical Sciences Department of Physics, Alabama A & M University http://www.caos.aamu.edu/ ------------------------------------------------------------- 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 -------------------------------------------------------------