From owner-bug-octave at bevo dot che dot wisc dot edu Thu Dec 14 02:10:55 1995 Subject: compile errors in octave 1.1.1 under solaris 2.x From: "David B. Rosen" To: bug-octave at che dot utexas dot edu Date: Thu, 14 Dec 1995 00:12:29 -0800 -------- Bug report for Octave 1.1.1 configured for sparc-sun-solaris2.2 (gcc 2.7.0 , libg++ 2.7.0a , f2c 19950808) Description: ----------- I'm getting quite a number of errors compiling some of the C++ code. I'll append a transcript at the end of this message. Repeat-By: --------- make -k Fix: --- ? Configuration (please do not edit this section): ----------------------------------------------- uname output: SunOS outcomes 5.2 Generic sun4m sparc Fortran compiler: FFLAGS: -O F2C: f2c F2CFLAGS: FLIBS: -lf2c C compiler: gcc CFLAGS: -DHAVE_CONFIG_H -g -O C++ compiler: c++ CXXFLAGS: -DHAVE_CONFIG_H -fno-implicit-templates -g -O LDFLAGS: -g DEFS: -DOCTAVE_SOURCE=1 -DSEPCHAR=':' -DSEPCHAR_STR=: -DNPSOL_MISSING=1 -DQPSOL_MISSING=1 -DFSQP_MISSING=1 -DHAVE_STRFTIME=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DWORDS_BIGENDIAN=1 -DIEEE_BIG_ENDIAN=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DF77_APPEND_UNDERSCORE=1 -DSTDC_HEADERS=1 -DHAVE_ASSERT_H=1 -DHAVE_FLOAT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_MEMORY_H=1 -DHAVE_PWD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_VARARGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FLOATINGPOINT_H=1 -DHAVE_SYS_UTSNAME_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_FCNTL_H=1 -DHAVE_SYS_TTOLD_H=1 -DHAVE_SYS_PTEM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_DIRENT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TERMIOS_H=1 -DHAVE_SETVBUF=1 -DHAVE_GETCWD=1 -DHAVE_VFPRINTF=1 -DHAVE_VSPRINTF=1 -DHAVE_STRCASECMP=1 -DHAVE_STRNCASECMP=1 -DHAVE_STRERROR=1 -DHAVE_ATEXIT=1 -DHAVE_TEMPNAM=1 -DHAVE_MEMMOVE=1 -DHAVE_PUTENV=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_LIBM=1 -DHAVE_FINITE=1 -DHAVE_ISNAN=1 -DHAVE_ACOSH=1 -DHAVE_ASINH=1 -DHAVE_ATANH=1 -DHAVE_ERF=1 -DHAVE_ERFC=1 -DHAVE_LGAM ################################ This is the result of the second make (trying to compile the failures left over from the first one). I'll remove some of the boring successful subdirectory output. cd /opt/Gnu/octave-1.1.1/ nice /opt/Gnu/octave-1.1.1/../make/3.74/bin/make -k ********************************************************** * * * To compile Octave, you will need a recent version of * * GNU Make. * * * * You will also need g++ version 2.6.3 or later, and * * libg++ version 2.6.1 or later. * * * * Now would be a good time to read INSTALL.OCTAVE if * * you have not done so already. * * * ********************************************************** /opt/Gnu/octave-1.1.1/../make/3.74/bin/make -f octMakefile all make[1]: Entering directory `/data/opt-d/Gnu/octave-1.1.1' echo making all in libcruft making all in libcruft cd libcruft ; /opt/Gnu/octave-1.1.1/../make/3.74/bin/make all make[2]: Entering directory `/data/opt-d/Gnu/octave-1.1.1/libcruft' <...MORE SUCCESSES HERE...> echo making all in villad making all in villad cd villad; /opt/Gnu/octave-1.1.1/../make/3.74/bin/make all make[3]: Entering directory `/data/opt-d/Gnu/octave-1.1.1/libcruft/villad' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/data/opt-d/Gnu/octave-1.1.1/libcruft/villad' make[2]: Leaving directory `/data/opt-d/Gnu/octave-1.1.1/libcruft' echo making all in liboctave making all in liboctave cd liboctave ; /opt/Gnu/octave-1.1.1/../make/3.74/bin/make all make[2]: Entering directory `/data/opt-d/Gnu/octave-1.1.1/liboctave' c++ -c -I. -I../src -I.. -I../liboctave -I../src -DHAVE_CONFIG_H -fno-implicit-templates -g -O DAE.cc DAE.cc: In function `int ddassl_f(double *, double *, double *, double *, int *, double *, int *)': DAE.cc:212: `i' undeclared (first use this function) DAE.cc:212: (Each undeclared identifier is reported only once DAE.cc:212: for each function it appears in.) DAE.cc: In method `class Matrix DAE::integrate(const class ColumnVector &, class Matrix &)': DAE.cc:376: `i' undeclared (first use this function) DAE.cc: In method `class Matrix DAE::integrate(const class ColumnVector &, class Matrix &, const class ColumnVector &)': DAE.cc:465: `i' undeclared (first use this function) make[2]: *** [DAE.o] Error 1 c++ -c -I. -I../src -I.. -I../liboctave -I../src -DHAVE_CONFIG_H -fno-implicit-templates -g -O NLEqn.cc NLEqn.cc: In function `int hybrd1_fcn(int *, double *, double *, int *)': NLEqn.cc:153: `i' undeclared (first use this function) NLEqn.cc:153: (Each undeclared identifier is reported only once NLEqn.cc:153: for each function it appears in.) NLEqn.cc: In function `int hybrj1_fcn(int *, double *, double *, double *, int *, int *)': NLEqn.cc:181: `i' undeclared (first use this function) NLEqn.cc: In method `class ColumnVector NLEqn::solve(int &)': NLEqn.cc:256: `i' undeclared (first use this function) make[2]: *** [NLEqn.o] Error 1 c++ -c -I. -I../src -I.. -I../liboctave -I../src -DHAVE_CONFIG_H -fno-implicit-templates -g -O ODE.cc ODE.cc: In method `class Matrix ODE::integrate(const class ColumnVector &)': ODE.cc:337: `i' undeclared (first use this function) ODE.cc:337: (Each undeclared identifier is reported only once ODE.cc:337: for each function it appears in.) ODE.cc: In method `class Matrix ODE::integrate(const class ColumnVector &, const class ColumnVector &)': ODE.cc:419: `i' undeclared (first use this function) make[2]: *** [ODE.o] Error 1 c++ -c -I. -I../src -I.. -I../liboctave -I../src -DHAVE_CONFIG_H -fno-implicit-templates -g -O CColVector.cc dColVector.h: In function `class ColumnVector real(const class ComplexColumnVector &)': dColVector.h:145: constructor `ColumnVector::ColumnVector(double *, int)' is private CColVector.cc:265: within this context dColVector.h: In function `class ColumnVector imag(const class ComplexColumnVector &)': dColVector.h:145: constructor `ColumnVector::ColumnVector(double *, int)' is private CColVector.cc:275: within this context CMatrix.h: In function `class ComplexMatrix operator (unary *)(const class ComplexColumnVector &, const class ComplexRowVector &)': CMatrix.h:283: constructor `ComplexMatrix::ComplexMatrix(class Complex *, int, int)' is private CColVector.cc:478: within this context make[2]: *** [CColVector.o] Error 1 c++ -c -I. -I../src -I.. -I../liboctave -I../src -DHAVE_CONFIG_H -fno-implicit-templates -g -O CDiagMatrix.cc dDiagMatrix.h: In function `class DiagMatrix real(const class ComplexDiagMatrix &)': dDiagMatrix.h:174: constructor `DiagMatrix::DiagMatrix(double *, int, int)' is private CDiagMatrix.cc:378: within this context dDiagMatrix.h: In function `class DiagMatrix imag(const class ComplexDiagMatrix &)': dDiagMatrix.h:174: constructor `DiagMatrix::DiagMatrix(double *, int, int)' is private CDiagMatrix.cc:389: within this context CDiagMatrix.cc: In function `class ComplexColumnVector operator (unary *)(const class ComplexDiagMatrix &, const class ColumnVector &)': CDiagMatrix.cc:733: `i' undeclared (first use this function) CDiagMatrix.cc:733: (Each undeclared identifier is reported only once CDiagMatrix.cc:733: for each function it appears in.) CDiagMatrix.cc: In function `class ComplexColumnVector operator (unary *)(const class ComplexDiagMatrix &, const class ComplexColumnVector &)': CDiagMatrix.cc:760: `i' undeclared (first use this function) make[2]: *** [CDiagMatrix.o] Error 1 c++ -c -I. -I../src -I.. -I../liboctave -I../src -DHAVE_CONFIG_H -fno-implicit-templates -g -O CMatrix.cc dMatrix.h: In function `class Matrix real(const class ComplexMatrix &)': dMatrix.h:258: constructor `Matrix::Matrix(double *, int, int)' is private CMatrix.cc:779: within this context dMatrix.h: In function `class Matrix imag(const class ComplexMatrix &)': dMatrix.h:258: constructor `Matrix::Matrix(double *, int, int)' is private CMatrix.cc:789: within this context CMatrix.cc: In method `class ComplexMatrix ComplexMatrix::ifourier() const': CMatrix.cc:1051: `j' undeclared (first use this function) CMatrix.cc:1051: (Each undeclared identifier is reported only once CMatrix.cc:1051: for each function it appears in.) CMatrix.cc: In method `class ComplexMatrix ComplexMatrix::fourier2d() const': CMatrix.cc:1095: `j' undeclared (first use this function) CMatrix.cc:1102: `i' undeclared (first use this function) CMatrix.cc: In method `class ComplexMatrix ComplexMatrix::ifourier2d() const': CMatrix.cc:1140: `j' undeclared (first use this function) CMatrix.cc:1158: `i' undeclared (first use this function) make[2]: *** [CMatrix.o] Error 1 c++ -c -I. -I../src -I.. -I../liboctave -I../src -DHAVE_CONFIG_H -fno-implicit-templates -g -O CRowVector.cc dRowVector.h: In function `class RowVector real(const class ComplexRowVector &)': dRowVector.h:142: constructor `RowVector::RowVector(double *, int)' is private CRowVector.cc:264: within this context dRowVector.h: In function `class RowVector imag(const class ComplexRowVector &)': dRowVector.h:142: constructor `RowVector::RowVector(double *, int)' is private CRowVector.cc:274: within this context make[2]: *** [CRowVector.o] Error 1 c++ -c -I. -I../src -I.. -I../liboctave -I../src -DHAVE_CONFIG_H -fno-implicit-templates -g -O dColVector.cc dMatrix.h: In function `class Matrix operator (unary *)(const class ColumnVector &, const class RowVector &)': dMatrix.h:258: constructor `Matrix::Matrix(double *, int, int)' is private dColVector.cc:325: within this context make[2]: *** [dColVector.o] Error 1 c++ -c -I. -I../src -I.. -I../liboctave -I../src -DHAVE_CONFIG_H -fno-implicit-templates -g -O dDiagMatrix.cc CDiagMatrix.h: In function `class ComplexDiagMatrix operator (unary *)(const class DiagMatrix &, const class Complex &)': CDiagMatrix.h:204: constructor `ComplexDiagMatrix::ComplexDiagMatrix(class Complex *, int, int)' is private dDiagMatrix.cc:439: within this context CDiagMatrix.h: In function `class ComplexDiagMatrix operator /(const class DiagMatrix &, const class Complex &)': CDiagMatrix.h:204: constructor `ComplexDiagMatrix::ComplexDiagMatrix(class Complex *, int, int)' is private dDiagMatrix.cc:446: within this context CDiagMatrix.h: In function `class ComplexDiagMatrix operator (unary *)(const class Complex &, const class DiagMatrix &)': CDiagMatrix.h:204: constructor `ComplexDiagMatrix::ComplexDiagMatrix(class Complex *, int, int)' is private dDiagMatrix.cc:485: within this context dDiagMatrix.cc: In function `class ColumnVector operator (unary *)(const class DiagMatrix &, const class ColumnVector &)': dDiagMatrix.cc:511: `i' undeclared (first use this function) dDiagMatrix.cc:511: (Each undeclared identifier is reported only once dDiagMatrix.cc:511: for each function it appears in.) dDiagMatrix.cc: In function `class ComplexColumnVector operator (unary *)(const class DiagMatrix &, const class ComplexColumnVector &)': dDiagMatrix.cc:538: `i' undeclared (first use this function) CDiagMatrix.h: In function `class ComplexDiagMatrix operator +(const class DiagMatrix &, const class ComplexDiagMatrix &)': CDiagMatrix.h:204: constructor `ComplexDiagMatrix::ComplexDiagMatrix(class Complex *, int, int)' is private dDiagMatrix.cc:600: within this context CDiagMatrix.h: In function `class ComplexDiagMatrix operator -(const class DiagMatrix &, const class ComplexDiagMatrix &)': CDiagMatrix.h:204: constructor `ComplexDiagMatrix::ComplexDiagMatrix(class Complex *, int, int)' is private dDiagMatrix.cc:619: within this context CDiagMatrix.h: In function `class ComplexDiagMatrix product(const class DiagMatrix &, const class ComplexDiagMatrix &)': CDiagMatrix.h:204: constructor `ComplexDiagMatrix::ComplexDiagMatrix(class Complex *, int, int)' is private dDiagMatrix.cc:677: within this context make[2]: *** [dDiagMatrix.o] Error 1 c++ -c -I. -I../src -I.. -I../liboctave -I../src -DHAVE_CONFIG_H -fno-implicit-templates -g -O dMatrix.cc dMatrix.cc: In method `class ComplexMatrix Matrix::ifourier() const': dMatrix.cc:700: `j' undeclared (first use this function) dMatrix.cc:700: (Each undeclared identifier is reported only once dMatrix.cc:700: for each function it appears in.) dMatrix.cc: In method `class ComplexMatrix Matrix::fourier2d() const': dMatrix.cc:744: `j' undeclared (first use this function) dMatrix.cc:751: `i' undeclared (first use this function) dMatrix.cc: In method `class ComplexMatrix Matrix::ifourier2d() const': dMatrix.cc:789: `j' undeclared (first use this function) dMatrix.cc:807: `i' undeclared (first use this function) CMatrix.h: In function `class ComplexMatrix operator +(const class Matrix &, const class Complex &)': CMatrix.h:283: constructor `ComplexMatrix::ComplexMatrix(class Complex *, int, int)' is private dMatrix.cc:1318: within this context CMatrix.h: In function `class ComplexMatrix operator -(const class Matrix &, const class Complex &)': CMatrix.h:283: constructor `ComplexMatrix::ComplexMatrix(class Complex *, int, int)' is private dMatrix.cc:1325: within this context CMatrix.h: In function `class ComplexMatrix operator (unary *)(const class Matrix &, const class Complex &)': CMatrix.h:283: constructor `ComplexMatrix::ComplexMatrix(class Complex *, int, int)' is private dMatrix.cc:1332: within this context CMatrix.h: In function `class ComplexMatrix operator /(const class Matrix &, const class Complex &)': CMatrix.h:283: constructor `ComplexMatrix::ComplexMatrix(class Complex *, int, int)' is private dMatrix.cc:1339: within this context CMatrix.h: In function `class ComplexMatrix operator +(const class Complex &, const class Matrix &)': CMatrix.h:283: constructor `ComplexMatrix::ComplexMatrix(class Complex *, int, int)' is private dMatrix.cc:1348: within this context CMatrix.h: In function `class ComplexMatrix operator -(const class Complex &, const class Matrix &)': CMatrix.h:283: constructor `ComplexMatrix::ComplexMatrix(class Complex *, int, int)' is private dMatrix.cc:1355: within this context CMatrix.h: In function `class ComplexMatrix operator (unary *)(const class Complex &, const class Matrix &)': CMatrix.h:283: constructor `ComplexMatrix::ComplexMatrix(class Complex *, int, int)' is private dMatrix.cc:1362: within this context CMatrix.h: In function `class ComplexMatrix operator /(const class Complex &, const class Matrix &)': CMatrix.h:283: constructor `ComplexMatrix::ComplexMatrix(class Complex *, int, int)' is private dMatrix.cc:1369: within this context dColVector.h: In function `class ColumnVector operator (unary *)(const class Matrix &, const class ColumnVector &)': dColVector.h:145: constructor `ColumnVector::ColumnVector(double *, int)' is private dMatrix.cc:1400: within this context CMatrix.h: In function `class ComplexMatrix operator (unary *)(const class Matrix &, const class ComplexDiagMatrix &)': CMatrix.h:283: constructor `ComplexMatrix::ComplexMatrix(class Complex *, int, int)' is private dMatrix.cc:1600: within this context CMatrix.h: In function `class ComplexMatrix operator +(const class Matrix &, const class ComplexMatrix &)': CMatrix.h:283: constructor `ComplexMatrix::ComplexMatrix(class Complex *, int, int)' is private dMatrix.cc:1658: within this context CMatrix.h: In function `class ComplexMatrix operator -(const class Matrix &, const class ComplexMatrix &)': CMatrix.h:283: constructor `ComplexMatrix::ComplexMatrix(class Complex *, int, int)' is private dMatrix.cc:1676: within this context CMatrix.h: In function `class ComplexMatrix product(const class Matrix &, const class ComplexMatrix &)': CMatrix.h:283: constructor `ComplexMatrix::ComplexMatrix(class Complex *, int, int)' is private dMatrix.cc:1694: within this context CMatrix.h: In function `class ComplexMatrix quotient(const class Matrix &, const class ComplexMatrix &)': CMatrix.h:283: constructor `ComplexMatrix::ComplexMatrix(class Complex *, int, int)' is private dMatrix.cc:1712: within this context dMatrix.cc: In method `int Matrix::read(struct FILE *, char *)': dMatrix.cc:2420: warning: implicit declaration of function `int strcasecmp(...)' make[2]: *** [dMatrix.o] Error 1 c++ -c -I. -I../src -I.. -I../liboctave -I../src -DHAVE_CONFIG_H -fno-implicit-templates -g -O dRowVector.cc CRowVector.h: In function `class ComplexRowVector operator +(const class RowVector &, const class Complex &)': CRowVector.h:157: constructor `ComplexRowVector::ComplexRowVector(class Complex *, int)' is private dRowVector.cc:242: within this context CRowVector.h: In function `class ComplexRowVector operator -(const class RowVector &, const class Complex &)': CRowVector.h:157: constructor `ComplexRowVector::ComplexRowVector(class Complex *, int)' is private dRowVector.cc:249: within this context CRowVector.h: In function `class ComplexRowVector operator (unary *)(const class RowVector &, const class Complex &)': CRowVector.h:157: constructor `ComplexRowVector::ComplexRowVector(class Complex *, int)' is private dRowVector.cc:256: within this context CRowVector.h: In function `class ComplexRowVector operator /(const class RowVector &, const class Complex &)': CRowVector.h:157: constructor `ComplexRowVector::ComplexRowVector(class Complex *, int)' is private dRowVector.cc:263: within this context CRowVector.h: In function `class ComplexRowVector operator +(const class RowVector &, const class ComplexRowVector &)': CRowVector.h:157: constructor `ComplexRowVector::ComplexRowVector(class Complex *, int)' is private dRowVector.cc:374: within this context CRowVector.h: In function `class ComplexRowVector operator -(const class RowVector &, const class ComplexRowVector &)': CRowVector.h:157: constructor `ComplexRowVector::ComplexRowVector(class Complex *, int)' is private dRowVector.cc:391: within this context CRowVector.h: In function `class ComplexRowVector product(const class RowVector &, const class ComplexRowVector &)': CRowVector.h:157: constructor `ComplexRowVector::ComplexRowVector(class Complex *, int)' is private dRowVector.cc:408: within this context CRowVector.h: In function `class ComplexRowVector quotient(const class RowVector &, const class ComplexRowVector &)': CRowVector.h:157: constructor `ComplexRowVector::ComplexRowVector(class Complex *, int)' is private dRowVector.cc:425: within this context make[2]: *** [dRowVector.o] Error 1 make[2]: Target `all' not remade because of errors. make[2]: Leaving directory `/data/opt-d/Gnu/octave-1.1.1/liboctave' make[1]: *** [liboctave] Error 2 echo making all in info making all in info cd info ; /opt/Gnu/octave-1.1.1/../make/3.74/bin/make all make[2]: Entering directory `/data/opt-d/Gnu/octave-1.1.1/info' Makefile:84: warning: overriding commands for target `.c.o' ../Makeconf:214: warning: ignoring old commands for target `.c.o' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/data/opt-d/Gnu/octave-1.1.1/info' echo making all in readline making all in readline cd readline ; /opt/Gnu/octave-1.1.1/../make/3.74/bin/make all make[2]: Entering directory `/data/opt-d/Gnu/octave-1.1.1/readline' Makefile:70: warning: overriding commands for target `.c.o' ../Makeconf:214: warning: ignoring old commands for target `.c.o' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/data/opt-d/Gnu/octave-1.1.1/readline' echo making all in kpathsea making all in kpathsea cd kpathsea ; /opt/Gnu/octave-1.1.1/../make/3.74/bin/make all make[2]: Entering directory `/data/opt-d/Gnu/octave-1.1.1/kpathsea' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/data/opt-d/Gnu/octave-1.1.1/kpathsea' echo making all in src making all in src cd src ; /opt/Gnu/octave-1.1.1/../make/3.74/bin/make all make[2]: Entering directory `/data/opt-d/Gnu/octave-1.1.1/src' c++ -c -I. -I../src -I.. -I../liboctave -I../src -DHAVE_CONFIG_H -fno-implicit-templates -g -O help.cc /opt/gcc/2.7.0/lib/g++-include/std/cstring.h: In function `char * strchr(char *, int)': In file included from /opt/gcc/2.7.0/lib/g++-include/cstring:5, from /opt/gcc/2.7.0/lib/g++-include/string.h:5, from ../info/general.h:34, from ../info/nodes.h:27, from ../info/info-utils.h:39, from ../info/display.h:27, from ../info/info.h:32, from help.cc:51: /opt/gcc/2.7.0/lib/g++-include/std/cstring.h:33: declaration of C function `char * strchr(char *, int)' conflicts with /opt/gcc/2.7.0/lib/g++-include/std/cstring.h:30: previous declaration `const char * strchr(const char *, int)' here /opt/gcc/2.7.0/lib/g++-include/std/cstring.h: In function `char * strchr(char *, int)': /opt/gcc/2.7.0/lib/g++-include/std/cstring.h:34: warning: passing `const char *' as argument 1 of `strchr(char *, int)' discards const /opt/gcc/2.7.0/lib/g++-include/std/cstring.h: In function `char * strpbrk(char *, const char *)': /opt/gcc/2.7.0/lib/g++-include/std/cstring.h:40: declaration of C function `char * strpbrk(char *, const char *)' conflicts with /opt/gcc/2.7.0/lib/g++-include/std/cstring.h:37: previous declaration `const char * strpbrk(const char *, const char *)' here /opt/gcc/2.7.0/lib/g++-include/std/cstring.h: In function `char * strpbrk(char *, const char *)': /opt/gcc/2.7.0/lib/g++-include/std/cstring.h:41: warning: passing `const char *' as argument 1 of `strpbrk(char *, const char *)' discards const /opt/gcc/2.7.0/lib/g++-include/std/cstring.h: In function `char * strrchr(char *, int)': /opt/gcc/2.7.0/lib/g++-include/std/cstring.h:47: declaration of C function `char * strrchr(char *, int)' conflicts with /opt/gcc/2.7.0/lib/g++-include/std/cstring.h:44: previous declaration `const char * strrchr(const char *, int)' here /opt/gcc/2.7.0/lib/g++-include/std/cstring.h: In function `char * strrchr(char *, int)': /opt/gcc/2.7.0/lib/g++-include/std/cstring.h:48: warning: passing `const char *' as argument 1 of `strrchr(char *, int)' discards const /opt/gcc/2.7.0/lib/g++-include/std/cstring.h: In function `char * strstr(char *, const char *)': /opt/gcc/2.7.0/lib/g++-include/std/cstring.h:54: declaration of C function `char * strstr(char *, const char *)' conflicts with /opt/gcc/2.7.0/lib/g++-include/std/cstring.h:51: previous declaration `const char * strstr(const char *, const char *)' here /opt/gcc/2.7.0/lib/g++-include/std/cstring.h: In function `char * strstr(char *, const char *)': /opt/gcc/2.7.0/lib/g++-include/std/cstring.h:55: warning: passing `const char *' as argument 1 of `strstr(char *, const char *)' discards const /opt/gcc/2.7.0/lib/g++-include/std/cstring.h: In function `void * memchr(void *, int, unsigned int)': /opt/gcc/2.7.0/lib/g++-include/std/cstring.h:61: declaration of C function `void * memchr(void *, int, unsigned int)' conflicts with /opt/gcc/2.7.0/lib/g++-include/std/cstring.h:58: previous declaration `const void * memchr(const void *, int, unsigned int)' here /opt/gcc/2.7.0/lib/g++-include/std/cstring.h: In function `void * memchr(void *, int, unsigned int)': /opt/gcc/2.7.0/lib/g++-include/std/cstring.h:62: warning: passing `const void *' as argument 1 of `memchr(void *, int, unsigned int)' discards const make[2]: *** [help.o] Error 1 c++ -c -I. -I../src -I.. -I../liboctave -I../src -DHAVE_CONFIG_H -fno-implicit-templates -g -O idx-vector.cc idx-vector.cc: In method `void idx_vector::convert_one_zero_to_idx()': idx-vector.cc:257: `i' undeclared (first use this function) idx-vector.cc:257: (Each undeclared identifier is reported only once idx-vector.cc:257: for each function it appears in.) make[2]: *** [idx-vector.o] Error 1 c++ -c -I. -I../src -I.. -I../liboctave -I../src -DHAVE_CONFIG_H -fno-implicit-templates -g -O octave-hist.cc octave-hist.cc: In function `void do_history(int, char **)': octave-hist.cc:269: `i' undeclared (first use this function) octave-hist.cc:269: (Each undeclared identifier is reported only once octave-hist.cc:269: for each function it appears in.) octave-hist.cc: In function `void edit_history_repl_hist(char *)': octave-hist.cc:370: `i' undeclared (first use this function) make[2]: *** [octave-hist.o] Error 1 c++ -c -I. -I../src -I.. -I../liboctave -I../src -DHAVE_CONFIG_H -fno-implicit-templates -g -O sysdep.cc In file included from /usr/include/termios.h:13, from sysdep.cc:64: /usr/include/sys/termios.h:28: warning: `CTRL' redefined ../readline/chardefs.h:37: warning: this is the location of the previous definition /opt/gcc/2.7.0/lib/g++-include/std/cstring.h: In function `char * strchr(char *, int)': In file included from /opt/gcc/2.7.0/lib/g++-include/cstring:5, from /opt/gcc/2.7.0/lib/g++-include/string.h:5, from ../readline/chardefs.h:8, from ../readline/keymaps.h:26, from ../readline/readline.h:26, from sysdep.cc:58: /opt/gcc/2.7.0/lib/g++-include/std/cstring.h:33: declaration of C function `char * strchr(char *, int)' conflicts with /opt/gcc/2.7.0/lib/g++-include/std/cstring.h:30: previous declaration `const char * strchr(const char *, int)' here /opt/gcc/2.7.0/lib/g++-include/std/cstring.h: In function `char * strchr(char *, int)': /opt/gcc/2.7.0/lib/g++-include/std/cstring.h:34: warning: passing `const char *' as argument 1 of `strchr(char *, int)' discards const /opt/gcc/2.7.0/lib/g++-include/std/cstring.h: In function `char * strpbrk(char *, const char *)': /opt/gcc/2.7.0/lib/g++-include/std/cstring.h:40: declaration of C function `char * strpbrk(char *, const char *)' conflicts with /opt/gcc/2.7.0/lib/g++-include/std/cstring.h:37: previous declaration `const char * strpbrk(const char *, const char *)' here /opt/gcc/2.7.0/lib/g++-include/std/cstring.h: In function `char * strpbrk(char *, const char *)': /opt/gcc/2.7.0/lib/g++-include/std/cstring.h:41: warning: passing `const char *' as argument 1 of `strpbrk(char *, const char *)' discards const /opt/gcc/2.7.0/lib/g++-include/std/cstring.h: In function `char * strrchr(char *, int)': /opt/gcc/2.7.0/lib/g++-include/std/cstring.h:47: declaration of C function `char * strrchr(char *, int)' conflicts with /opt/gcc/2.7.0/lib/g++-include/std/cstring.h:44: previous declaration `const char * strrchr(const char *, int)' here /opt/gcc/2.7.0/lib/g++-include/std/cstring.h: In function `char * strrchr(char *, int)': /opt/gcc/2.7.0/lib/g++-include/std/cstring.h:48: warning: passing `const char *' as argument 1 of `strrchr(char *, int)' discards const /opt/gcc/2.7.0/lib/g++-include/std/cstring.h: In function `char * strstr(char *, const char *)': /opt/gcc/2.7.0/lib/g++-include/std/cstring.h:54: declaration of C function `char * strstr(char *, const char *)' conflicts with /opt/gcc/2.7.0/lib/g++-include/std/cstring.h:51: previous declaration `const char * strstr(const char *, const char *)' here /opt/gcc/2.7.0/lib/g++-include/std/cstring.h: In function `char * strstr(char *, const char *)': /opt/gcc/2.7.0/lib/g++-include/std/cstring.h:55: warning: passing `const char *' as argument 1 of `strstr(char *, const char *)' discards const /opt/gcc/2.7.0/lib/g++-include/std/cstring.h: In function `void * memchr(void *, int, unsigned int)': /opt/gcc/2.7.0/lib/g++-include/std/cstring.h:61: declaration of C function `void * memchr(void *, int, unsigned int)' conflicts with /opt/gcc/2.7.0/lib/g++-include/std/cstring.h:58: previous declaration `const void * memchr(const void *, int, unsigned int)' here /opt/gcc/2.7.0/lib/g++-include/std/cstring.h: In function `void * memchr(void *, int, unsigned int)': /opt/gcc/2.7.0/lib/g++-include/std/cstring.h:62: warning: passing `const void *' as argument 1 of `memchr(void *, int, unsigned int)' discards const sysdep.cc: In function `class Octave_object Fclc(const class Octave_object &, int)': sysdep.cc:408: warning: implicit declaration of function `int tputs(...)' make[2]: *** [sysdep.o] Error 1 c++ -c -I. -I../src -I.. -I../liboctave -I../src -DHAVE_CONFIG_H -fno-implicit-templates -g -O tc-rep.cc tree-const.h: In function `class tree_constant do_binary_op(class tree_constant &, class tree_constant &, enum tree_expression::type)': tree-const.h:397: method `class tree_constant tree_constant::make_numeric(int = 0) const' is private tc-rep.cc:1898: within this context tree-const.h:397: method `class tree_constant tree_constant::make_numeric(int = 0) const' is private tc-rep.cc:1903: within this context tree-const.h: In function `class tree_constant do_unary_op(class tree_constant &, enum tree_expression::type)': tree-const.h:397: method `class tree_constant tree_constant::make_numeric(int = 0) const' is private tc-rep.cc:2071: within this context make[2]: *** [tc-rep.o] Error 1 c++ -c -I. -I../src -I.. -I../liboctave -I../src -DHAVE_CONFIG_H -fno-implicit-templates -g -O tree-expr.cc tree-expr.cc: In method `class tree_constant tree_matrix::eval(int)': tree-expr.cc:425: `i' undeclared (first use this function) tree-expr.cc:425: (Each undeclared identifier is reported only once tree-expr.cc:425: for each function it appears in.) make[2]: *** [tree-expr.o] Error 1 c++ -c -I. -I../src -I.. -I../liboctave -I../src -DHAVE_CONFIG_H -fno-implicit-templates -g -O tree-misc.cc tree-misc.cc: In method `class Octave_object tree_parameter_list::convert_to_const_vector(class tree_va_return_list *)': tree-misc.cc:367: `p' undeclared (first use this function) tree-misc.cc:367: (Each undeclared identifier is reported only once tree-misc.cc:367: for each function it appears in.) make[2]: *** [tree-misc.o] Error 1 c++ -c -I. -I../src -I.. -I../liboctave -I../src -DHAVE_CONFIG_H -fno-implicit-templates -g -O utils.cc utils.cc: In function `class ostrstream & list_in_columns(class ostrstream &, char **)': utils.cc:624: non-lvalue in assignment utils.cc:635: no match for `operator <<(class ostrstream, char ** ()(struct help_list *, int &))' utils.cc:636: passing `char ** (*)(help_list *, int &)' as argument 1 of `strlen(const char *)' make[2]: *** [utils.o] Error 1 c++ -c -I. -I../src -I.. -I../liboctave -I../src -DHAVE_CONFIG_H -fno-implicit-templates -g -O xpow.cc xpow.cc: In function `class tree_constant elem_xpow(const class Matrix &, const class Matrix &)': xpow.cc:552: `j' undeclared (first use this function) xpow.cc:552: (Each undeclared identifier is reported only once xpow.cc:552: for each function it appears in.) make[2]: *** [xpow.o] Error 1 make[2]: *** No rule to make target `../liboctave/liboctave.a', needed by `octave'. c++ -c -I. -I../src -I.. -I../liboctave -I../src -DHAVE_CONFIG_H -fno-implicit-templates -g -O Map-tc.cc Map.cc: In method `class tree_constant & CHMap::operator [](const char *)': Map.cc:176: `t' undeclared (first use this function) Map.cc:176: (Each undeclared identifier is reported only once Map.cc:176: for each function it appears in.) Map.cc: In method `int CHMap::OK() const': Map.cc:267: `p' undeclared (first use this function) Map.cc: In method `void * Map::seek(const char *) const': Map.cc:61: `i' undeclared (first use this function) make[2]: *** [Map-tc.o] Error 1 make[2]: Target `all' not remade because of errors. make[2]: Leaving directory `/data/opt-d/Gnu/octave-1.1.1/src' make[1]: *** [src] Error 2 echo making all in scripts making all in scripts cd scripts ; /opt/Gnu/octave-1.1.1/../make/3.74/bin/make all make[2]: Entering directory `/data/opt-d/Gnu/octave-1.1.1/scripts' for dir in control elfun general image linear-algebra miscellaneous plot polynomial set signal specfun special-matrix startup statistics strings; do echo making all in $dir; cd $dir; /opt/Gnu/octave-1.1.1/../make/3.74/bin/make all; cd ..; done making all in control make[3]: Entering directory `/data/opt-d/Gnu/octave-1.1.1/scripts/control' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/data/opt-d/Gnu/octave-1.1.1/scripts/control' making all in elfun make[3]: Entering directory `/data/opt-d/Gnu/octave-1.1.1/scripts/elfun' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/data/opt-d/Gnu/octave-1.1.1/scripts/elfun' making all in general make[3]: Entering directory `/data/opt-d/Gnu/octave-1.1.1/scripts/general' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/data/opt-d/Gnu/octave-1.1.1/scripts/general' making all in image make[3]: Entering directory `/data/opt-d/Gnu/octave-1.1.1/scripts/image' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/data/opt-d/Gnu/octave-1.1.1/scripts/image' making all in linear-algebra make[3]: Entering directory `/data/opt-d/Gnu/octave-1.1.1/scripts/linear-algebra' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/data/opt-d/Gnu/octave-1.1.1/scripts/linear-algebra' making all in miscellaneous make[3]: Entering directory `/data/opt-d/Gnu/octave-1.1.1/scripts/miscellaneous' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/data/opt-d/Gnu/octave-1.1.1/scripts/miscellaneous' making all in plot make[3]: Entering directory `/data/opt-d/Gnu/octave-1.1.1/scripts/plot' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/data/opt-d/Gnu/octave-1.1.1/scripts/plot' making all in polynomial make[3]: Entering directory `/data/opt-d/Gnu/octave-1.1.1/scripts/polynomial' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/data/opt-d/Gnu/octave-1.1.1/scripts/polynomial' making all in set make[3]: Entering directory `/data/opt-d/Gnu/octave-1.1.1/scripts/set' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/data/opt-d/Gnu/octave-1.1.1/scripts/set' making all in signal make[3]: Entering directory `/data/opt-d/Gnu/octave-1.1.1/scripts/signal' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/data/opt-d/Gnu/octave-1.1.1/scripts/signal' making all in specfun make[3]: Entering directory `/data/opt-d/Gnu/octave-1.1.1/scripts/specfun' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/data/opt-d/Gnu/octave-1.1.1/scripts/specfun' making all in special-matrix make[3]: Entering directory `/data/opt-d/Gnu/octave-1.1.1/scripts/special-matrix' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/data/opt-d/Gnu/octave-1.1.1/scripts/special-matrix' making all in startup make[3]: Entering directory `/data/opt-d/Gnu/octave-1.1.1/scripts/startup' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/data/opt-d/Gnu/octave-1.1.1/scripts/startup' making all in statistics make[3]: Entering directory `/data/opt-d/Gnu/octave-1.1.1/scripts/statistics' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/data/opt-d/Gnu/octave-1.1.1/scripts/statistics' making all in strings make[3]: Entering directory `/data/opt-d/Gnu/octave-1.1.1/scripts/strings' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/data/opt-d/Gnu/octave-1.1.1/scripts/strings' make[2]: Leaving directory `/data/opt-d/Gnu/octave-1.1.1/scripts' echo making all in doc making all in doc cd doc ; /opt/Gnu/octave-1.1.1/../make/3.74/bin/make all make[2]: Entering directory `/data/opt-d/Gnu/octave-1.1.1/doc' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/data/opt-d/Gnu/octave-1.1.1/doc' make[1]: Target `all' not remade because of errors. make[1]: Leaving directory `/data/opt-d/Gnu/octave-1.1.1' make: *** [all] Error 2 Compilation exited abnormally with code 2 at Thu Dec 14 01:55:13