octave-2.0.13 compile problems

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

octave-2.0.13 compile problems

mhagger-2
Hi,

I've recently tried to compile octave-2.0.13 on our Pentium Pro system,
(running Redhat5.1) using the latest egcs snapshots (and more recently
still the egcs-1.1 pre-release).

I've been having a few compile problems that have got me a bit baffled.

Has anyone else managed to get egcs 2.91.55 or so to compile octave-2.0.13
successfully?

The problems are:

1)
c++ -c  -I. -I.. -I../liboctave -I../src -I../libcruft/misc   -DHAVE_CONFIG_H -mieee-fp -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)'


This is easily fixed by adding '= unknown' to the end of line 257 in pt-exp.h

2)
c++ -c  -I. -I.. -I../liboctave -I../src -I../libcruft/misc   -DHAVE_CONFIG_H -mieee-fp -fno-rtti -fno-exceptions -fno-implicit-templates -g -O2 -Wall dynamic-ld.cc
In file included from pt-fvc-base.h:43,
                 from pt-fvc.h:43,
                 from dynamic-ld.cc:70:
pt-mvr-base.h:45: default argument missing for parameter 3 of `tree_multi_val_ret::tree_multi_val_ret(int = -1, int = -1, enum tree_expression::type)'
make: *** [dynamic-ld.o] Error 1


Again this can be fixed by adding the default '= unknown' to the line

3)
c++ -c  -I. -I.. -I../liboctave -I../src -I../libcruft/misc   -DHAVE_CONFIG_H -mieee-fp -fno-rtti -fno-exceptions -fno-implicit-templates -g -O2 -Wall dynamic-ld.cc
pt-fvc-base.h: In method `tree_fvc::tree_fvc(int = -1, int = -1)':
In file included from pt-fvc.h:43,
                 from dynamic-ld.cc:70:
pt-fvc-base.h:53: call of overloaded `tree_multi_val_ret(int &, int &)' is ambiguous
pt-mvr-base.h:42: candidates are: tree_multi_val_ret::tree_multi_val_ret(int, int)
pt-mvr-base.h:45:                 tree_multi_val_ret::tree_multi_val_ret(int, int, tree_expression::type)
make: *** [dynamic-ld.o] Error 1


This one has got me baffled though, I can't even see why it could be ambiguous
to be honest.

Can anyone out there help?
 

Mark

---


Mark Hagger                                Tel: 01305 212803
DERA Winfrith, Winfrith Technology Centre  Fax: 01305 212103
Winfrith, Dorset, DT2 8XJ, UK              Email: [hidden email]


Reply | Threaded
Open this post in threaded view
|

octave-2.0.13 compile problems

John W. Eaton-6
On  1-Sep-1998, [hidden email] <[hidden email]> wrote:

| I've recently tried to compile octave-2.0.13 on our Pentium Pro system,
| (running Redhat5.1) using the latest egcs snapshots (and more recently
| still the egcs-1.1 pre-release).
|
| I've been having a few compile problems that have got me a bit baffled.
|
| Has anyone else managed to get egcs 2.91.55 or so to compile octave-2.0.13
| successfully?

I haven't tested it myself, but I think these problems are all solved
by the patch posted to the bug-octave mailing list some weeks back by
Mumit Khan.  The patch is available from the Octave web site at

  http://www.che.wisc.edu/octave/mailing-lists/bug-octave/1998/270

Thanks,

jwe