[Top][All Lists]

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

Compile trouble octave2.09 on Mklinux

From: Toru Mori
Subject: Compile trouble octave2.09 on Mklinux
Date: Thu, 18 Sep 1997 19:07:49 +0900

Hello all,
I am trying to compile octave 2.09 on Mklinux system, but I can't solve
following error.

make[2]: Entering directory `/home/mori/octave/octave-2.0.9/liboctave'
c++ -c  -I. -I.. -I../liboctave -I../src -I../glob -I../libcruft/misc  
-DHAVE_CONFIG_H  -fno-implicit-templates  -g -O2 -Wall
In file included from /usr/lib/g++-include/std/bastring.h:35,
                 from /usr/lib/g++-include/std/string.h:6,
                 from /usr/lib/g++-include/string:5,
                 from mach-info.h:26,
                 from data-conv.h:28,
                 from dMatrix.h:35,
                 from CollocWt.h:32,
/usr/lib/g++-include/std/stddef.h:15: parse error before `::'
make[2]: *** [CollocWt.o] Error 1
make[2]: Leaving directory `/home/mori/octave/octave-2.0.9/liboctave'
make[1]: *** [liboctave] Error 2
make[1]: Leaving directory `/home/mori/octave/octave-2.0.9'
make: *** [all] Error 2

 "/usr/lib/g++-include/std/stddef.h"  is following.

    // The -*- C++ -*- standard definitions header.
    // This file is part of the GNU ANSI C++ Library.

    #ifndef __STDDEF__
    #define __STDDEF__

    #ifdef __GNUG__
    #pragma interface "std/stddef.h"

    #include <_G_config.h>
    #include <std/cstddef.h>

    extern "C++" {
    const size_t NPOS = (size_t)(-1);
    typedef void fvoid_t();

    #ifndef _WINT_T
    #define _WINT_T
    typedef _G_wint_t wint_t;

    } // extern "C++"

line 15 is    "const size_t NPOS = (size_t)(-1);"
I don't understand the meaning of "parse error before `::'".

I use following system

  Mklinux DR2.1 on PowerPC601 
  C++ versin : GNU C++ version 2.7.2.f.1

If system or other information is too few, please inform.

_/              Toru Mori                 _/
_/  Isuzu Advanced Engneering Center.Ltd. _/
_/  Sound & Vibration Research Dept.      _/
_/Tel:+81-466-45-2696 Fax:+81-466-45-2405 _/
_/    E-mail: address@hidden       _/

reply via email to

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