[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems compiling Octave 2.1.73 on SGI IRIX 6.5 using gcc 3.3

From: Burton, Ian
Subject: Problems compiling Octave 2.1.73 on SGI IRIX 6.5 using gcc 3.3
Date: Thu, 5 Apr 2007 15:59:49 -0400

I am trying to get Octave 2.1.73 compiled on an SGI Octane running IRIX 6.5.15.  I am using gcc 3.3 and the configure script and gmake.  The compiliation process fails under gmake when compiling ~/octave-2.1.73/libcruft/misc/ where g++ finds several undeclared items in cstdlib.  The following is the output from gmake at the offending point:


gmake[3]: Entering directory `/usr/people/burtoni/octave-2.1.73/libcruft/misc'

g++ -c  -I. -I../.. -I../../liboctave -I../../src -I../../libcruft/misc  -DHAVE_CONFIG_H  -Wall -W -Wshadow -g -O2 -o quit.o

In file included from /usr/freeware/lib/gcc-lib/mips-sgi-irix6.5/3.3/include/c++/bits/stl_algobase.h:67,

                 from /usr/freeware/lib/gcc-lib/mips-sgi-irix6.5/3.3/include/c++/memory:54,

                 from /usr/freeware/lib/gcc-lib/mips-sgi-irix6.5/3.3/include/c++/string:48,

                 from /usr/freeware/lib/gcc-lib/mips-sgi-irix6.5/3.3/include/c++/bits/locale_classes.h:47,

                 from /usr/freeware/lib/gcc-lib/mips-sgi-irix6.5/3.3/include/c++/bits/ios_base.h:47,

                 from /usr/freeware/lib/gcc-lib/mips-sgi-irix6.5/3.3/include/c++/ios:49,

                 from /usr/freeware/lib/gcc-lib/mips-sgi-irix6.5/3.3/include/c++/ostream:45,

                 from /usr/freeware/lib/gcc-lib/mips-sgi-irix6.5/3.3/include/c++/iostream:45,


/usr/freeware/lib/gcc-lib/mips-sgi-irix6.5/3.3/include/c++/cstdlib:86: error: `

   div_t' not declared

/usr/freeware/lib/gcc-lib/mips-sgi-irix6.5/3.3/include/c++/cstdlib:87: error: `

   ldiv_t' not declared

/usr/freeware/lib/gcc-lib/mips-sgi-irix6.5/3.3/include/c++/cstdlib:97: error: `

   div' not declared

/usr/freeware/lib/gcc-lib/mips-sgi-irix6.5/3.3/include/c++/cstdlib:102: error: `

   ldiv' not declared

/usr/freeware/lib/gcc-lib/mips-sgi-irix6.5/3.3/include/c++/cstdlib:104: error: `

   mblen' not declared

/usr/freeware/lib/gcc-lib/mips-sgi-irix6.5/3.3/include/c++/cstdlib:105: error: `

   mbstowcs' not declared

/usr/freeware/lib/gcc-lib/mips-sgi-irix6.5/3.3/include/c++/cstdlib:106: error: `

   mbtowc' not declared

/usr/freeware/lib/gcc-lib/mips-sgi-irix6.5/3.3/include/c++/cstdlib:115: error: `

   wcstombs' not declared

/usr/freeware/lib/gcc-lib/mips-sgi-irix6.5/3.3/include/c++/cstdlib:116: error: `

   wctomb' not declared

/usr/freeware/lib/gcc-lib/mips-sgi-irix6.5/3.3/include/c++/cstdlib:122: error: syntax

   error before `(' token

gmake[3]: *** [quit.o] Error 1

gmake[3]: Leaving directory `/usr/people/burtoni/octave-2.1.73/libcruft/misc'

gmake[2]: *** [misc] Error 2

gmake[2]: Leaving directory `/usr/people/burtoni/octave-2.1.73/libcruft'

gmake[1]: *** [libcruft] Error 2

gmake[1]: Leaving directory `/usr/people/burtoni/octave-2.1.73'

gmake: *** [all] Error 2


Could this be a problem with gcc 3.3?  Is there another file I can include to get around this?  I have gone through the archives and I can’t find anything similar to this problem so I figure it must be something trivial that I have done. 


Any help would be appreciated.






Ian Burton, M.Sc. | NMR Spectroscopist / Spectroscopiste en RMN
tel/tél: 902-426-9030 | facsimile/télécopieur: 902-426-9413 | address@hidden
NRC Institute for Marine Biosciences | 1411 Oxford Street, Halifax, Nova Scotia B3H 3Z1
Institut des biosciences marines CNRC | 1411 rue Oxford, Halifax, Nouvelle-Écosse B3H 3Z1
Government of Canada | Gouvernement du Canada


reply via email to

[Prev in Thread] Current Thread [Next in Thread]