[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
octave-2.0.13 compile problems
From: |
mhagger |
Subject: |
octave-2.0.13 compile problems |
Date: |
Tue, 1 Sep 1998 13:44:48 +0100 (BST) |
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: address@hidden
- octave-2.0.13 compile problems,
mhagger <=