Ptolemy 0.7.1 was shipped with egcs-1.0.2
gcc-2.95 is much more recent than egcs-1.0.2
My guess is that you need to install libstdc++
BTW - gcc-2.95.1 is out, apparently, it fixes many bugs
I've been poking around with upgrading to gcc-2.95.1, but have not
finished the job.
Unless you are very comfortable with c++, I suggest you
install egcs-1.0.2 and use that, rather than using gcc-2.95.1
with Ptolemy 0.7.1
-Christopher
--------
Christopher Hylands wrote:
>
> This looks like a compiler problem to me.
> What version of the compiler are you using?
> What does g++ -v return?
This is what gcc -v returns:
------------
Reading specs from
/vol/gnu/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95/specs
gcc version 2.95 19990728 (release)
------------
My environment variable settings are as follows: (from g++setup)
-----------
COMPILER_PATH=/vol/ptolemy/gnu/sol2.5/lib/gcc-lib/sol2.5/egcs-2.90.27/
CPLUS_INCLUDE_PATH=/vol/ptolemy/gnu/common/include/g++:/vol/ptolemy/gnu/sol
2.5/sol2.5/include:/vol/ptolemy/gnu/sol2.5/lib/gcc-lib/sol2.5/egcs-2.90.27/i
nclude
C_INCLUDE_PATH=/vol/ptolemy/gnu/sol2.5/lib/gcc-lib/sol2.5/egcs-2.90.27/incl
ude
DGCC_EXEC_PREFIX=/vol/ptolemy/gnu/sol2.5/lib/gcc-lib/sol2.5/egcs-2.90.27/
GCC_INCLUDE_DIR=/vol/ptolemy/gnu/sol2.5/lib/gcc-lib
LD_LIBRARY_PATH=/vol/ptolemy/lib.sol2.5:/vol/ptolemy/octtools/lib.sol2.5:/v
ol/ptolemy/gnu/sol2.5/lib:/vol/ptolemy/tcltk/itcl.sol2.5/lib/itcl:/usr/openw
in/lib:/usr/dt/lib:/vol/gnu/lib:/lib/xgl30a/lib:/vol/local/HPNP/lib:/usr/loc
al/lib
LIBRARY_PATH=/vol/ptolemy/gnu/sol2.5/lib/gcc-lib:/vol/ptolemy/gnu/sol2.5/li
b
PTARCH=sol2.5
PTOLEMY=/vol/ptolemy
------------
Thanks for the prompt answer!
Manfred
>
> -Christopher
>
> --------
>
> Hello,
>
> When I compile a star on Solaris 2.6 which includes the "pt_fstream.h
"
> header file I get the following error message:
>
> In file included from /vol/ptolemy/gnu/common/include/g++/iostream.h:
31,
> from /vol/ptolemy/gnu/common/include/g++/fstream.h:30,
> from /vol/ptolemy/src/kernel/pt_fstream.h:55,
> from /users/ptolemy/stars/protocols/src/DESlidingWin.h:12,
> from /users/ptolemy/stars/protocols/src/DESlidingWin.h:11:
> /vol/ptolemy/gnu/common/include/g++/streambuf.h:36: libio.h: No such
> file or directory
>
>
> In /vol/ptolemy/gnu/ we installed the GNU compiler for sun/solaris.
>
> It works fine on Linux systems.
>
> Where is the error? Is there a wrong architecture setting, or should
> this file (libio.h) be present in the normal include directory?
>
> Many thanks for any suggestions!
> Regards,
> Manfred Taferner
>
> --
> ---------------------------------------------------------------------
-
> DI Manfred Taferner
> Institut für Nachrichtentechnik
> und Hochfrequenztechnik Tel: +43 1 58801 38984
> Technische Universitaet Wien Fax: +43 1 58801 38999
> Gusshausstraße 25/389 email: [EMAIL PROTECTED]
> A-1040 Wien, Austria WWW: http://www.nt.tuwien.ac.at/mobile
/
> ---------------------------------------------------------------------
-
---------------------------------------------------------------------------
-
Posted to the ptolemy-hackers mailing list. Please send administrative
mail for this list to: [EMAIL PROTECTED]
--------
----------------------------------------------------------------------------
Posted to the ptolemy-hackers mailing list. Please send administrative
mail for this list to: [EMAIL PROTECTED]