From help-octave-request at bevo dot che dot wisc dot edu Tue Jan 12 09:06:33 1999 Subject: Re.fixed, new problem: compile error on SGI using egcs 1.1.b From: Daniel Heiserer To: "help-octave at bevo dot che dot wisc dot edu" Date: Tue, 12 Jan 1999 16:05:53 +0100 > >I have a problem compiling octave-2.0.13 > >using "> c++ --version > >egcs-2.91.57" > >(egcs.1.1b) > >The machine I am on is a "IRIX64 6.4" > >The error is: > > > >c++ -c -I. -I.. -I../liboctave -I../src -I../libcruft/misc > >-DHAVE_CONFIG_H -fno-rtti -fno-exceptions -fno-implicit-templates -g -O2 > >-Wall data.cc > >In file included from ov.h:43, > > from variables.h:38, > > from defun-int.h:26, > > from defun.h:30, > > from data.cc:43: > >pt-exp.h:257: default argument missing for parameter 3 of > >`tree_boolean_expression::tree_boolean_expression(int = -1, int = -1, > >enum tree_boolean_expression::type)' > >gmake[2]: *** [data.o] Error 1 > > Hi again, Well I applied ALL the patches from 0-90 and 90...-95 The compilation went on and I got a step further. Now I have a new problem: c++ -c -I. -I.. -I../liboctave -I../src -I../libcruft/misc -DHAVE_CONFIG_H -fno-rtti -fno-exceptions -fno-implicit-templates -g -O2 -Wall lo-specfun.cc lo-specfun.cc: In function `int ribesl_(const double &, const double &, const int &, double *, int &)': lo-specfun.cc:162: warning: passing `int' to argument 4 of `ribesl_(const double &, const double &, const int &, double *, int &)' lacks a cast lo-specfun.cc:162: warning: converting to `int' from `double *' lacks a cast lo-specfun.cc:162: warning: initializing non-const `int &' with `double *' will use a temporary lo-specfun.cc:160: warning: in passing argument 5 of `ribesl_(const double &, const double &, const int &, double *, int &)' lo-specfun.cc:160: too many arguments to function `ribesl_(const double &, const double &, const int &, double *, int &)' lo-specfun.cc:162: at this point in file lo-specfun.cc: In function `int rkbesl_(const double &, const double &, const int &, double *, int &)': lo-specfun.cc:171: warning: passing `int' to argument 4 of `rkbesl_(const double &, const double &, const int &, double *, int &)' lacks a cast lo-specfun.cc:171: warning: converting to `int' from `double *' lacks a cast lo-specfun.cc:171: warning: initializing non-const `int &' with `double *' will use a temporary lo-specfun.cc:169: warning: in passing argument 5 of `rkbesl_(const double &, const double &, const int &, double *, int &)' lo-specfun.cc:169: too many arguments to function `rkbesl_(const double &, const double &, const int &, double *, int &)' lo-specfun.cc:171: at this point in file lo-specfun.cc: In function `class Matrix do_bessel(int (*)(const double &, const double &, const int &, double *, int &), const char *, const class Range &, const class ColumnVector &)': lo-specfun.cc:255: no matching function for call to `ColumnVector::length () const' lo-specfun.cc:263: no match for call to `(ColumnVector) (int &)' lo-specfun.cc: In function `class Matrix besselj(double, const class Matrix &)': lo-specfun.cc:287: `rjbesl_' undeclared (first use this function) lo-specfun.cc:287: (Each undeclared identifier is reported only once lo-specfun.cc:287: for each function it appears in.) lo-specfun.cc:288: warning: control reaches end of non-void function `besselj(double, const Matrix &)' lo-specfun.cc: In function `class Matrix bessely(double, const class Matrix &)': lo-specfun.cc:293: `rybesl_' undeclared (first use this function) lo-specfun.cc:294: warning: control reaches end of non-void function `bessely(double, const Matrix &)' lo-specfun.cc: In function `class Matrix besselj(const class Range &, const class ColumnVector &)': lo-specfun.cc:311: confused by earlier errors, bailing out gmake[2]: *** [lo-specfun.o] Error 1