Hi Sy,
That looks like a compiler bug that should be easy to work around. Can you try with
Text hide((std::string(GetContext()->GetLine().length(), '*')), 0);
(i.e. extra parentheses around the first argument) instead of the original line 224 in core/textinput/src/textinput/TerminalDisplay.cpp? If it works I'll put it into v5-32-00-patches.
Note that support for GCC 3.x has been dropped in the trunk; v5.32 is the last supported release.
Cheers, Axel.
Stange, Sy wrote on 03/01/2012 05:31 PM:
>
> I am trying to do a location-independent installation of ROOT 5.32.00 on
> a shared system that is running Red Hat Enterprise Linux WS release 3
> and gcc version 3.3.3. (The installed version of ROOT on this system is
> 5.10.)
>
> I configured using ./configure linux without any problems, but when I
> tried to build ROOT it crashed with the message:
>
> bin/rmkdepend -R -fcore/textinput/src/textinput/TerminalDisplay.d -Y -w
> 1000 -- -pipe -m32 -Wall -W -Woverloaded-virtual -fPIC -Iinclude
> -pthread -I/home/sstange/root/root/core/textinput/src -D__cplusplus --
> /home/sstange/root/root/core/textinput/src/textinput/TerminalDisplay.cpp
> g++ -O2 -pipe -m32 -Wall -W -Woverloaded-virtual -fPIC -Iinclude
> -pthread -I/home/sstange/root/root/core/textinput/src
> -I/home/sstange/root/root/core/textinput/src -o
> core/textinput/src/textinput/TerminalDisplay.o -c
> /home/sstange/root/root/core/textinput/src/textinput/TerminalDisplay.cpp
> /home/sstange/root/root/core/textinput/src/textinput/TerminalDisplay.cpp: In
> member function `size_t
>
> textinput::TerminalDisplay::WriteWrapped(textinput::Range::EPromptUpdate,
> bool, unsigned int, unsigned int)':
> /home/sstange/root/root/core/textinput/src/textinput/TerminalDisplay.cpp:224:
> error: syntax
> error before `->' token
> /home/sstange/root/root/core/textinput/src/textinput/TerminalDisplay.cpp:226:
> error: no
> matching function for call to `textinput::TerminalDisplay::
> WriteWrappedElement(textinput::Text (&)(...), size_t&, unsigned int,
> size_t&
> )'
> /home/sstange/root/root/core/textinput/src/textinput/TerminalDisplay.cpp:105:
> error: candidates
> are: size_t textinput::TerminalDisplay::WriteWrappedElement(const
> textinput::Text&, unsigned int, unsigned int, unsigned int)
> make: *** [core/textinput/src/textinput/TerminalDisplay.o] Error 1
>
>
> I don't see any indication in this message of what component is causing
> this problem. Any help would be greatly appreciated.
>
> Thank you,
>
> Sy
>
This archive was generated by hypermail 2.2.0 : Thu Mar 01 2012 - 23:50:01 CET