BZSUPPORT: Syntax error when compiling blitz-042

From: Yao-Chiang Kan (kan@egr.msu.edu)
Date: Wed Aug 19 1998 - 11:55:25 EST


Hi there,

  I switch to RedHat 5.1/Intel in order to make blitz
work. However, a syntax error occurs when I try to make
all by using egcs 0816 snapshot. The version of some
program are listed below,

        g++ egcs-2.91.54
        ld GNU ld 2.9.1
        ar GNU ar 2.9.1
        make GNU Make version 3.76.1.

  Any suggestion is appreciated.

  Thank you very much!

Kan
kan@egr.msu.edu

PS: The following is the error I got.

====
[root@formosa src]# g++ -ftemplate-depth-30 -I./.. -c ./globals.cpp
In file included from /usr/local/include/g++/strstream.h:33,
                 from /usr/local/include/g++/strstream:6,
                 from ../blitz/array/iter.h:39,
                 from ../blitz/array.h:2510,
                 from ./globals.cpp:13:
/usr/local/include/g++/strfile.h:31: syntax error before `('
/usr/local/include/g++/strfile.h:32: syntax error before `('
/usr/local/include/g++/strfile.h:36: syntax error before `;'
/usr/local/include/g++/strfile.h:37: syntax error before `;'
In file included from /usr/local/include/g++/strstream:6,
                 from ../blitz/array/iter.h:39,
                 from ../blitz/array.h:2510,
                 from ./globals.cpp:13:
/usr/local/include/g++/strstream.h:41: parse error before `,'
/usr/local/include/g++/strstream.h: In method `void strstreambuf::freeze(int = 1)':
/usr/local/include/g++/strstream.h:70: `struct _IO_str_fields' has no member named `_allocate_buffer'
/usr/local/include/g++/strstream.h:70: `_IO_alloc_type' undeclared (first use this function)
/usr/local/include/g++/strstream.h:70: (Each undeclared identifier is reported only once
/usr/local/include/g++/strstream.h:70: for each function it appears in.)
/usr/local/include/g++/strstream.h:70: parse error before `0'

--------------------- blitz-support list --------------------------------
* To subscribe/unsubscribe: mail to majordomo@oonumerics.org, with
"subscribe blitz-support" or "unsubscribe blitz-support" in the body of the message
* Blitz++ web page: http://oonumerics.org/blitz/



This archive was generated by hypermail 2b29 : Wed Feb 20 2002 - 05:10:04 EST