compile problem

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

compile problem

Jens Thoms Toerring
Hello,

sorry to ask a maybe off topic question, but I really don't know if my
problem is just a problem of gcc (i.e. my setup) or if it got something to
do with the octave sources.

I am just trying to install octave 2.0.9 but am running in the following
problem: Compiling works quite well for some time, but suddenly everything
stops with an error message:


...
>> Lots of stuff deleted <<
...
make[2]: Entering directory `/usr/src/packages/SOURCES/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 Bounds.cc
c++ -c  -I. -I.. -I../liboctave -I../src -I../glob -I../libcruft/misc
-DHAVE_CONFIG_H  -fno-implicit-templates  -g -O2 -Wall CollocWt.cc
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,
                 from CollocWt.cc:33:
/usr/lib/g++-include/std/stddef.h:15: parse error before `::'
make[2]: *** [CollocWt.o] Error 1
make[2]: Leaving directory
`/usr/src/packages/SOURCES/octave-2.0.9/liboctave'
make[1]: *** [liboctave] Error 2
make[1]: Leaving directory `/usr/src/packages/SOURCES/octave-2.0.9'
make: *** [all] Error 2


I am using gcc-2.7.2.1 and g77-0.5.19.1 on a pentium running linux 2.0.30.
Of course, I looked into stddef.h but couldn't find a double colon at line
15 or somewhere near to it. Anybody out there who can tell me what I am doing
wrong?

                                               Thanks, Jens

-------------------------------------------------------------------------------
  Jens Thoms T"oerring        [hidden email]
-------------------------------------------------------------------------------


Reply | Threaded
Open this post in threaded view
|

Re: compile problem

Toru Mori
Hello,

At 20:11 97.11.26, Jens Thoms Toerring
<[hidden email] wrote:

> /usr/lib/g++-include/std/stddef.h:15: parse error before `::'
> make[2]: *** [CollocWt.o] Error 1
> make[2]: Leaving directory
> `/usr/src/packages/SOURCES/octave-2.0.9/liboctave'
> make[1]: *** [liboctave] Error 2
> make[1]: Leaving directory `/usr/src/packages/SOURCES/octave-2.0.9'
> make: *** [all] Error 2
>
>
> I am using gcc-2.7.2.1 and g77-0.5.19.1 on a pentium running linux 2.0.30.
> Of course, I looked into stddef.h but couldn't find a double colon at line
> 15 or somewhere near to it. Anybody out there who can tell me what I am doing
> wrong?

I'm afraid that it is not a collect answer...

I faced a same problem when I compiled Octave 2.0.9 on Mklinux system
before. To avoid this error, I deleted all extracted files first and try
again from the beggining, I succed to compile.

I don't know which is wrong about this compile error.


_/_/                Toru Mori                _/_/
_/_/ISUZU Advanced Engineering Center,LTD.   _/_/
_/_/ 8 Tsuchidana,Fujisawa,Kanagawa,252 Japan_/_/
_/_/ Tel:81-466-45-2696 Fax:81-466-45-2405   _/_/