From bug-octave-request at bevo dot che dot wisc dot edu Fri Jan 18 22:22:07 2002 Subject: Error compiling octave on irix From: steve at islandia dot liunet dot edu (Steve Liebling) To: bug-octave at bevo dot che dot wisc dot edu Cc: steve at islandia dot liunet dot edu Date: Fri, 18 Jan 2002 22:21:57 -0600 I'm having problems compiling octave-2.0.16 on an SGI Origin 200 running Irix 6.5.1. I've installed and am using gmake, I grabbed the GCC compiler stuff from freeware.sgi.com: I fw_gcc 01/18/02 gcc-3.0.1 GNU Compiler Suite I fw_gcc.man 01/18/02 gcc-3.0.1 man pages I fw_gcc.man.gcc 01/18/02 gcc-3.0.1 man pages I fw_gcc.man.info 01/18/02 gcc-3.0.1 info pages I fw_gcc.man.relnotes 01/18/02 gcc-3.0.1 release notes I fw_gcc.sw 01/18/02 gcc-3.0.1 execution only env I fw_gcc.sw.gcc 01/18/02 gcc-3.0.1 execution only env I fw_gcc.sw.libstdc++ 01/18/02 gcc-3.0.1 libstdc++-v3 I fw_gcc.sw.utils 01/18/02 gcc-3.0.1 other languages, utilities The error is: gmake[2]: Entering directory `/var/tmp/install/net_octave/octave-2.0.16/liboctave' g++ -c -I. -I.. -I../liboctave -I../src -I../libcruft/misc -I../glob -I../glob -DHAVE_CONFIG_H -fno-rtti -fno-exceptions -fno-implicit-templates -g -O2 -Wall Bounds.cc In file included from mx-defs.h:72, from dColVector.h:32, from Bounds.h:32, from Bounds.cc:33: oct-cmplx.h:28: syntax error before `;' token In file included from dColVector.h:32, from Bounds.h:32, from Bounds.cc:33: mx-defs.h:81: parse error before `&' token mx-defs.h:82: `c_c_Mapper' was not declared in this scope mx-defs.h:82: parse error before `&' token mx-defs.h:82: ISO C++ forbids declaration of `Complex' with no type mx-defs.h:82: typedef declaration includes an initializer mx-defs.h:82: confused by earlier errors, bailing out gmake[2]: *** [Bounds.o] Error 1 gmake[2]: Leaving directory `/var/tmp/install/net_octave/octave-2.0.16/liboctave' gmake[1]: *** [liboctave] Error 2 gmake[1]: Leaving directory `/var/tmp/install/net_octave/octave-2.0.16' gmake: *** [all] Error 2 I've tried in vain playing with certain things, but ultimately it would seem I have the necessary stuff, it's just some problem with the definitions, prototypes, or the preprocessor. I've searched for relevant bug reports and for IRIX binaries (if only!), to no avail. If it helps here's the final output from configure: Octave is now configured for mips-sgi-irix6.5 Source directory: . Installation prefix: /usr/local C compiler: gcc -g -O2 -Wall C++ compiler: g++ -fno-rtti -fno-exceptions -fno-implicit-templates -g -O2 -Wall Fortran compiler: f77 -O Fortran libraries: -LANG:=f77 -L/usr/lib32/mips4/r10000 -L/usr/lib32/mips4 -L/usr/lib32 -lftn -lm Use GNU readline: true Default pager: less gnuplot: gnuplot Do internal array bounds checking: false Build shared libraries: false Minimal kernel option: false Dynamic Linking (dlopen/dlsym): true Dynamic Linking (shl_load/shl_findsym): false configure: warning: I didn't find runtest -- install DejaGNU if you want to run `make check' Thanks, steve ------------------------------------------------------------- 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 -------------------------------------------------------------