From help-octave-request at bevo dot che dot wisc dot edu Tue Jan 12 10:08:32 1999 Subject: Re.fixed, new problem: compile error on SGI using egcs 1.1.b From: "John W. Eaton" To: Daniel Heiserer Cc: "help-octave at bevo dot che dot wisc dot edu" Date: Tue, 12 Jan 1999 10:08:23 -0600 (CST) On 12-Jan-1999, Daniel Heiserer wrote: | > >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 Were they successfully applied? | 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 Hmm. If the patches were all successful, you shouldn't have any references to ribesl anywhere in the sources now. Are you sure you applied the patch files correctly? You should have run commands like zcat octave-2.0.13-2.0.13.90.patch.gz | /bin/sh zcat octave-2.0.13.90-2.0.13.91.patch.gz | /bin/sh zcat octave-2.0.13.91-2.0.13.92.patch.gz | /bin/sh zcat octave-2.0.13.92-2.0.13.93.patch.gz | /bin/sh zcat octave-2.0.13.93-2.0.13.94.patch.gz | /bin/sh zcat octave-2.0.13.94-2.0.13.95.patch.gz | /bin/sh That seems to work correctly for me. I'm using patch version 2.5. jwe