[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
compile problems
From: |
Don Epand |
Subject: |
compile problems |
Date: |
Thu, 18 Jun 1998 10:41:54 -0700 (MST) |
Hello,
I am a octave newbe, but not to linux. Last froday evening I
compied octave 2.0.13 with no problems on a redhat-5.0 system.
Yesterday I upgraded my system to redhat-5.1 and tried to compile.
I got tons of warnings and compilation failed with undefined
NPOS. The warnings were all similar to below:
making oct-conf.h from oct-conf.h.in
oct-conf.h is unchanged
c++ -c -I. -I.. -I../liboctave -I../src -I../libcruft/misc -DHAVE_CONFIG_H
-mieee
-fp -fno-rtti -fno-implicit-templates -g -O2 -Wall defaults.cc
In file included from ../liboctave/chMatrix.h:35,
from ../liboctave/mx-base.h:28,
from ov.h:38,
from variables.h:38,
from defun-int.h:26,
from defun.h:30,
from defaults.cc:51:
../liboctave/MArray2.h:125: warning: friend declaration `class MArray2<T> &
operator
+=(class MArray2<T> &, const T &)'
../liboctave/MArray2.h:125: warning: will not be treated as a template
instantiati
on
../liboctave/MArray2.h:125: warning: unless you compile with -fguiding-decls
../liboctave/MArray2.h:125: warning: or add <> after the function name
../liboctave/MArray2.h:126: warning: friend declaration `class MArray2<T> &
operator
-=(class MArray2<T> &, const T &)'
../liboctave/MArray2.h:126: warning: will not be treated as a template
instantiati
on
../liboctave/MArray2.h:130: warning: friend declaration `class MArray2<T> &
operator
+=(class MArray2<T> &, const class MArray2<T> &)'
../liboctave/MArray2.h:130: warning: will not be treated as a template
instantiati
on
../liboctave/MArray2.h:131: warning: friend declaration `class MArray2<T> &
operator
-=(class MArray2<T> &, const class MArray2<T> &)'
../liboctave/MArray2.h:131: warning: will not be treated as a template
instantiati
on
../liboctave/MArray2.h:135: warning: friend declaration `class MArray2<T>
operator +
(const class MArray2<T> &, const T &)'
../liboctave/MArray2.h:135: warning: will not be treated as a template
instantiati
on
../liboctave/MArray2.h:136: warning: friend declaration `class MArray2<T>
operator -
(const class MArray2<T> &, const T &)'
../liboctave/MArray2.h:136: warning: will not be treated as a template
instantiati
on
../liboctave/MArray2.h:137: warning: friend declaration `class MArray2<T>
operator *
(const class MArray2<T> &, const T &)'
../liboctave/MArray2.h:137: warning: will not be treated as a template
instantiati
on
../liboctave/MArray2.h:138: warning: friend declaration `class MArray2<T>
operator /
(const class MArray2<T> &, const T &)'
../liboctave/MArray2.h:138: warning: will not be treated as a template
instantiati
on
../liboctave/MArray2.h:142: warning: friend declaration `class MArray2<T>
operator +
(const T &, const class MArray2<T> &)'
../liboctave/MArray2.h:142: warning: will not be treated as a template
instantiati
on
../liboctave/MArray2.h:143: warning: friend declaration `class MArray2<T>
operator -
(const T &, const class MArray2<T> &)'
../liboctave/MArray2.h:143: warning: will not be treated as a template
instantiati
on
../liboctave/MArray2.h:144: warning: friend declaration `class MArray2<T>
operator *
(const T &, const class MArray2<T> &)'
../liboctave/MArray2.h:144: warning: will not be treated as a template
instantiati
on
../liboctave/MArray2.h:145: warning: friend declaration `class MArray2<T>
operator /
(const T &, const class MArray2<T> &)'
../liboctave/MArray2.h:145: warning: will not be treated as a template
instantiati
:
../liboctave/MArray2.h:149: warning: friend declaration `class MArray2<T>
operator +
(const class MArray2<T> &, const class MArray2<T> &)'
../liboctave/MArray2.h:149: warning: will not be treated as a template
instantiati
on
../liboctave/MArray2.h:150: warning: friend declaration `class MArray2<T>
operator -
(const class MArray2<T> &, const class MArray2<T> &)'
../liboctave/MArray2.h:150: warning: will not be treated as a template
instantiati
on
../liboctave/MArray2.h:152: warning: friend declaration `class MArray2<T>
product(co
nst class MArray2<T> &, const class MArray2<T> &)'
../liboctave/MArray2.h:152: warning: will not be treated as a template
instantiati
on
../liboctave/MArray2.h:153: warning: friend declaration `class MArray2<T>
quotient(c
onst class MArray2<T> &, const class MArray2<T> &)'
../liboctave/MArray2.h:153: warning: will not be treated as a template
instantiati
on
../liboctave/MArray2.h:155: warning: friend declaration `class MArray2<T>
operator -
(const class MArray2<T> &)'
../liboctave/MArray2.h:155: warning: will not be treated as a template
instantiati
on
../liboctave/MArray2.h:149: warning: friend declaration `class MArray2<T>
operator +
(const class MArray2<T> &, const class MArray2<T> &)'
../liboctave/MArray2.h:149: warning: will not be treated as a template
instantiati
on
../liboctave/MArray2.h:150: warning: friend declaration `class MArray2<T>
operator -
(const class MArray2<T> &, const class MArray2<T> &)'
../liboctave/MArray2.h:150: warning: will not be treated as a template
instantiati
on
../liboctave/MArray2.h:152: warning: friend declaration `class MArray2<T>
product(co
nst class MArray2<T> &, const class MArray2<T> &)'
../liboctave/MArray2.h:152: warning: will not be treated as a template
instantiati
on
../liboctave/MArray2.h:153: warning: friend declaration `class MArray2<T>
quotient(c
onst class MArray2<T> &, const class MArray2<T> &)'
../liboctave/MArray2.h:153: warning: will not be treated as a template
instantiati
on
../liboctave/MArray2.h:155: warning: friend declaration `class MArray2<T>
operator -
(const class MArray2<T> &)'
../liboctave/MArray2.h:155: warning: will not be treated as a template
instantiati
on
And the error:
defaults.cc: In function `class
basic_string<char,string_char_traits<char>,__default
_alloc_template<true,0> > subst_octave_home(const class
basic_string<char,string_cha
r_traits<char>,__default_alloc_template<true,0> > &)':
defaults.cc:103: `NPOS' undeclared (first use this function)
defaults.cc:103: (Each undeclared identifier is reported only once
defaults.cc:103: for each function it appears in.)
make[2]: *** [defaults.o] Error 1
make[2]: Leaving directory `/home/depand/octave/octave-2.0.13/src'
make[1]: *** [src] Error 2
make[1]: Leaving directory `/home/depand/octave/octave-2.0.13'
make: *** [all] Error 2
I also am trying to install octave on some remote systems at
Tennessee State University which are running redhat-4.1 and
get errors there, which I have not logged.
My question is is there a fix for the redhat-5.1 errors and
is there an older compiled version around for redhat-4.1.
I got involved in all this because I could not get multiplot
function to work. Just discovered the README.gnuplot on the
ftp site today, and my version of gnuplot is 3.5. The README.gnuplot
was not included in the source I got.
Any help would be appreciated.
thanks
Don
---------------------------------------------------------------
Don Epand --Fairborn Observatory-- Phone: (602)-991-6646
4825 E.Cheryl Drive Fax : (602)-443-8388
Paradise Valley, Az 85253 Email: address@hidden
- compile problems,
Don Epand <=