Why won't cout work?

I am running ROOT 3.10/01 on RedHat Enterprise Linux WS release 3, with gcc3.2.3. I am having some trouble with a simple cout statement when using CINT:

  •                                                *
  •    W E L C O M E  to  R O O T  *
  •                                                *
  • Version 3.10/01 12 December 2003 *
  •                                     *
  • You are welcome to visit our Web site *
  •      [root.cern.ch](http://root.cern.ch)            *
  •                                     *

FreeType Engine v2.1.3 used to render TrueType fonts.
Compiled for linux with thread support.

CINT/ROOT C/C++ Interpreter version 5.15.105, Sep 28 2003
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
root [0] cout<<“Hello”<<endl;
Error: operator- not defined for basic_ostream<char,char_traits > FILE:(tmpfile) LINE:1
*** Interpreter error recovered ***
root [1]

What am I missing?



It is likely to be a configuration/built problem.
Make sure that your have rebuilt cint from scratch (after a gmake distclean) and made the cintdlls (gmake cintdlls).
Also make sure that you LD_LIBRARY_PATH points to only one version of ROOT.