Re: Problem compiling trunk since update from fc6 to fc8

From: Rene Brun <Rene.Brun_at_cern.ch>
Date: Wed, 30 Jan 2008 09:18:22 +0100


Constantin,

I do not see any problem in compiling the SVN trunk with gcc4.1. You must have had a check-out problem or system problem. The enums line kArc, etc are defined in Buttons.h that is included by TVirtualPad.h in TROOT.cxx

Rene Brun

Constantin Loizides wrote:
> Dear all,
> I have a problem compiling trunk with gcc 4.1 on fedora core 8
> on Core 2 Duo in 32bit mode (after updating on the weekend).
> Compilation works with 5-18-00.
>
> I could not easily figure out what the problem is,
> below output.
>
> Thanks for any help,
> Constantin
>
> loizides_at_mitlapi:/opt/root/root_head$ make
> bin/rmkdepend -R -fbase/src/TROOT.d -Y -w 1000 -- -pipe -m32 -Wall -W
> -Woverloaded-virtual -fPIC -Iinclude -pthread -D__cplusplus --
> base/src/TROOT.cxx
> g++ -g -pipe -m32 -Wall -W -Woverloaded-virtual -fPIC -Iinclude
> -pthread -o base/src/TROOT.o -c base/src/TROOT.cxx
> base/src/TROOT.cxx: In member function ‘void
> TROOT::SetEditorMode(const char*)’:
> base/src/TROOT.cxx:1654: error: ‘kArc’ was not declared in this scope
> base/src/TROOT.cxx:1655: error: ‘kLine’ was not declared in this scope
> base/src/TROOT.cxx:1656: error: ‘kArrow’ was not declared in this scope
> base/src/TROOT.cxx:1657: error: ‘kButton’ was not declared in this scope
> base/src/TROOT.cxx:1658: error: ‘kDiamond’ was not declared in this scope
> base/src/TROOT.cxx:1659: error: ‘kEllipse’ was not declared in this scope
> base/src/TROOT.cxx:1660: error: ‘kPad’ was not declared in this scope
> base/src/TROOT.cxx:1661: error: ‘kPave’ was not declared in this scope
> base/src/TROOT.cxx:1662: error: ‘kPaveLabel’ was not declared in this
> scope
> base/src/TROOT.cxx:1663: error: ‘kPaveText’ was not declared in this
> scope
> base/src/TROOT.cxx:1664: error: ‘kPavesText’ was not declared in this
> scope
> base/src/TROOT.cxx:1665: error: ‘kPolyLine’ was not declared in this
> scope
> base/src/TROOT.cxx:1666: error: ‘kCurlyLine’ was not declared in this
> scope
> base/src/TROOT.cxx:1667: error: ‘kCurlyArc’ was not declared in this
> scope
> base/src/TROOT.cxx:1668: error: ‘kText’ was not declared in this scope
> base/src/TROOT.cxx:1669: error: ‘kMarker’ was not declared in this scope
> base/src/TROOT.cxx:1670: error: ‘kCutG’ was not declared in this scope
> make: *** [base/src/TROOT.o] Error 1
>
Received on Wed Jan 30 2008 - 09:15:40 CET

This archive was generated by hypermail 2.2.0 : Thu Jan 31 2008 - 17:50:01 CET